Fedora 16 Can Wipe Out All Other Operating Systems from Grub2 Boot Menu List – A Quick Fix

In my promiscuous dealings with Linux distributions lately, I’ve decided to document anything I’ve done to fix problems I’ve encountered. This will open happen if I find I like the distribution – otherwise I’m not bothering to fix anything; instead just leaving.

So, Fedora 16 seems to have a problem detecting other Linux distributions on your system if you are using LVM for those other volumes. Actually, it may be a combination of RAID and LVM causing Fedora to not see the other distributions. I’m not really sure, and I don’t care to dig.

The symptom was, after installing Fedora 16, the grub2 boot menu no longer had entries for any other of my installed operating systems, except for Windows. I thought it might be wicked Fedora games, but it turns out other people hadn’t experienced this problem – they weren’t running a RAID/LVM combination either.

It turns out that Fedora can actually see the other operating systems, but only after you finish your install and run a software upgrade. This seems to indicate the problem is contained in the Fedora install boot image, but that it’s been corrected in the system after you run a software upgrade.

The fix for grub2, so that your other operating systems will be listed in the boot menu, is an easy one:

grub2-mkconfig -o /boot/grub2/grub.cfg

Of course, run this as root and make a backup copy of the file first.

And, you probably don’t need to do this, if you haven’t done something strange to try to get your other operating systems to show up, but if you need to re-write grub2 back into your disk’s MBR, it’s:

grub2-install /dev/<device-name>

Where <device-name> is your boot drive, in my case, /dev/sda — and also another run for /dev/sdb just in case, since it’s software mirrored there. That’s IN MY CASE, and not your case. So don’t just use those. I know, but some people are reckless that way.