Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)

share|improve this question

marked as duplicate by Marco Ceppi Jun 5 '11 at 20:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

share|improve this answer
Now I just need a reliable way to figure out the menu entry number.. – Nils Mar 3 '11 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 '11 at 19:42
sudo vi /boot/grub/menu.lst (or replace vi with editor of choice) – Wolfger Mar 3 '11 at 19:45
Actually, I've just noticed I'm behind the times... Check if you're running 9.10 or later version of Ubuntu – Wolfger Mar 3 '11 at 19:47
now wouldnt it be nice if ubiquity let us do it at install time ( much like anaconda) – tinhed Mar 3 '11 at 21:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.