[Bug 1102925] Re: grub-reboot does not select kernel
Colin Watson
cjwatson at canonical.com
Tue Jan 22 14:29:19 UTC 2013
Thanks for your report. I've committed a change upstream for 2.01 to
document this:
2013-01-22 Colin Watson <cjwatson at ubuntu.com>
* util/grub-reboot.in (usage): Document the need for
GRUB_DEFAULT=saved.
* util/grub-set-default.in (usage): Likewise.
Reported by: Brian Candler. Fixes Ubuntu bug #1102925.
** Changed in: grub2 (Ubuntu)
Importance: Undecided => Medium
** Changed in: grub2 (Ubuntu)
Status: New => In Progress
** Changed in: grub2 (Ubuntu)
Assignee: (unassigned) => Colin Watson (cjwatson)
--
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/1102925
Title:
grub-reboot does not select kernel
Status in “grub2” package in Ubuntu:
In Progress
Bug description:
[Ubuntu 12.04.1 LTS server x86_64]
If I do
[code]
# vi /etc/default/grub
GRUB_DEFAULT="2>20"
# update-grub
[/code]
then I can select the default kernel to be used on next reboot.
However I believe it should be possible to do this in a one-shot way
with grub-reboot, and this doesn't work.
[code]
# grub-reboot "2>20"
# cat /boot/grub/grubenv
# GRUB Environment Block
saved_entry=2>20
prev_saved_entry=0
################################
...
# reboot
[/code]
At reboot I just get the default kernel selected.
It doesn't appear to be anything to do with submenus[*] because "grub-
reboot 1" doesn't even select the recovery option from the main menu.
[*] http://ubuntuforums.org/showthread.php?p=10720316
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1102925/+subscriptions
More information about the foundations-bugs
mailing list