LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-12-2005, 09:46 AM   #1
Tristor
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 2.4.20.8 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
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

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
whencat
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:54 AM.

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
Open Source Consulting | Domain Registration