Running a dual-boot system, grub-reboot is the most convenient way to temporarily boot into "the other" OS without maintaining multiple /boot/grub/menu.lst files (especially with regular kernel updates); as of yesterday grub-reboot no longer works.
Until yesterday (20060217), grub-reboot worked fine; according to Synaptic history, grub was changed from 0.95+cvs20040624-17ubuntu7 to 0.97-1ubuntu4 on that day.
When invoked by grub-reboot, grub reports:
$ grub-reboot 10
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ 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=10
Error 27: Unrecognized command
grub> quit
Either restore the grub functionality used by grub-reboot, or modify grub-reboot to use appropriate current functionality.
Running a dual-boot system, grub-reboot is the most convenient way to temporarily boot into "the other" OS without maintaining multiple /boot/grub/menu.lst files (especially with regular kernel updates); as of yesterday grub-reboot no longer works.
Until yesterday (20060217), grub-reboot worked fine; according to Synaptic history, grub was changed from 0.95+cvs2004062 4-17ubuntu7 to 0.97-1ubuntu4 on that day.
/sbin/grub-reboot calls grub as:
default="$1" ; shift
grub --batch $@ <<EOT
savedefault --once --default=$default
quit
EOT
When invoked by grub-reboot, grub reports:
$ grub-reboot 10
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
the first word, TAB lists possible command
grub> savedefault --once --default=10
Error 27: Unrecognized command
grub> quit
Either restore the grub functionality used by grub-reboot, or modify grub-reboot to use appropriate current functionality.