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.

  • Pingback: The Trials of Cohabitation: Juggling Debian Sid and Fedora 16 | mark rushing's writey things

  • Pingback: Links 15/11/2011: Linux still Rules HPC | Techrights

  • James Bernard

    Thank you for the info, found I had to mount the debian partition before grub found the OS – ho humm
    (Running Fedora 17, ubuntu 12.04 and Siduction (debian sid))

  • http://orbum.net/mark Mark Rushing

     Well, that’s just strange. I wonder if I did that too? Is SID coming along nicely? I should go check it out again. I for one am not unhappy about XFCE being the default now – at least, last I tried it.

  • James Bernard

     Sid is quite stable for an unstable! I’m using Gnome 3 and its pretty sweet. XFCE is improving heaps but like them all is slowly growing resource hungry. Personally I like openbox like crunchbang does it, just not so dark!