Super User is a question and answer site for computer enthusiasts and power users. 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

I dual-boot with Windows and Ubuntu. Usually, when I restart my computer, it is to switch os. Is there a way to tell it to Grub so that it preselects the right os in its menu when I restart my computer?

Currently, I have the following two lines in /etc/default/grub file :


These lines make Grub preselects the os I just left. Maybe there is a similar way to tell Grub that I want it to preselect the os I use before the one I just left.

share|improve this question

You must log in to answer this question.

Browse other questions tagged .