Subject: Re: mirrored root w/ raidframe - howto install bootblock?
To: NetBSD port-sparc mailing list <port-sparc@netbsd.org>
From: Julian Coleman <jdc@coris.org.uk>
List: port-sparc
Date: 05/20/2006 11:09:03
> sparc uses bootxx and boot. Two things needed for nicely dealing with
> booting for RAID-1 seem to be missing (i.e., I can't find them):
>
> installboot finding blocks from one filesystem (e.g., raid0a), and
> translating those to offsets relative to the entire disk for bootxx,
> so that bootxx can load /boot from RAID.
See:
ftp://ftp.netbsd.org/pub/NetBSD/misc/jdc/installboot.diffs
for some patches to installboot to add the RAIDframe offset to the block
list installed in bootxx. A minor annoyance is that it will find your
FFS partition details first if you didn't zero the start of your disk
before changing the partition type to `RAID'. I'm not sure if it's safe
to let it search for `raid' partitions before `ffs' (see the notes in
/usr/include/ufs/ffs/fs.h about hunting for superblocks at 64K offset).
> /boot skipping over the raid header so it can load the kernel from RAID
I'll try and look at this in the next week or so.
J
--
My other computer also runs NetBSD / Sailing at Newbiggin
http://www.netbsd.org/ / http://www.newbigginsailingclub.org/