Subject: Re: Error No Operating System
To: John R. Shannon <john@johnrshannon.com>
From: John R. Shannon <john@johnrshannon.com>
List: port-i386
Date: 04/01/2006 09:38:55
David Laight wrote:
> On Sat, Apr 01, 2006 at 05:33:51AM -0700, John R. Shannon wrote:
>>> Rerun installboot(8)
>>>
>>> 	David
>>>
>> Now I get:
>>
>> Boot failed (errno 2): Can't open /boot.
> 
> Ok so that fixed the first problem...
> 
>> If I mount /dev/wd0a on /mnt I can see /mnt/boot. Copying a fresh copy 
>> of /usr/mdec/boot over to /mnt/boot does not change anything.
>>
>> Any idea what may be wrong and how to fix it ?
> 
> I suspect you've created a non-standard layout....
> The code tries quite hard to locate /boot, but you are allowed to shoot
> yourself in the foot :-)
> 
> Can you send the layout part of the output of 'fdisk wd0' and 'disklabel wd0' ?
> 
> 	David
> 

fdisk:
0: NetBSD (sysid 169)
    start 63, size 145226049
others unused

disklabel:
a: 525168          63   4.2BSD    1024   8192 43768
b: 2097648     525231   swap
c: 145226049       63
d: 145226112        0
e: 20972448   2622879   4.2BSD    2048 16384 28096
f:  2097648  23595327   4.2BSD    2048 16384 21872
g:119533137  25692975   4.2BSD    2048 16384 28738

-- 
John R. Shannon, CISSP
john@johnrshannon.com
jshannon@dsci-usa.com
john.r.shannon@us.army.mil
shannonjr@NetBSD.org