Red Hat Bugzilla – Bug 509282
Anaconda doesn't seem to provide a way to install GRUB to two disks
Last modified: 2010-02-23 14:09:36 EST
I tried installing Fedora 11 with /boot and / on RAID1 devices (with mdadm RAID). As far as I can tell, Anaconda doesn't provide a way to install GRUB to the MBR on both disks. Are Anaconda/grub-install already aware of software RAID (it's entirely possible that I'm just missing it)? If not, are there plans to add this? It's inconvenient to install grub manually to the second device after installation, and it's not really practical to install grub manually whenever it's updated. Thanks.
Grub needs to be installed on one disk only. The pointed to the places where the OSs live. You can have various grubs in a system. In this case its the BIOSs job to choose which one to use.
In any case the installer does not need to be able to install grub in two places.
In the case of mirrored RAID, it is extremely important to have grub installed on both disks. Suppose disk1 and disk2 are mirrored and GRUB is only installed on disk1. Then if disk1 dies, the system can't boot even though disk2 has all of the system data.
You mentioned that the BIOS chooses which one to use, but the BIOS can't boot disk2 if it doesn't have grub installed. Is there ever a case where you would have a mirrored system disk but wouldn't want grub to be installed onto both disks?
Radek is currently working on this, assigning this to him. Radek feel free to dup this if appropriate.
I have sent patch that should fix this (install grub into mbrs of both disks) for review.
This should be fixed in version 13.3 of anaconda.