LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-14-2002, 09:24 AM   #1
pilot1
Member
 
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.
Thanks!
 
Old 12-14-2002, 09:43 AM   #2
irish_rover
Member
 
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, 10:07 AM   #3
JStew
Member
 
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:

timeout=50
 
Old 12-14-2002, 11:41 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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:

Code:
image = /boot/vmlinuz
root = /dev/hda5
read-only
label = linux

image = /boot/vmlinuz-Slack
root = /dev/hda6
read-only
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.

Cool
 
Old 12-14-2002, 11:45 AM   #5
dzhon
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, 02:55 PM   #6
pilot1
Member
 
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 03:05 PM.
 
  


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


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


All times are GMT -5. The time now is 03:49 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