default boot O/S

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
calymea
Level 3
Level 3
Posts: 126
Joined: Sun Jul 22, 2007 10:55 pm

default boot O/S

Post by calymea »

Hi all, I,like probably a lot of people have my system dual booted with window$ XP and Mint. How do I set the boot loader to load Window$ as the default operating system, with Mint loaded when selected?
Thanks to all.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
hsoltau
Level 1
Level 1
Posts: 21
Joined: Thu Jan 11, 2007 8:20 am
Location: Heidelberg, Germany

Re: default boot O/S

Post by hsoltau »

hi,
just edit the default entry in the file /boot/grub/menu.lst

type in terminal:

Code: Select all

sudo gedit /boot/grub/menu.lst
greetings

:D
calymea
Level 3
Level 3
Posts: 126
Joined: Sun Jul 22, 2007 10:55 pm

Re: default boot O/S

Post by calymea »

Hi, thanks for the reply. Put in the terminal command you supplied, got into "grub" and saw all the different options and not sure which one to edit to change the default boot O/S. Never done anything like this before. Any chance of a quick walk through please?
Thanks again.
proxima_centauri

Re: default boot O/S

Post by proxima_centauri »

HI,

All you need to do is switch around your Linux mint entry and your Windows entry - making Windows the first entry and thus will be selected first by grub when you boot.

You should see something like this near the bottom with your windows entry somewhere under it, this is where I mean.
title Linux Mint 6, kernel 2.6.27-9-generic
root (hd0,0)
kernel /boot/vmlinux-2.6.27.generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.27-9-generic
User avatar
hsoltau
Level 1
Level 1
Posts: 21
Joined: Thu Jan 11, 2007 8:20 am
Location: Heidelberg, Germany

Re: default boot O/S

Post by hsoltau »

Hi again,

i think its easier to change this value in the menu.lst file:

line 14 (in my file)
default 0

you have to count starting from 0 to the value where your Windows entry is:

in my file it looks like this at the bottom of the file:
if i would have liked my Win2000 to be the defalut value i would have to set the defalut value to 5 (the title Other operating systems counts too)

Code: Select all

## ## End Default Options ##

title		Linux Mint 6, kernel 2.6.27-7-generic
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.27-7-generic root=/dev/sda3 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-7-generic
quiet

title		Linux Mint 6, kernel 2.6.27-7-generic (recovery mode)
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.27-7-generic root=/dev/sda3 ro single
initrd		/boot/initrd.img-2.6.27-7-generic

title		Linux Mint 6, kernel Last successful boot
root		(hd0,2)
kernel		/boot/last-good-boot/vmlinuz root=/dev/sda3 ro quiet splash  last-good-boot
quiet

title		Linux Mint 6, memtest86+
root		(hd0,2)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title		Microsoft Windows 2000 Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1

hope that helps....

bye
:D
Locked

Return to “Beginner Questions”