Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-14-2002, 10:24 AM   #1
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
Questions on LILO

I'm using GRUB now, but i'm thinking about using LILO instead.
Is there a way in LILO to have it autmatically load an OS instead of you having to choose the OS? I used LILO before with RH 7.2, and I didn't like it since it didn't auto select an OS after a few seconds.
Old 12-14-2002, 10:43 AM   #2
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
There is a delay setting for lilo.

man lilo
Old 12-14-2002, 11:07 AM   #3
Registered: Oct 2002
Location: North Atlanta
Distribution: LFS
Posts: 229

Rep: Reputation: 30
in the general section you'll want to have an entry like this:

Old 12-14-2002, 12:41 PM   #4
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Oh, and don't forget to have a default entry as well. The default=<whatever> corresponds to the title entry. So whatever you want it to choose by default, simply add that in. So let's say you have 2 entries in lilo that look like this:

image = /boot/vmlinuz
root = /dev/hda5
label = linux

image = /boot/vmlinuz-Slack
root = /dev/hda6
label = Slack
And you wanted to boot Slack by default, then your entry would say:
default = Slack

And the timeout setting is (I believe) in 10'ths of a second, so the above example would timout after 1/2 a second.

Old 12-14-2002, 12:45 PM   #5
LQ Newbie
Registered: Oct 2002
Location: Denver, Colorado
Distribution: Slackware 9.0
Posts: 16

Rep: Reputation: 0
and don't forget to execute lilo after saving changes to your /etc/lilo.conf file!
It took me a while to figure out why my changes didn't take!
Old 12-14-2002, 03:55 PM   #6
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
Ok, Thanks!

Last edited by pilot1; 12-14-2002 at 04:05 PM.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
lilo configuration questions orange400 Linux - General 1 06-26-2004 08:44 AM
Few questions about Lilo HoosTrax Linux - Newbie 1 02-07-2004 06:14 PM
Lilo/boot questions vexer Slackware 5 06-02-2003 05:53 AM
Linux Lilo questions Tuzinor Linux - General 0 03-01-2001 11:09 AM
Questions on LILO and programming bljarvis Linux - Newbie 5 09-13-2000 07:41 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:57 AM.

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