Boot configuration

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Boot configuration

Postby rwa on Mon Aug 20, 2007 5:52 am

I recently installed Linux Mint (cassandra) on my laptop, that already had win xp installed. However, I would like to keep win xp as the default OS, but at the moment linux is set as default, where I got the option to pick win xp. Is there a way to change it so that win xp is the default choise in the boot menu?
Level 1
Level 1
Posts: 2
Joined: Mon Aug 20, 2007 5:48 am

Linux Mint is funded by ads and donations.

Postby Boo on Mon Aug 20, 2007 6:10 am

You have to edit the /boot/grub/menu.lst file.

open a terminal and run the commnad:
sudo gedit /boot/grub/menu.lst

you have to change the line "default 0"
this means it is using the first "title" it comes to.
so go down to the first line that starts with title (no # at the start).
now starting at 0 count each line starting with title till you get to the one saying windows, this should be the last one.

for me it is number 6 (4 kernels, memtest, other, windows)
so i change my line to

default 6

save and close
now at boot windows will be the default.

Now where was i going? Oh yes, crazy!
User avatar
Level 8
Level 8
Posts: 2365
Joined: Mon Mar 26, 2007 7:48 am

Postby rwa on Mon Aug 20, 2007 7:39 am

great, thank you :wink:
Level 1
Level 1
Posts: 2
Joined: Mon Aug 20, 2007 5:48 am

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 36 guests