[WBEL-users] Software raid and User Mode Linux CD burning on WBEL

Kirby Bohling kbohling@birddog.com
Tue, 3 Aug 2004 23:09:41 -0500


On Tue, Aug 03, 2004 at 08:05:47PM -0700, Alex Tkachenko wrote:
> On Tue, 2004-08-03 at 18:13, Joe Pruett wrote:
> > On Tue, 3 Aug 2004, Alex Tkachenko wrote:
> > 
> > > > Huh? Grub groks mirrors if you tell it to.  I've got my boot disk on
> > > > a mirror.  If it crashes, can be sorta painful that I have to go
> > > > fiddle with the BIOS to ignore the first drive.
> > > How did you manage to make grub to update the second drive's boot
> > > sector? AFAIK, it does not do this automatically, you have to take extra
> > > steps to make it happen. Lilo did that.
> > > 
> > > Needless to say, you need to update your second drive's MBR *before*
> > > your first one dies - I actually got caught by this problem :)
> > 
> > grub>device (hd0) /dev/hdc
> > grub>root (hd0,0)
> > grub>setup (hd0)
> > 

<snip>
> 
> So I would highly recommend to anybody using software raid with grub
> update the boot sector on the slave drive right after the first install.

Actually anaconda runs that for you if you installed onto a mirror.
Look on the third virtual console (Ctl-Shift-F3) after the install
is done and waiting for you to press return or click on the button
to reboot.  You'll see the full command line it runs.

I've hunted in the anacond source, and I can't find it, but it does
do it.

	Kirby