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.

My grub menu went through rather extensive changes after the last update. It started booting to my old 12.04 entry by default. Where this gets confusing is that there is no longer a 12.10 entry in grub.cfg.

I installed and tried the grub-cfg as mentioned in How do I change the grub boot order? and everything appeared to go ok but when I rebooted to test, the boot menu looked the same and the behaviour was the same.

I restarted grub configure and the changes it indicated that my changes had happened. I looked at /etc/default/grub expecting that it would have changed after save from the grub configure tool but it had not. I then modified /etc/default/grub:

> GRUB_DEFAULT="Ubuntu, with Linux 12.04 3.2.0-24-generic"
because the entry in /boot/grub/grub.cfg that I needed for the boot looks like:
"Ubuntu" --class ubuntu --class gnu-linux --class gnu --class os ...
and ran sudo update-grub as instructed.  

grep for '^menu' in grub.cfg gives me the following:
menuentry "Ubuntu" --class ubuntu --class gnu-linux --class gnu --class os ...
menuentry "Ubuntu, with Linux 12.04 3.2.0-24-generic" --class ubuntu ...
menuentry "Memory test (memtest86+)" {
menuentry "Memory test (memtest86+, serial console 115200)" {
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows -...
menuentry "Windows Recovery Environment (loader) (on /dev/sda3)" ...

The menu at boot still looked as it had before and still booted to the old 12.04 system and does not reflect the info in the grub.cfg file.

What is going on??


share|improve this question
add comment

1 Answer

Did you use sudo update-grub. It will look for all OS on File system and make changes in grub.cfg file. You can directly see the entries in grub.cfg file via cat. If you are comfortable making editing system files, take a backup of grub.cfg file and change the order of OS entries in grub.cfg file.

share|improve this answer
add comment

Your Answer


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.