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 03-20-2004, 02:53 PM   #1
Mondsreitersmann
 
Nuclear Krusader's Avatar
 
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
Question Boot order (LILO)

Is there a way to change the boot order in LILO?

My current order is this:

linux
linux-nonfb
failsafe
windows
floppy

I'd like to have Windows as the first one in the list, I really don't use Linux much and hate to be always hitting the down arrow key and then Enter to select Windows.

TIA for any input.

EDIT: BTW I am using Mandrake 9.2 with KDE.
__________________
Darum still, füg' ich mich, wie Gott es will. Nun, so will ich wacker streiten, und sollt' ich den Tod erleiden, stirbt ein braver Reitersmann.
Nuclear Krusader is offline   Reply With Quote
Old 03-21-2004, 12:08 AM   #2
Member (10 bit)
 
Join Date: Jul 2002
Location: Trivandrum, India
Posts: 800
Send a message via Yahoo to pillainp
You can do that by editing the file lilo.conf. To read up on this topic, open a terminal window and type man lilo.conf at the prompt.

Last edited by pillainp; 03-21-2004 at 12:11 AM.
pillainp is offline   Reply With Quote
Old 03-21-2004, 05:19 AM   #3
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
Quote:
Originally posted by pillainp
You can do that by editing the file lilo.conf. To read up on this topic, open a terminal window and type man lilo.conf at the prompt.
Correct, switch to root, and open /etc/lilo.conf for editing, look for a line like:

default=linux

and change it to

default=windows

Save the file, then run the command:

/sbin/lilo -v

EDIT:
read man lilo.conf as pillainp suggested and be careful, if you do something wrong lilo may not be able to boot again.

Last edited by aym; 03-21-2004 at 05:48 AM.
aym is offline   Reply With Quote
Old 03-22-2004, 07:57 PM   #4
Mondsreitersmann
 
Nuclear Krusader's Avatar
 
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
Nuk is now scared

Is there a way to backup LILO, like one can do with the boot.ini in Windows, just in case something goes wrong?
Nuclear Krusader is offline   Reply With Quote
Old 03-22-2004, 08:08 PM   #5
Member (9 bit)
 
Join Date: May 2003
Posts: 420
Send a message via AIM to juicelooser
Quote:
Originally posted by Nuclear Krusader
Is there a way to backup LILO, like one can do with the boot.ini in Windows, just in case something goes wrong?
Sure, just make a copy of it (lilo.bak or something) and make a Linux boot disk using your distro's utility.
juicelooser is offline   Reply With Quote
Old 03-22-2004, 08:59 PM   #6
Mondsreitersmann
 
Nuclear Krusader's Avatar
 
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
In which directory does lilo reside?
Nuclear Krusader is offline   Reply With Quote
Old 03-22-2004, 09:04 PM   #7
Member (9 bit)
 
Join Date: May 2003
Posts: 420
Send a message via AIM to juicelooser
somewhere in /etc I believe
juicelooser is offline   Reply With Quote
Old 03-23-2004, 04:51 AM   #8
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
Quote:
Originally posted by Nuclear Krusader
In which directory does lilo reside?
before doing edits, just backup /etc/lilo.conf.

In case something goes wrong, you can boot using a Linux CD, and restore the old lilo.conf file.

Not sure if Mandrake CD boots in repair mode, just make sure you have a bootable Linux CD that mounts the hard disk partitions and allows you to copy files.
aym is offline   Reply With Quote
Old 03-23-2004, 06:34 AM   #9
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
have you considered using GRUB?

Not all distros put the config file in the same place. try /boot, or /etc.
you could use the locate command

locate lilo.conf
__________________
Nisi defectum, Exploro quippini
LocoCoyote 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 07:00 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2