LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-27-2009, 06:03 PM   #1
protos78
LQ Newbie
 
Registered: Feb 2009
Posts: 10

Rep: Reputation: 0
kernel panic - not syncing: Attempted to kill init!


Hello,

I have RHEL 4. When I start up my machine I get

/bin/sh: ro: No such file or directory
kernel panic - not syncing: Attempted to kill init!

The machine was running fine until 5.26.2009. The only change for the last few weeks was hooking up an external usb disk.

I tried to solve the issue with rescue cdrom. I booted with linux rescue CD and red hat found the "/" and mounted it to /mnt/sysimage.

Then, I run "chroot /mnt/sysimage".

I tried to fix grub by running grub-install. It could not find grub-install. "locate grub-install" shows that is is located at /sbin/grub-install. However, it is not. ls -al /sbin/grub-install gives nothing. I am very much confused. Some executables under /sbin are missing.

I also booted with Knoppix and checked all the partitions with fsck. They are all clean.

It would be great if you can help me in fixing the issue. I don't want to reinstall OS.

Thanks,
 
Old 05-27-2009, 10:59 PM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
do this in /bin directory
ln -s bash sh
check there bash program present in the /bin directory
 
  


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
/sbin/init: Kernel panic - not syncing: Attempted to kill init! jalejo08 Linux - Kernel 7 07-02-2009 01:16 PM
kernel panic - not syncing: Attempted to kill init! k5knt Linux - General 39 07-18-2007 12:47 AM
Kernel panic-not syncing:Attempted to kill init skie_knite007 Linux - General 3 10-02-2006 10:46 PM
kernel panic - not syncing: Attempted to kill init! rh_bomani Linux - General 2 06-01-2006 05:21 PM
kernel panic - not syncing attempted to kill init KennyS Fedora 1 02-22-2006 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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