I've just tried this a couple of times - grub still picks the first kernel in the list instead of the one I've specified using grub-reboot.
FWIW, at least there are no error messages anymore - but the overall behavior is still in error, since grub boots the wrong kernel.
Here is a "screen capture" showing what happens at the command line:
$ sudo grub-reboot 2
Password:
Searching for GRUB installation directory ... found: /boot/grub
Probing devices to guess BIOS drives. This may take a long time.
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ]
grub> savedefault --once --default=2
grub> quit
Do you want to reboot now? [y/N] y
I choose yes, grub-reboot reboots the system without further informational or error messages, but instead of the 3rd kernel on this (3-1=2), I get the first one. FWIW, I've attached my /boot/grub/menu.lst.
Also FYI, this system is no longer dual-boot, Windows was toasted a long time ago, so this isn't pressing, but it is annoying.
All of this on a ThinkPad A20m, Edgy (Linux EdgeKeep-PC001 2.6.17-10-386 #2 Fri Oct 13 18:41:40 UTC 2006 i686 GNU/Linux), grub 0.97-11ubuntu14.
I've just tried this a couple of times - grub still picks the first kernel in the list instead of the one I've specified using grub-reboot.
FWIW, at least there are no error messages anymore - but the overall behavior is still in error, since grub boots the wrong kernel.
Here is a "screen capture" showing what happens at the command line:
$ sudo grub-reboot 2
Password:
Searching for GRUB installation directory ... found: /boot/grub
Probing devices to guess BIOS drives. This may take a long time.
[ Minimal BASH-like line editing is supported. For
completio ns. Anywhere else TAB lists the possible
completio ns of a device/filename. ]
the first word, TAB lists possible command
grub> savedefault --once --default=2
grub> quit
Do you want to reboot now? [y/N] y
I choose yes, grub-reboot reboots the system without further informational or error messages, but instead of the 3rd kernel on this (3-1=2), I get the first one. FWIW, I've attached my /boot/grub/ menu.lst.
Also FYI, this system is no longer dual-boot, Windows was toasted a long time ago, so this isn't pressing, but it is annoying.
All of this on a ThinkPad A20m, Edgy (Linux EdgeKeep-PC001 2.6.17-10-386 #2 Fri Oct 13 18:41:40 UTC 2006 i686 GNU/Linux), grub 0.97-11ubuntu14.