Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-08-2002, 04:44 AM   #1
LQ Newbie
Registered: Jan 2002
Location: Edinburgh
Posts: 8

Rep: Reputation: 0
Unhappy New Kernel not booting

OK well I have made the new Kernel, nothing blow up! But when I try to run it a) from my origional boot disk, by hitting tab then my new label, it says no image found.
b) use old kernel to go into system created a boot disk and it just hangs after saying, "Uncompressing Linux..OK. Starting Kernel" STOP.

If it helps to know that I boot into Linux through a boot disk, then all well and good.

I have also noticed that I didn't have a lilo.conf file, so I copied the lilo.conf.anaconda to lilo.conf.

But I seem to have an additional line that all example lilo.conf don't have, here is my complete lilo.conf


initrd=/boot/initrd-2.4.7-10.img ***extra line****

***new kernel bit so I can test it****
append="hdc=ide-scsi" ***Added this myself as I thought if its in the origional it should be here too!****

So my new start-up bit is missing this initrd img file!

Any suggestions please, does anybody else have this or 7.2 and has done what I'm trying. Cheers
Old 01-08-2002, 05:19 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Well I think you mixed a few things up. If you are using a floppy to boot linux then you will have to update the floppy so it will be able to boot then new kernel.
And for the extra line in the lilo.conf:
initrd = initial ram disk image
It points to a preliminary root filesystem image which helps the kernel boot. This image file should be present on your floppy if you want it to work.
I don't think you can just add those entries to lilo and then make it work like that. But I don't really use floppies to boot so I never really got into doing all that.

Anyways if you want to make a simple boot floppy for a specific kernel just do something like:

dd if=/boot/bzlinuz.myker.07jan2002 of=/dev/fd0 rdev /dev/fd0 /dev/hda3

When compiling the kernel you can also just put a empty floppy in the drive and run make bzdisk instead of make bzImage. This will automatically copy the kernel to disk for you so you can just boot from the floppy to test it.
Old 01-08-2002, 05:27 AM   #3
LQ Newbie
Registered: Jan 2002
Location: Edinburgh
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for that, but do I have to make a new image from the new kernel? I cannot use the old image otherwise am I not still using the old kernel?

If so how do I do that, I have not seen any help guides for it.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 09:32 AM
Freeze booting kernel - mdk 9.2, kernel 2.4.22-10mdk, Acer TM252LC thekro Linux - Laptop and Netbook 19 03-25-2006 05:56 AM
smp kernel: uncompressing Linux ..ok booting the kernel krissb Linux - General 1 11-16-2005 07:31 PM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 12:52 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 05:59 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:30 PM.

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