LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 11-06-2007, 06:55 PM   #1
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Rep: Reputation: 30
kernal panic no init found try passing init option to kernel


Hello all,

2 nodes in a redhat cluster have gone down for unknown reasons. while trying to reboot I get the following:

fs error ext3_check_descriptors
group descriptors corrupted
error 22 mounting ext3
pivot_root(/sysroot, /sysroot/inited failed:2)
kernel panic no init found try passing init option to kernel


so while booting when i see the grub splash i press ESC to try to edit the kernel and path init=3 however pressing "e" key doesn't do anything. only option is ctrl+X to go to txt mode. so I tried to reboot with the 3 different kernel on the server, inherit the servers recently from someone else, i try to pass init=3 however i still get the same errors.

if someone please point me to where i should be looking to get this issue solved.
i have looked at "http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/custom-guide/rescuemode.html"
but didn't work either "couldn't mount filesystem in rescue mode"

Thank you in advance
 
Old 11-06-2007, 07:22 PM   #2
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,263

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Well, you certainly can't expect to find a "cookbook" solution to this problem: you're going to have to deduce what has gone wrong. Let me try to help...

When you say that "two nodes have gone down 'for unknown reasons,'" the first thing to do must be to try to guess what those 'reasons' could be. Did we have a power-hit? Might a disk-drive have failed?

When you see a message like fs_error_blah... it certainly sounds pretty darned plausible that a drive might have gone south for the winter. And so you might need to try booting-up one of these machines from a CD-ROM (such as a handy Knoppix distro) to see if you can make sense of what the disk-drives now contain.

Knoppix, as you may or may not yet know, is a stand-alone Linux distro that can boot entirely from a CD-ROM. It will search for your drives and mount them, if it can, but none of those drives will be "your system drive," which means that you can do what you otherwise could not do: you can diagnose your hard-drives, mount them or dismount them or repair them or what-have-you.

Knoppix is pretty-good at doing diagnostics on its own at startup, but eventually it will drop you to a root-prompt. Start by surfing Google for what they have to say about Knoppix, and about tools like fsck and smartctl.

The first thing I'd do, probably, is to use SMART to diagnose the drive. Hard-drives have on-board diagnostics. When the drive encounters an error, it records it. SMART can find and print-out those logs. If the drive's toast, "hope you got a backup."

The second thing will be to analyze and try to repair the filesystem. Once again, start by surfing Google (and this site).
 
Old 11-06-2007, 09:02 PM   #3
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Thanks for your reply and I am sorry if i came across as "demanding help or instant solution to my problems", i never meant it to be this way.

I know about Knoppix but never had to use it to diagnose system issues but i will def google-it to see how could I use it.


again thanks for your help and the advise.
 
Old 11-08-2007, 01:51 PM   #4
m2azer
Member
 
Registered: Sep 2004
Location: USA
Distribution: red hat, fedora & centos
Posts: 202

Original Poster
Rep: Reputation: 30
Here is what I did - just in case someone else have similar issue.
booting with knoppix and ran fsck which always came back with error messages "file system block error descriptors" not exact message.

so using SystemRescueCd i booted one of the other nodes then used "partimage" and cloned the box as well as made a backup of the mbr and partaion table.

went back on the broken box and restored the images, since the two nodes are identical, and the mbr as well as the partation table.

created the swap "mkswap"

mounted the file sys and edited the hosts file to reflect the server name and edited the ifcfg-ethx to the desired IP

booted the machine and it worked.


Thank you "sundialsvcs", with out your comments I wasn't going to be thinking about liveCDs or fsck or all others points u mentioned in your post.

Later
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic: No init found. Try passing init= option to kernel. Kramer Linux - General 3 08-12-2004 09:23 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
kernel panic: no init found. Try passing init= option to kernel rroorroo Red Hat 7 03-07-2004 04:19 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 03:38 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration