Re: Boot on 'RAID 1' with 'LILO' and 'mdadm'
On Wed, 8 Sep 2004 15:14:03 -0600 (MDT), Lucas wrote in message
> Arnt Karlsen said:
> > ..play with this:
> > #!/bin/sh
> > /bin/cp -f /usr/share/grub/i386-pc/* /boot/grub
> > /usr/sbin/grub --batch <<EOT > /dev/null 2> /dev/null
> > # device (hd0) /dev/hda
> > # device (hd1) /dev/hdc
> > device (md0) /dev/md0
> > root (md0,0)
> > # setup (hd0) #installs onto /dev/hda
> > # setup (hd2) #installs onto /dev/hdc
> > setup (md0) #installs onto /dev/md0
> > quit
> > EOT
> These is the commands to install grub on the system?
..these are one way to do it, I haven't tested these AFAIROK,
it's been a while, so I said "play with this." ;-)
> I am not too familiar with grub, I've always used lilo on my systems.
> So the generalized fix for this particular situation is to use grub?
..I'd say yes, grub can do playful bash type tricks like 'root ([tab]'
to find fs'es. I also like to put a MBR on _each_ disk, and setup
fallbacks pointing to the next few disks to try, they say disks do
fail. ;-) Chk info grub for setup detail ideas.
> (I wrote the rootraiddoc.alioth.debian.org, and want to update it if
..nice job, shoot. :-)
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.