PDA

View Full Version : [SOLVED] Updating grub.cfg



dgharmon
June 23rd, 2012, 10:18 PM
Currently I have two entries in grub.cfg one for Ubuntu 11:04 and one for Ubuntu 12:04. grub.cfg says "DO NOT EDIT THIS FILE", yet I see references to partitions as UUID as generated by blkid. So if I want to add a new partition to the boot menu where do I do it and how do I update grub.cfg?

oldfred
June 23rd, 2012, 10:53 PM
sudo update-grub

That will find any other installed Ubuntu and most other systems that are bootable.

If you want to manually add something you edit 40_custom and then run the sudo update-grub to update grub.cfg.

Other grub customizations via a gui.
HOWTO: Grub Customizer Updated for grub 1.99
http://www.ubuntugeek.com/grub-customizer-2-2-released-and-installation-instructions-included.html

http://ubuntuforums.org/showthread.php?t=1664134
The Grub 2 Guide (formerly Grub 2 Basics) manual way
http://ubuntuforums.org/showthread.php?t=1195275

How to: Create a Customized GRUB2 Screen that is Maintenance Free.
http://ubuntuforums.org/showthread.php?t=1542338

dgharmon
June 25th, 2012, 02:42 AM
sudo update-grub

Thanks ...