Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 01-12-2005, 09:46 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Trying to compile 2.6.8 getting Kernel Panic when booting

I am posting this on behalf of my friend, we are having a mini "installfest", and he is trying to compile 2.6.8 on Redhat 9 Shrike. He has installed, and after getting 2.6.8 compiled, he gets a strange message when booting into the 2.6.8 install.

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

Any ideas what the heck it wants us to do?
Old 01-12-2005, 10:45 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
The problem is that it can't find your /sbin/init file, so although the kernel is loaded it can't actually spawn any processes.

The normal cause of this error is that the /sbin directory is not mounted, usually caused by forgetting to compile in drivers for the / filesystem. (Note that your root filesystem drivers must be compiled in, not as modules, as you can't load a module file to drive a filesystem if the file is on that filesystem).

You could try passing the option init=/sbin/init, but I doubt that that would work as it's likely to be the default if you had a working system on that box perviously.
Old 01-13-2005, 01:35 AM   #3
Registered: Aug 2003
Location: Pondicherry,India
Distribution: Fedora Core 3, RedHat 9.0, SUSE 8.1 Personal,
Posts: 49

Rep: Reputation: 15
Try booting into your old kernel ie. 2.4.20-8 [That should work].

cd to the 2.6 kernel directory tree.....compile ur kernel with ext3 or 2 as built-in.....finish the process.May be it works.

Sometimes problems arise also due to :
cramfs and other pseudo-filesystem options not being properly configured in the kernel.


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
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Kernel panic while booting with 2.6.3 duzhenhuan Debian 2 03-15-2004 06:50 AM
Kernel panic after 2.6.1 compile Phaethar Fedora 6 01-14-2004 10:55 PM
kernel panic after compile RIgimp75 Slackware 1 01-09-2004 07:46 PM
kernel panic when booting 2.4.22 doncrawley Linux - Newbie 1 09-28-2003 11:55 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

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