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

In some computers that also have Windows XP or Windows 7 I normally reboot the PC and from the GRUB menu select Windows if I want to boot to it or just leave it alone to start with Ubuntu. I am trying to find a way to, for example, when telling Ubuntu to restart it gives me a choice to restart with another operating system without having to be there when the grub menu appears. Like a temporary option that boots to Windows, Mac or another Linux Distro for that time. Something like a "quick OS switcher".

Is this possible?

share|improve this question
up vote 3 down vote accepted

This can be done with grub-reboot.

grub-reboot sets the default boot entry for GRUB, for the next boot only.

grub-reboot ENTRY

ENTRY is a number or a menu item title.

See man grub-reboot for more info.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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