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

Alex Tkachenko alex@ingrian.com
Tue, 03 Aug 2004 22:38:32 -0700


On Tue, 2004-08-03 at 21:09, Kirby Bohling wrote:
> 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.
Maybe you are right and it is supposed to be so, but on my FC2 machine
it is not; also I already corrected this issue on my CentOS machine and
I just checked WBEL machine by doing dd if=/dev/hda bs=512 count=1 and
comparing that to the block from hdc - the latter one clearly does not
have grub software on it, only some lilo stuff (maybe what has left from
the previous installation). Could you please check this on one of your
machines, if you have software raided setup?

Thank you very much,
Alex
> 
> 	Kirby
>