[Bug 1102925] [NEW] grub-reboot does not select kernel
Brian Candler
1102925 at bugs.launchpad.net
Tue Jan 22 10:55:07 UTC 2013
Public bug reported:
[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
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
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