Subject: Re: Can't boot from hdd after successful installation of 3.0
To: None <netbsd-help@NetBSD.org>
From: Sigmund Skjelnes <skjelnes@robin.no>
List: netbsd-help
Date: 02/13/2006 19:20:24
David Laight wrote:

>On Sun, Feb 12, 2006 at 11:37:17PM +0100, Sigmund Skjelnes wrote:
>  
>
>>Well, I'd have booted from cd, and ran installboot:
>>installboot /dev/rwd0a /usr/mdec/bootxx_ffsv1
>>
>>No change, booting stops with "NetBSD MBR boot". Sorry.
>>    
>>
>
>Check that the 'a' partition starts in the same place as the netbsd
>mbr partition.  If not you'll need to run installboot specifying the
>partition that is there, instead of 'a'.
>
>	David
>
>  
>
I don't think I'd fully follow you here, but I'd have ran mbrlabel 
/dev/wd0, and here is the output:

Found 4.2BSD partition; size 19541025 (9541 MB), offset 63
skipping existing unused partition at slot c.

16 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 1049328 63 4.2BSD 1024 8192 43728 # (Cyl. 0*- 1041*)
b: 263088 1049391 swap # (Cyl. 1041*- 1302*)
c: 19541025 63 unused 0 0 # (Cyl. 0*- 19385)
d: 19541088 0 unused 0 0 # (Cyl. 0 - 19385)
e: 7168896 1312479 4.2BSD 2048 16384 28792 # (Cyl. 1302*- 8414*)
f: 3889872 8481375 4.2BSD 2048 16384 22872 # (Cyl. 8414*- 12273*)
g: 7169841 12371247 4.2BSD 2048 16384 28808 # (Cyl. 12273*- 19385)

Not updating disk label.

The a paritition is the active partition.

Cincerely,
Sigmund