Grub doesn't really save "default saved" partition
Bug #190121 reported by
Kudryashov
This bug report is a duplicate of:
Bug #503935: The GRUB_SAVEDEFAULT option for grub2 is missing from /etc/defaults/grub [needed for saving last selection as default].
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub |
Invalid
|
Undecided
|
Unassigned | ||
grub (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After upgrading to Gutsy it seems that "defaut saved" option in grub "menu.lst" doesn't works.
To post a comment you must log in.
I have encountered this problem in both Gutsy and Hardy. Since Gutsy, the command "savedefault" is not appended to the various boot options, yet this is required for the option "default saved" to work as it reads the last saved default (well doh).
To do this automatically, edit /boot/grub/menu.lst as root e.g. by running
sudo nano /boot/grub/menu.lst
First, make sure "default saved" is set. Now, edit the line in the default options from "# savedefault = false" to "savedefault = true" and save the changes
The grub menu can now be automatically updated to include the "savedefault" where appropriate by running
sudo update-grub
Finally, verify that the command "savedefault" has been appended to the normal boot options and that "savedefault = true" has been commented out