Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-10-2003, 08:14 AM   #1
Member (5 bit)
 
Join Date: Sep 2002
Posts: 26
Send a message via AIM to TATSS
Change Default OS on dual boot

I have a dual boot machine with Windows XP Professional and Redhat Linux 9.1. When I installed them I installed Windows first and then Linux, so now it defaults to Linux. I was wondering if someone could tell me how to change it so it will default to Windows. Thanks.
TATSS is offline   Reply With Quote
Old 07-10-2003, 09:06 PM   #2
Member (9 bit)
 
RodneyMargis's Avatar
 
Join Date: Mar 2003
Posts: 262
i dont knwo aobut redhat but in suse in the control center there shoot be an icon named boot loader. in there you should be albe to set the default and how many seconds it tkaes to boot each
RodneyMargis is offline   Reply With Quote
Old 07-12-2003, 11:10 PM   #3
Member (8 bit)
 
jglen490's Avatar
 
Join Date: Mar 2002
Location: An ancient aircraft hangar.
Posts: 185
If you are using Lilo, you can edit /etc/lilo.conf to specify which label you want as default. If you are using Grub, you can edit /boot/grub/menu.lst to do the same thing.
jglen490 is offline   Reply With Quote
Old 07-12-2003, 11:22 PM   #4
Member (5 bit)
 
Join Date: Sep 2002
Posts: 26
Send a message via AIM to TATSS
I don't know which boot loader I am using, but i tried to edit both of those files, and when I open them in a text editor nothing comes up. What am I doing wrong?
TATSS is offline   Reply With Quote
Old 07-13-2003, 08:09 PM   #5
Member (8 bit)
 
jglen490's Avatar
 
Join Date: Mar 2002
Location: An ancient aircraft hangar.
Posts: 185
It's likely a permissions problem, since either file has root ownership. I don't know what editor you tried or which ones you have, aside from "vi".

Open a terminal and switch user to root, then open an editor at the command line such as gedit and edit the file. Do this as follows:

su -
(Respond to prompt with root password)

cd /etc

gedit lilo.conf

That should bring up the gedit editor with lilo.conf so that you can edit the file. Of course, if you are using Grub, then cd /boot/grub and open menu.lst.

If you are using some other editor rather than gedit, then open the file with that editor.

When you are done then type in "exit" to close out your run as the root user.
jglen490 is offline   Reply With Quote
Old 07-14-2003, 05:59 AM   #6
Member (11 bit)
 
mikeL's Avatar
 
Join Date: Nov 1999
Location: Northeast, Michigan
Posts: 1,063
If you edit your lilo.conf file don't forget, to run /sbin/lilo
mikeL is offline   Reply With Quote
Old 07-30-2003, 01:13 AM   #7
Member (10 bit)
 
LocoCoyote's Avatar
 
Join Date: Jan 2003
Location: Germany
Posts: 537
Send a message via Yahoo to LocoCoyote Send a message via Skype™ to LocoCoyote
Just a quick note...in redhat 9 the config file for grub is
/boot/grub/grub.conf

I have no clue why RH doesn't use menu.lst or even where the modification was made

It is driving me......Loco!
__________________
Nisi defectum, Exploro quippini
LocoCoyote is offline   Reply With Quote
Old 08-03-2003, 10:37 PM   #8
Member (8 bit)
 
jglen490's Avatar
 
Join Date: Mar 2002
Location: An ancient aircraft hangar.
Posts: 185
I don't know why RedHat chse to do that either. If they don't have a link between grub.conf and menu.lst, then they had to modify the source for grub.

It's weird.
jglen490 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:16 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2