<quote who="Matthew Palmer">

> > 2) Has anyone here got a Grub system booting from a raid1 / (slash) root
> 
> Hell yes.

Wow, after all that splitting up of his mail into chunks and answering each
piece with snarky precision, you actually missed answering the entire point
of the mail.

The way I use grub to boot a RAID 1 root filesystem:

 * Consider that /boot/grub is on both disks, and that each disk looks like
   a normal enough filesystem to grub.

 * Set up grub to use the RAID device (it might be md or lvm) as root.

 * Install grub (using the grub command line) to the master boot record of
   the block devices that make up the RAID device.

 * Now test that grub boots correctly with either device removed. The BIOS
   should boot from either, because grub is on the MBR of both. Once it's
   booted, you're already in RAIDsville: grub and Linux are using the single
   md or lvm device.

 * Don't skip the previous step. Always test. :-)

- Jeff

-- 
linux.conf.au 2007: Sydney, Australia           http://lca2007.linux.org.au/
 
        Web development with PHP is like injecting pure rust with a
                    high-pressure hose. For pain relief.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to