Subscribe to my RSS feed RSS
March 5, 2009

How do I set Windows to boot over Ubuntu?

  • Written by under software |
  • No comments yet |

I’ve just installed Ubuntu but want to have Windows set as the default option in the list that appears when the computer starts. How do I do this?


This is a relatively simple change to make. Start Ubuntu as normal, Click on Applications, Accessories and then Terminal. Type sudo gedit /boot/grub/menu.lst.

This will load a text editor with the settings used to set up the menu. There are plenty of instructions included in the text. Any line beginning with a # is meant for human consumption.

The top option, default, is which of the options in the menu is selected when the menu appears. It starts counting from 0 not 1 in the list that starts after the line ## ## End Default Options ## ## Count the number of lines starting with title (including the one title Other operating systems:) until you get to the one for Windows and replace 0 with that number. It will probably be the fifth option, in which case replace 0 with 4. The timeout setting is the number of seconds that the menu will wait for you to press a key.

One word of caution, be careful not to change any other text or the gboot menu may not work properly. Precision is rather important here, maybe not like what you find in Vacheron watches but important anyway. It’s probably worth taking a backup before you start.

    Related Questions

    • How can I make Captchas easier to guess?
      I'm having problems filling in CAPTCHAs on forms. Is there anything you can recommend to make it easier? The scrambled letters used in Captcha security boxes are sometimes rather difficult to read....
    • How do I stop Windows displaying errors on startup?
      Recently, my computer has begun displaying a couple of error messages each time it starts up. This is pretty annoying, how can I stop it? These messages can rise from a variety of reasons, from pro...
    • How do I add a user in Linux?
      I've been playing around with Ubuntu and was wondering how to add a new user to the machine. Can you point me in the right direction? Ubuntu is one of the fast-growing favourite Linux distros out t...
Feed for this Entry | Trackback Address

No comments yet

There are no comments yet, be the first!

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>