Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-26-2004, 12:48 PM   #1
Registered: May 2004
Location: Martinez, CA
Distribution: Ubuntu
Posts: 38

Rep: Reputation: 15
What happens if the first image in my lilo.config doesn't boot?


If I have two images (both Linux kernels) in my lilo.conf, what happens if the first kernel image comes up and crashes? Is LILO smart enough to load by default the second image or do I need to do something extra somewhere.

The crux of the problem. I am a kernel developer (new at it as you can tell) and I want to ensure that my customers don't get screwed when they upgrade. They (the customers) never really see the linux side of the world and I just want to make sure that the LILO config file that I set up is correct.

So if I have two image lines and the first image doesn't work, will LILO boot up my second image?

Old 06-02-2004, 01:20 AM   #2
Registered: Feb 2003
Location: Chicago
Distribution: Slackware 10.2
Posts: 154

Rep: Reputation: 30
I don't think LILO is that smart. In fact, I had that experience with my non-working 2.6 kernel, if it crashes through one image it can't backtrack. Not sure if you're looking for an answer on how to solve this, but either way I don't have one.
Old 06-02-2004, 03:10 AM   #3
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: FreeBSD, Suse
Posts: 103

Rep: Reputation: 15
when lilo is given controll by the processor it loads the kernel into memory and passes controll to it. Once controll is passed, it can't be called back unless the kernel gives it back. Hence the near impossibility of what you ask.

Check this out, it should solve your prob.


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 Boot Image for Fedora Core 3 besttech01 Fedora 2 03-31-2005 05:21 PM
How to config lilo to boot from two Hard Drives. mlsbraves Linux - General 4 09-13-2004 09:16 PM
lilo boot image mi6 Slackware 9 04-30-2004 10:14 PM
Lilo config can't boot slack Mojojo Slackware 8 07-02-2003 03:38 PM
Lilo boot Image karunesh Linux - General 2 01-24-2002 06:33 AM

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