schwain
July 10th, 2011, 09:35 PM
After upgrading my PC from 10.04 to 11.04, the grub2 default option stopped working. When grub starts up, it always highlights and boots to the first entry. I first tried using "startup-manager" to change it (which always worked before). This allowed me to change the timeout, but not the default OS. Then I changed the "GRUB_DEFAULT" option in /etc/default/grub, did the "sudo update-grub", to no effect. I next tried setting "GRUB_SAVEDEFAULT=true" in /etc/default/grub, did the update-grub, and manually booted it one time from the OS I wanted. Afterwards, it still didn't work.
I checked my grub.cfg file after each update operation, and it is refreshed each time. Inside the file, there is a line setting the default variable to 6 (the OS I want), though the default variable doesn't get used elsewhere in the file (I'm guessing something else reads grub.cfg in?). Everything else in grub still seems to be working. Once I manually point to the OS I want, the proper one always boots. My /boot is on a separate ext2 partition.
Is there any debug I can do? Anybody got any ideas about what I can try?
I checked my grub.cfg file after each update operation, and it is refreshed each time. Inside the file, there is a line setting the default variable to 6 (the OS I want), though the default variable doesn't get used elsewhere in the file (I'm guessing something else reads grub.cfg in?). Everything else in grub still seems to be working. Once I manually point to the OS I want, the proper one always boots. My /boot is on a separate ext2 partition.
Is there any debug I can do? Anybody got any ideas about what I can try?