Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Ok, so I installed Fedora on a dual boot Windows 7 and Ubuntu machine to see which distro I liked better, and now Ubuntu doesn't appear in the GRUB menu. In fact, Windows doesn't either. There are only two items, Fedora and Other (which boots Windows) How do I get GRUB to recognize all installed operating systems?

share|improve this question

1 Answer 1

If you want to keep the Linux distributions as separate as possible, I would suggest only installing one distro's boot loader to the MBR (e.g. /dev/sda), and install the other distros' boot loaders into their respective partitions (e.g. /dev/sda1). For whichever boot loader you've installed to the MBR, add entries that chain load to the partitions holding the other boot loaders.

If you use Ubuntu's grub as the main boot loader, you can add extra entries by editing /etc/grub.d/40_custom and adding entries like:

menuentry "Other Linux" {
    # The partition holding the boot loader in Grub's syntax.
    set root=(hd0,2)
    chainloader +1
}

After saving the file, run sudo update-grub to assemble the Grub configuration file.

This should give each Linux distro its own boot loader configuration to play with and reduce the chance of them stepping on each others feet. It will even handle the case of different distros expecting different boot loaders.

share|improve this answer
    
I currently cannot boot into Ubuntu, and the GRUB that appears on boot is Fedora's version of GRUB. What I want to happen when I turn the computer on, GRUB lists all 3 operating systems. –  da code monkey May 11 '11 at 13:37
    
Oh and there is nothing called sda or similar in Ubuntu's /dev/ but there is in Fedora's /dev/ –  da code monkey May 11 '11 at 13:44
    
Maybe udev has not created it. –  Erkin Alp Güney Sep 21 at 12:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.