LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-22-2004, 04:17 AM   #1
BW~Merlin
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.1
Posts: 26

Rep: Reputation: 15
How to change primary boot option


Hi. I have recently installed mandrake 10.0 OE. Besides not being able to insatll anything (i dont know how) everything seems to be running smothly and i am slowly finding something out (very slowly and very few things). I would like to know how to change my primary boot option from linux back to windows (becuase i dont know how to install anything i cant do any work) and so i need windows where everything is installed and working. I found the lilo.conf file do i simpily change the commands so that instead off

boot=/dev/hda
map=/boot/map
default="linux-p3-smp-64GB"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount acpi=ht splash=silent"
vga=788
read-only

i change it to what? I have looked through the file and the rest of the linux options look similar to each other while the windows one does not look much like the rest

other=/dev/hda1
label="windows"
table=/dev/hda

Thx.
 
Old 07-22-2004, 04:37 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
In your lilo.conf example you need to change the 3rd line from:
Code:
default="linux-p3-smp-64GB"
to:
Code:
default ="windows"
That will make the default boot into Windows
 
Old 07-22-2004, 05:10 AM   #3
BW~Merlin
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
Thx but when i restart and let the counter count out it still boots into linux. Is there anything else that needs to be changed as well? would changing the boot device from hda5 to just hda help?

Thx

Last edited by BW~Merlin; 07-22-2004 at 05:59 AM.
 
Old 07-22-2004, 06:26 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,891

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
You need to rerun lilo

/sbin/lilo
 
Old 07-22-2004, 07:29 AM   #5
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
Yeah, sorry, forgot to mention that
 
Old 07-23-2004, 02:47 AM   #6
BW~Merlin
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
Thank you so much. It worked straight up once i typed /sbin/lilo. Is the /sbin command a restart command for applications? and if so if i have updated an application and i dont know it how can i get it to restart for the changes to take effect.

Once agian thanks heaps.
 
Old 07-23-2004, 06:46 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,891

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
/sbin is the directory where the lilo executable is located. It is necessary to run lilo to rewrite the bootloader for the changes to take effect.

With other apps it depends. For apps like apache and samba you can use the control center to start/stop/restart services. It is also possible to start services from the command line.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change a user's primary group? Akhran Linux - Newbie 4 03-19-2010 08:54 PM
Dual boot primary Linspire & XP primary slave? watmonki Linspire/Freespire 5 11-01-2005 08:16 PM
change the option to boot from gui to text boyd98 AIX 3 01-12-2005 10:16 AM
Change my primary soundcard Zero007 Linux - Hardware 2 09-13-2004 10:52 PM
boot loader, MBR, redhat9 on primary slave, winxp on primary master samik Linux - Hardware 4 10-15-2003 08:55 PM


All times are GMT -5. The time now is 10:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration