[Wlug] [Fwd: Clarify: GRUB setup on RAID1]
Charles R. Anderson
cra@WPI.EDU
Wed, 20 Nov 2002 15:42:38 -0500
icycle> I looked through all of the archives on this list as well as google
icycle> searching for help. I want to make sure that GRUB supports installation
icycle> on RAID1 (mirror) units. I have seen several methods to do this:
Well, on a Red Hat system I have here, this works fine:
#boot=/dev/sda
default=0
timeout=10
#splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.9-34enterprise)
root (hd0,0)
kernel /vmlinuz-2.4.9-34enterprise ro root=/dev/md3 console=ttyS0,9600n8
initrd /initrd-2.4.9-34enterprise.img
There are multiple RAID1 partitions on two disks, and grub is installed
to /dev/sda. I don't believe grub is mirrored across disks, though.
Since software RAID on Linux works partition-by-partition, and not on
whole disks, I don't see how you could automatically mirror the MBR
across disks. You could install grub to multiple MBR's, though, one for
each disk. It wouldn't gain you anything unless your BIOS can boot from
the other disks, though.
--
Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/
PGP Key ID: 49BB5886
Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886