Possible Duplicate:
How can I “reboot into” the non-default operating system in a dual-boot configuration?

I'm using a wireless keyboard via bluetooth and therefore cannot use it in grub, so I have to plug in an USB keyboard everytime I want to boot into Windows. AFAK Apple solved this problem by adding adding functions such as "Boot to MacOSX" in the Boot Camp control panel (iMacs come with Bluetooth mice and keyboard) so I was wondering weather it's possible to tell grub to boot Windows next time (and maybe even tell it from Windows to boot Linux next time)


1 Answer 1


sudo grub-reboot X where X is the menu entry position (starting with 0 as the first entry)

  • Now I just need a reliable way to figure out the menu entry number..
    – Nils
    Mar 3, 2011 at 19:37
  • Just read that I also can type in the exact name of the menu entry. So how can I change it that I just can type grub-reboot win?
    – Nils
    Mar 3, 2011 at 19:42
  • 1
    sudo vi /boot/grub/menu.lst (or replace vi with editor of choice)
    – Wolfger
    Mar 3, 2011 at 19:45
  • 1
    Actually, I've just noticed I'm behind the times... Check ubuntuforums.org/showthread.php?t=1195275 if you're running 9.10 or later version of Ubuntu
    – Wolfger
    Mar 3, 2011 at 19:47
  • now wouldnt it be nice if ubiquity let us do it at install time ( much like anaconda)
    – tinhed
    Mar 3, 2011 at 21:36

Not the answer you're looking for? Browse other questions tagged .