LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-02-2005, 04:36 AM   #1
MKSrivastava
Member
 
Registered: Apr 2005
Posts: 34

Rep: Reputation: 15
Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot


In cleaning the previous kernel 2.6.8 I did following -

make mrproper oldconfig
(making of kernel)
make oldconfig
make
make install
***Upto here with above I found "vmlinuz-2.6.8-2-686" & "System.map-2.6.8-2-686" automatically in boot.
make modules_install( in /usr/src/linux-2.6.8) /* which does all compiled modules in /lib */

With complete above steps, in boot I didn't found "initrd.img-2.6.8-2-686" and also I checked and updated /boot/grub/menu.lst as required. It seems the system is not able to boot becoz of missing "initrd.img-2.6.8-2-686" in /boot. How can I have it any clue ?
 
Old 12-02-2005, 08:25 AM   #2
eplanamente
LQ Newbie
 
Registered: Dec 2004
Location: Switzerland
Distribution: Debian Sarge
Posts: 15

Rep: Reputation: 0
The solution is very simple: you need the initrd image!

I have not really understood what have you done. Did you try to compile a new kernel?

If not, please specify what have you tried to do.

If yes, forget all the commands you have used for this purpose. This is the hacking way, but debian provides a very better way.

If you compile your kernel in the debian way (very recommended!!!) you will have the following advantages:
  • a Debian package containing your self compiled kernel
  • install/deinstall your just self compiled kernel with the Debian tools
  • automatically creation of an initrd image during the installation
  • automatically update of grub during the installation

Take a look at this post to find out how to do it: Kernel compilation: the Debian way
Important is you use the --initrd parameter!

Ciao
Emidio
 
Old 12-02-2005, 03:09 PM   #3
acker
Member
 
Registered: Apr 2004
Location: Timisoara, Romania
Distribution: Debian
Posts: 90

Rep: Reputation: 15
Re: Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot

Quote:
Originally posted by MKSrivastava
In cleaning the previous kernel 2.6.8 I did following -

make mrproper oldconfig
(making of kernel)
make oldconfig
make
make install
***Upto here with above I found "vmlinuz-2.6.8-2-686" & "System.map-2.6.8-2-686" automatically in boot.
make modules_install( in /usr/src/linux-2.6.8) /* which does all compiled modules in /lib */

With complete above steps, in boot I didn't found "initrd.img-2.6.8-2-686" and also I checked and updated /boot/grub/menu.lst as required. It seems the system is not able to boot becoz of missing "initrd.img-2.6.8-2-686" in /boot. How can I have it any clue ?
You definitely should do like a make menuconfig and check you options. I don't use a initrd image because I have most of my drivers compiled directly into the kernel, not as modules. If not, I'll have to use an initrd-image to access my reiserfs partitions.
Maybe you can boot your kernel but you've let a line telling grub that your linux image needs an additional initrd-image?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I find "boot.img" to copy to my diskette? zahrul Linux - Newbie 9 01-02-2010 04:10 AM
how to make initrd.img for your kernel without boot disk? donaldtalbert Linux - Software 1 06-19-2005 10:30 PM
working with drivers, error " kernel panic: killing interrupt handler" at .img boot s_anumolu Linux - Hardware 0 05-18-2005 12:21 AM
Please explain "386" vs. "686" versions vinoloco Linux - Newbie 4 04-05-2005 07:03 PM
What can I do facing boot "kernel panic", except reinstallation? yuzuohong Linux - General 1 03-21-2003 09:15 PM


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