Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

grub2 detects ubuntu but doesn't add to grub menu.

i installed ubuntu 11.10 and then installed Fedora 16 and installed grub2 of fedora on MBR , overwriting Ubuntu's grub2.(while installing fedora anaconda detected ubuntu but arrogantly didn't add to grub menu :()

when i say in fedora 16

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

here's the output

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.6-3.fc16.i686
Found initrd image: /boot/initramfs-3.2.6-3.fc16.i686.img
Found linux image: /boot/vmlinuz-3.1.0-7.fc16.i686
Found initrd image: /boot/initramfs-3.1.0-7.fc16.i686.img
No volume groups found
Found Ubuntu 11.10 (11.10) on /dev/sda2
done

but my grub.cfg doesn't contain any entry for Ubuntu!! did i screw up big time?

grub2 detects ubuntu but doesn't add to grub menu.

i installed ubuntu 11.10 and then installed Fedora 16 and installed grub2 of fedora on MBR , overwriting Ubuntu's grub2.(while installing fedora anaconda detected ubuntu but arrogantly didn't add to grub menu :()

when i say in fedora 16

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

here's the output

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.6-3.fc16.i686
Found initrd image: /boot/initramfs-3.2.6-3.fc16.i686.img
Found linux image: /boot/vmlinuz-3.1.0-7.fc16.i686
Found initrd image: /boot/initramfs-3.1.0-7.fc16.i686.img
No volume groups found
Found Ubuntu 11.10 (11.10) on /dev/sda2
done

but my grub.cfg doesn't contain any entry for Ubuntu!! did i screw up big time?

EDIT: I solved by booting ubuntu live-cd and upgrading existing ubuntu install.

To avoid this problem, use separate partitions for /boot for both os , only install one of it's grub on MBR and when logged into one of the OS (OS with grub on MBR) , update grub.

grub2 detects ubuntu but doesn't add to grub menu.

i installed ubuntu 11.10 and then installed Fedora 16 and installed grub2 of fedora on MBR , overwriting Ubuntu's grub2.(while installing fedora anaconda detected ubuntu but arrogantly it somehow didn't add to grub menu :()

when i say in fedora 16

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

here's the output

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.6-3.fc16.i686
Found initrd image: /boot/initramfs-3.2.6-3.fc16.i686.img
Found linux image: /boot/vmlinuz-3.1.0-7.fc16.i686
Found initrd image: /boot/initramfs-3.1.0-7.fc16.i686.img
No volume groups found
Found Ubuntu 11.10 (11.10) on /dev/sda2
done

but my grub.cfg doesn't contain any entry for Ubuntu!! did i screw up big time?

EDIT: I solved by booting ubuntu live-cd and upgrading existing ubuntu install.

To avoid this problem, use separate partitions for /boot for both os , only install one of it's grub on MBR and when logged into one of the OS (OS with grub on MBR) , update grub.