LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Panic!! (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-142776/)

LilGryphMaster 02-05-2004 06:41 PM

Kernel Panic!!
 
Finally figured out how to compile and install the new kernel 2.6.2

But now, when I try to boot to it I get a Kernel Panic

Kernel Panic: No init found. Try Passing init= option to kernel

Is there anything I need to do with RH9 to get it to run the kernel?

peace 02-05-2004 06:45 PM

Make sure you have an initrd.img file that is being accessed by LILO or GRUB. This can be created by using the mkinitrd command (as root):

mkinitrd initrd-kernel-version.img kernel-version

Hopefully this was helpful.

jailbait 02-05-2004 06:57 PM

The mkinitrd suggested by peace should solve your problem.

Another way to solve the problem is to make all of the modules that need to be loaded by initrd as a part of the bootable kernel and dispense with initrd entirely. You set these modules to y instead of m when you do the kernel configuration.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Luantum 02-06-2004 06:47 AM

I don't seem to have a mkinitrd and I am running Slack9.1! Anyone know where it is?

jailbait 02-06-2004 10:11 AM

"I don't seem to have a mkinitrd and I am running Slack9.1! Anyone know where it is?"

mkinitrd is a script. Download mkinitrd for some other distribution and use that as a pattern to do it by hand.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 11:03 AM.