I'm trying to figure out if I can do a remote reboot (eg over ssh) and specify a new grub2 os choice for the next boot only (once), in order to boot windows remotely once, but then back to linux on the next reboot.
I found this related post for grub, but won't work for grub2 ( I never tried it with grub for a remote reboot).
http://sidvind.com/wiki/GRUB:_Boot_another_OS_once
which suggests changing the default menu option with the once flag:
[root@localhost ~]# echo "savedefault --default=2 --once" | grub --batch
[root@localhost ~]# reboot
I'm just starting to work with grub2 and am not at all clear whether I can do anything similar.
BTW Ubuntu karmic and windows 7.
thanks.



Adv Reply
Some of the most common changes, such as the default OS/kernel and menu timeout, can be changed from within a GUI app called StartUp-Manager. See the community doc

Bookmarks