PDA

View Full Version : [SOLVED] Adding entries to grub.cfg



ulriksvensson
March 22nd, 2010, 05:32 PM
Hi all.

I've just installed Fedora 12 on a partition on my harddrive. Ubuntu 9.10 is installed on sda1, and Fedora on sda3. When I execute update-grub Fedora is not added to grub.cfg. How do I add Fedora to the boot menu? Since the file grub.cfg is read-only I don't know how to do this.

phillw
March 22nd, 2010, 05:48 PM
hi,

a quick one to check, did you use
sudo update-grub ?

grub should 'see' your Fedrora. However, if you installed Fedora after ubuntu, chances are Fedora has over-written grub2.

If using sudo does not work, head over to #13 of http://ubuntuforums.org/showthread.php?t=1195275 and pop Grub2 back on.

Regards,

Phill.

oldfred
March 22nd, 2010, 06:10 PM
If the update grub does not find it, you have to add it to 40_custom and run the update grub.

http://ubuntuforums.org/showthread.php?t=1415879

[SOLVED] Grub 2 Fedora Install not seen by 40_custom
http://ubuntuforums.org/showthread.php?t=1343779
See posts 26 & 27
http://ubuntuforums.org/showthread.php?t=1388777

ulriksvensson
March 23rd, 2010, 08:20 AM
How do I get all numbers here:


search --no-floppy --fs-uuid --set 2c905a01-e585-4fc4-a087-c86153590eff
linux /boot/vmlinuz-2.6.31.12-174.2.3.fc12.x86_64 root=UUID=2c905a01-e585-4fc4-a087-c86153590eff ro quiet splash
initrd /boot/initramfs-2.6.31.12-174.2.3.fc12.x86_64.img

oldfred
March 23rd, 2010, 02:31 PM
If you are asking about the UUIDs.

sudo blkid will show the UUID for each partition.

All the other numbers are the versions of your kernels.

ulriksvensson
March 24th, 2010, 08:28 PM
If the update grub does not find it, you have to add it to 40_custom and run the update grub.

http://ubuntuforums.org/showthread.php?t=1415879

[SOLVED] Grub 2 Fedora Install not seen by 40_custom
http://ubuntuforums.org/showthread.php?t=1343779
See posts 26 & 27
http://ubuntuforums.org/showthread.php?t=1388777
Yes, this solved it! Thanks heaps!