LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-05-2004, 07:41 PM   #1
LilGryphMaster
LQ Newbie
 
Registered: Jan 2004
Location: Iowa
Distribution: Red Hat 9
Posts: 18

Rep: Reputation: 0
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?
 
Old 02-05-2004, 07:45 PM   #2
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
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.
 
Old 02-05-2004, 07:57 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
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
 
Old 02-06-2004, 07:47 AM   #4
Luantum
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 48

Rep: Reputation: 15
I don't seem to have a mkinitrd and I am running Slack9.1! Anyone know where it is?
 
Old 02-06-2004, 11:11 AM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"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
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:38 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration