[Bug 1260888] Re: Grub ignores default=saved
PeterF
1260888 at bugs.launchpad.net
Sat Jan 14 15:09:12 UTC 2017
In my case I had the same behaviour, after looking true the grub config
files I found that in the file /etc/grub.d/proxifiedScripts/custom the
"savedefault" is not added. After modifying the file as shown in the
atachment a update-grub2 has the desired result.
I'm sure this is not the place for a fix as I believe the custom file is
generated by the os-prober but this runs not every in update-grub2.
After changing the GRUB_SAVEDEFAULT setting the custom file never
changes.
** Attachment added: "custom"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1260888/+attachment/4804298/+files/custom
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1260888
Title:
Grub ignores default=saved
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
In Ubuntu 13.04,
When:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
is set in /etc/default/grub, and update-grub is run, Ubuntu does not
boot to the last selected OS.
Steps to reproduce:
1. Add "GRUB_DEFAULT=saved" and "GRUB_SAVEDEFAULT=true" to /etc/default/grub
2. Run "sudo update-grub" to update grub menu
3. Reboot, choose OS other than the first one in the grub boot list
4. Reboot from that OS
Expected Result:
Grub selects the OS that was selected in the boot list
Actual Results:
Grub selects the first OS.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1260888/+subscriptions
More information about the foundations-bugs
mailing list