PDA

View Full Version : boot order


Sunrise
13th November 2005, 09:21
I'm new to linux so please forgive me if this question is too easy
I have three OS's on my computer Win98SE, Win XP Home, and Linux Fedora.
At first I had Core 3 installed I then upgraded to Core 4. I originally set the
default boot as Windows but since the upgrade Linux is now the default boot.
How do I change it back to Windows.

falko
13th November 2005, 18:58
Which boot loader do you use? Grub or lilo? I suppose it's Grub, so boot your Fedora system and edit /boot/grub/menu.lst. You'll find stanzas like this there:

title Xen 2.0.6 / XenLinux 2.6.11.12-xen0
root (hd0,0)
kernel /xen.gz dom0_mem=65536
module /vmlinuz-2.6.11.12-xen0 root=/dev/hda6 ro console=tty0

The system that is listed first is the default one. So if you change the order so that your Windows system is the first one it will be booted by default.

Sunrise
13th November 2005, 20:24
Thanks for your quick reply Falko, and yes I do use Grub
When I tried your suggestion I found the file you said to edit, but I got an access denied
warning when I tried to open it. ( I used a text editor )
How do I get access to it?

till
13th November 2005, 20:50
You need root priveliges to open it. Login as root and try again.

Sunrise
13th November 2005, 21:16
Thanks till
Worked like a charm.
You guys are great, I got myself a "Linux for Dummies" book but it didn't help me at all with
this problem. I'll be coming here again when I have other questions.
I'm slowly becoming a Linux convert, I'm tired of fighting virus's and spyware and all the
other garbage that comes with using Windows
Thanks again