Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-05-2002, 06:14 AM   #1
Registered: May 2002
Location: Shanghai, PRC
Distribution: RedHat 6.2 | 7.2 | 8 | 9|3
Posts: 81

Rep: Reputation: 15
Angry How can I recover my RedHat if it BOOTs to a "Kernel Panic" error and stop running?

Hi all,

I've reinstalled RedHat for many many times since 1999. Some of them I met
"Kernel Panic" error message just before the system boot into "SERVICE
start". I always don't know how to deal with it.
Usually the error message looks like these two types: 1),Kernel panic error,
try to add a "init=" option at startup.2), Kernel panic error, could not
mount /, try to add a "root=" option at startup.
I'm not very clear about what it means. I guess maybe something wrong with
the partition. I also tried to start RedHat with "linux init=3" or "linux
root=/dev/hda1" option. But nothing is useful for this. So I don't have any
idea about the solution and I have to reinstall again. When I reinstall the
system, I can't find any wrong with the partition. Everything seems to be
Please give me some suggestion about this "Kernel panic".

Old 12-05-2002, 11:12 AM   #2
Senior Member
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
there can be several reasons for a kernel panic. But you can always boot the system with a resue cd or floppy. Once you have booted, you can try to undo the things you have done to cause the kernel panic.
A kernel panic never just apears. You have to have done somthing to cause this.
The next time you have a kernel panic (lets hope never ) just tells us that you did prior to this panic and the people on this form will do the best they can to help you correct the mistake. Also, it's a good idea to post you exact error message.
If you don't have a rescue disk, it's a good idea to make one. See this site.
Old 12-05-2002, 02:41 PM   #3
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
I recently encoutered a kernel panic because my initrd wasnt loading the ext3 modules(needed to mount my ext3 filesystem ) properly and the kernel couldnt mount the root partition successfully. From all the research I did to solve this problem, I found out that most kernel panics are caused by the inability of the kernel ( because you upgraded your filesystem but forgot to include support or you configured your boot loaded to pass the wrong root device to the kernel or some other screwup on your part apart from hardware failure ) . We know PC class hardware is not very reliable at all, but on the overall it seems to be improving.. but that apart the panic is caused usually by an action on the user side.

When you do something sensitive like upgrade the kernel or mess around with the boot loader, be sure to back up the original conf files and also to find a way to revert like filesystem migration that you did. Have a bootdisk / rescue CD handy so that you can mount the root filesystem, chroot to it and put things back in place. Well, that's about all one can do, I guess.
Old 12-05-2002, 09:36 PM   #4
Registered: May 2002
Location: Shanghai, PRC
Distribution: RedHat 6.2 | 7.2 | 8 | 9|3
Posts: 81

Original Poster
Rep: Reputation: 15
Question Reply:


Thank you so much for your help!
I've got another question. What is the "Rescue CD" you mentioned? Does it mean that I boot with Installation_CD_1 and type "linux rescue"?
Old 12-05-2002, 10:55 PM   #5
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58

after that your system will be mounted in /mnt/sysimage

you can run it by doing this

chroot /mnt/sysimage

then do what you need to do to fix it
Old 12-05-2002, 11:39 PM   #6
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
If you have another system where you can create a root disk download this:

Or install another version of RH


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
working with drivers, error " kernel panic: killing interrupt handler" at .img boot s_anumolu Linux - Hardware 0 05-18-2005 01:21 AM
"kernel panic : no init found " error with user-mode-linux tuxfood Linux - Software 2 05-06-2005 04:29 PM
FC2 Install Trouble "Kernel Panic: Attempt to kill init!" Error ghg_legat0 Linux - Newbie 3 06-01-2004 10:28 AM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 01:24 AM
error:"kernel panic: VFS: Unable to mount root fs":-( shyguy Linux - Newbie 1 07-23-2001 05:03 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:20 AM.

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