Lennart Sorensen ha scritto: > On Tue, Nov 25, 2008 at 06:31:10PM +0100, piccardi wrote: >> As far I remind (not having used it for years) LILO can install itself >> the MBR of all disk of a software RAID just using the device name of the >> array itself as value of the boot parameter. So if the first disk of >> the array fails you can still boot from the second (if the BIOS is >> properly configured and allow you to start from the second one). > > But if /dev/md0 is /dev/sda1 and /dev/sdb1 then md0 is just the boot > sector of sda1 and sdb1 which installing grub to /dev/md0 would do the > same thing. If you run full disk raid so /dev/md0 is /dev/sda and > /dev/sdb (which I never do), then I suspect installing grub on it, may > work the same as with lilo. >
If I remember right the directive "raid-extra-boot=mbr" added to something like "boot=/dev/md0" will make LILO installed on the MBR of all disk members of the /dev/md0 array, overloading the concept of what is the MBR in case of /dev/md0. I find this quite confusing, but probably it's just my taste... anyway it works. And I never did full disk raid too. When booting from RAID I just used partitions for raid devices and then just repeated the GRUB installation (manually) on each MBR of every disk of the array (using grub itself). This also works, and is more apt to my taste... Regards Simone _______________________________________________ lpi-examdev mailing list [email protected] http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
