LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual boot - need it to default to W2k (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-need-it-to-default-to-w2k-194768/)

johngregor 06-17-2004 07:24 PM

Dual boot - need it to default to W2k
 
Hello,
Linux supernewbee here. I have installed Linux and W2K on the same drive. When I boot, the program defaults to Linux. I need it to default to Windows (does that make me a bad person?).
How do I make this change? Thanks.

coopns 06-17-2004 08:22 PM

I did it ok with this thread and I am a new user as well, using Mandrake 10

http://www.linuxquestions.org/questi...hreadid=190749

Hope this helps.

kvedaa 06-17-2004 08:28 PM

Well, it depends a bit on your distribution is and what boot loader that you are using for that distro.

For instance, I am cruently working on a Fedora Core 1 box that uses the default grub loader. On this box I would go to:

cd /boot/grub

then I would modify the 'grub.conf' file (note that the dufault permisions are such that I would need to be logged in as root to modify this file). I would look for the line that sets the defualt value (something like):

default=1

I would change this value so that it matches up to the listing that you wish to be your default boot setting, please keep in mind that with grub, it counts from the top of the file going down, and the first entry is couted as zero (hence the second entry would be one and so on).

tjracer66 06-17-2004 09:12 PM

are you running KDE??? since i hardly ever use gnome i dont know that much about it. but in kde there is an app called control center. its usually under system administration > lilo, grub or whatever other type of boot loader you use... and just go into administrator mode and its pretty easy from there! hope that helped!

scuzzman 06-17-2004 09:46 PM

in the / directory, there should be a file called lilo.conf
it should look something like this:
Code:

<I REALLY DONT KNOW WHATS HERE>
default="linux"

device="/dev/hda"
label="linux"

device="/dev/hdb"
label="windows"

etc...

just change default to read "windows"
then type ( at a command prompt )

Code:

[root@localhost /]# lilo


All times are GMT -5. The time now is 08:39 AM.