LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-04-2001, 06:06 PM   #1
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
lilo problem


I'm still trying for the 4th night to get a recompiled Linux kernel running *sigh*

After compiling the kernel and installing modules I'm supposed to edit the lilo.conf file and then run it..
But when I've edited it and run it I get an error

"No images found."

My lilo file looks like this (just a rewrite of my original RH 7.1 lilo.conf file... it simply wont work..

boot=/dev/hda1
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.4.9
label =vmlinux-2.4.9
read-only
root=/dev/hda8
append="hdc=ide-scsi"


I've checked partitions with mount and the new kernel image is placed in the boot dir..
I've followed ALL steps in the kernel HOW-TO... and all I get is a kick in the teeth...

Any1?
 
Old 09-05-2001, 01:01 AM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I've never done a kernel compile before.

Did you make sure that the kernel was copied into the /boot directory?

I noticed in your lilo.conf file that you have a line that says ' default=linux '. But there is no image entry for it. Did you remove your old kernel image entry in lilo.conf? If you did , you shouldn't have. The old entry would let you boot into linux if your new one didn't work.

When you boot up, do you select ' vmlinux-2.4.9 ' or do you hit enter or wait? If you hit enter or wait, it will try to boot with the ' linux ' image, but there isn't one.
 
Old 09-05-2001, 05:48 AM   #3
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Original Poster
Rep: Reputation: 16
Well.. I had tried to remove that line earlier, but at the same time I must have had something else wrong..
Cause NOW it worked..
Thx alot!
 
Old 09-06-2001, 12:40 AM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
  


Reply



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
yet another lilo problem killahsmurf Slackware - Installation 6 04-23-2005 11:33 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
LILO problem CommandoHamster Linux - General 4 07-22-2003 11:52 AM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration