Possible Duplicate:
How can I reboot into windows from inside my Linux shell?
When I reboot and want to select another kernel image in grub2 or another OS like windows I have to wait until grub comes up and then select manually the image I want. Sometimes I switch multiple times between linux and windows or between two different kernel versions, then I find it pretty annoying to select this manually.
What I want is to choose the image when I type in the reboot command. In pseudocode: sudo reboot to windows
. Then I could get a cup of coffee and my box will automatically reboot to windows.
Is it possible to to something like this?
I guess that somebody would point out a VirtualBox solution instead. I know this, but I don't want it in this case.
sudo grub-reboot ENTRY
whereENTRY
is a number or string corresponding to a menu entry title. Also if you play with many Linux kernels, you might appreciatekexec
. – sr_ Nov 05 '12 at 20:48