LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-13-2009, 11:19 AM   #1
tlombardi
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Kernel Panic - exec of init failed - HELP


Hellow guys,

I have a machine installed with centOS which is not booting and giving me a Kernel Panic as follows:

no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
exec of init (/sbin/init) failed!!!: No such file of directory
Kernel panic - not syncing: Attempted to kill init!

I have tried booting in linux rescue mode and trying "chroot /mnt/sysimage" but i am getting the error:

chroot: cannot run '/bin/sh' : No such file or directory

I am using the same linux installer CD i used to install the machine i think. At least uname -r command returns the same kernel version as i have installed.

Any ideas why this is happening or I could fix my system?

Regards,

Tonio
 
Old 04-13-2009, 11:32 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Sounds like /bin and /sbin, at least, are gone. You'll have to boot from a live CD, mount the disk, and see what's there and what's not (don't have to chroot). You can copy the binary directories over from another installation, or you may have to reinstall. By the way, the error before the "Attempted to kill init" line is the real error.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
exec of init (/sbin/init) failed!!! kernel panic KiraII Linux - Kernel 1 07-13-2007 09:07 PM
FC4 kernel panic /sbin/init failed markelo Fedora 3 02-16-2006 04:54 PM
exec: 431: chroot not found, kernel panic, Attempted to kill init! WalGrom Linux - Software 0 12-11-2005 01:37 PM
HPT372 on mandrake 9.2 = kernel panic ( init failed ) micro_sucks Linux - Software 0 12-17-2003 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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