Make Windows Install boot first


Recommended Posts

I formatted my lappy with Ubuntu about two weeks ago. I have never had any experience with Linux so I thought I should give it a shot.

I decided today I was going back to Windows for my primary OS because of all of the Windows based programs I need to use to do my job. I followed the "How to dual boot Linux and Windows XP (Linux installed first) -- the step-by-step guide with screenshots" and everything went quite well. The only thing I would like to do is make Windows the default boot option.

Is this possible?

Link to comment
Share on other sites

Sure it is possible.

This is the guide you are following?

If you are booting from GRUB you just edit the configuration file so that Windows is the OS that is selected to boot by default:

sudo gedit /boot/grub/menu.lst

and edit this line:

default		0

This line is what tells GRUB what OS should boot first. You put the entry number where Windows is located. Let's say you have this list showing in GRUB:


  • Ubuntu 8.10
  • Ubuntu 8.10 (recovery mode)
  • Windows Vista

The entry number for Windows would be "2".

Alternatively you can "push" you Windows entry up by cutting>pasting its boot entry so that it stays in position "0".

Off topic: sorry about that little incident in the gaming section... :/

Regards.

Link to comment
Share on other sites

Rather than mucking with orders every time you want to change your default, if you add a line

savedefault

to your important boot modes (Windows and Linux, I presume), then each time you change your selection, it will save itself as the default for the next boot. That way you don't need to re-edit next time you want to try Linux for a while and set it to default for testing, then un-do it again to go back to Windows default.

More info on 'savedefault' here: http://www.gnu.org/software/grub/manual/gr...tml#savedefault

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.