Subject: Re: How to install bootstrap for RAID 1 on i386-current?
To: None <current-users@netbsd.org>
From: Tom Ivar Helbekkmo <tih@eunetnorge.no>
List: current-users
Date: 09/19/2003 23:09:54
Summing up, the way to get a bootable RAID 1 set with current on the
i386 platform is to build a situation like the one shown here:
barsoom# fdisk sd0
[...]
3: NetBSD (sysid 169)
start 512, size 17915728 (8748 MB, Cyls 34/0/3-1194416), Active
Bootselector disabled.
barsoom# disklabel -r sd0
[...]
a: 4718656 512 RAID #
c: 17915728 512 unused 0 0 #
d: 17916240 0 unused 0 0 #
[...]
barsoom# disklabel -r raid0
[...]
a: 524288 0 4.2BSD 1024 8192 46376 # (Cyl. 0 - 1023)
d: 4718592 0 unused 0 0 # (Cyl. 0 - 9215)
[...]
barsoom# cp /usr/mdec/biosboot /boot
barsoom# installboot /dev/rsd0a /usr/mdec/bootxx_ffsv1
The offset of 512 sectors is more than is needed; 63 is more common,
but I read somewhere that it had to be at least one full, physical
track, and I just sort of rounded up... :-)
-tih
--
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway
www.eunet.no T: +47-22092958 M: +47-93013940 F: +47-22092901