LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 11-06-2009, 12:46 PM   #1
narenderiete
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
kernel panic: No init found


i am using redhat advaced server 2.1.while booting my server i am getting error message"kernel panic: No init found. try passing init = option to kernel ".pl give me solution to restore my server.
 
Old 11-07-2009, 11:51 PM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Quote:
Originally Posted by narenderiete View Post
i am using redhat advaced server 2.1.while booting my server i am getting error message"kernel panic: No init found. try passing init = option to kernel ".pl give me solution to restore my server.
What did you change just before you rebooted? This looks like the kind of error you get when grub/lilo has "misplaced" your boot sector, but we would need to know what happened to get you into this pickle.

BTW, this pickle is often recoverable.
 
Old 11-11-2009, 12:46 AM   #3
narenderiete
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
one of the hot swappable hard disks gone faulty.
 
Old 11-12-2009, 10:37 AM   #4
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Can you boot from a live CD and examine the current filesystem? What you want to do is find out if the drives are still being "seen" the way they once were.

Your '/dev/sdb' might now look like '/dev/sda', if you follow my drift.

Ultimately, your bootloader is probably not pointing to your linux installation.

First things first...boot from live CD, mount your old / file system, examine /etc/fstab and see what it expects as a device...i.e.) sdb, hdb, etc. Post the result for us : )
 
Old 11-12-2009, 11:11 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by narenderiete View Post
one of the hot swappable hard disks gone faulty.
How is that supposed to help us???? You will need to give more detail on your system configuration.

Quote:
This looks like the kind of error you get when grub/lilo has "misplaced" your boot sector
No--that would cause it not to find the kernel. It is the highlighted entry below that tells the kernel where to find init:

<<excerpt from /boot/grub/menu.lst>>
title Slack_13
root (hd0,4)
kernel /boot/vmlinuz root=/dev/sda5 ro

Also, lilo or grub don't look for the "boot sector"---they look for the partition containing /boot. They might howeever be ON the boot sector.

Last edited by pixellany; 11-12-2009 at 11:14 AM.
 
Old 11-13-2009, 09:21 AM   #6
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Quote:
Originally Posted by pixellany View Post
How is that supposed to help us???? You will need to give more detail on your system configuration.

No--that would cause it not to find the kernel. It is the highlighted entry below that tells the kernel where to find init:
Actually, the key to what's happening *IS* in the loss of narenderiete's swappable drive, IMO. If his drive order is messed up, then narenderiete will get the message "kernel panic: No init found", meaning the boot loader could not continue with kernel initialization and has thrown this error to STDOUT and stopped.

I might be wrong, but I think his /boot partition is being recognized as a different disk, now.
 
  


Reply

Tags
found, init, kernel, panic


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 panic not sycning no init found try passing a init= option to the kernel? linus72 Linux - Newbie 2 05-25-2009 07:01 AM
Kernel panic-not syncing:No init found. Try passing init=option to kernel cucolin@ Ubuntu 5 12-26-2008 06:44 AM
Kernel panic - not syncing: No init found. Try passing init= option to kernel. john_schimandle Linux - Embedded & Single-board computer 3 10-10-2008 09:09 AM
Kernel panic - not syncing: No init found. Try passing init= option to kernel. john_schimandle Linux - Newbie 4 10-09-2008 02:40 AM
Kernel panic - not syncing: No init found. Try passing init= option to kernel ranjithmrk Linux - Newbie 4 08-22-2008 02:33 PM


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