![]() |
/sbin/init: Kernel panic - not syncing: Attempted to kill init!
Hi.
I was working normally in my ubuntu 8.10 x64, when I open console and write ls, say a message: Command not found!! I scare and rebbot immediatly, but now i get this error when system start: Code:
booting up from (hd0,2) ext3 |
The fact that ls wasn't found means that the /bin/ls file doesn't exist.
The error you have on boot is that /sbin/init also doesn't exist. You probably have a corrupt filesystem, which could be caused by a damaged hard disk (assuming that no-one's actually deleted the files). It's a shame that you rebooted straight away since it would have been nice to see the log entries (/var/log/messages and the dmesg command) to see if there were any reported errors. There are some things you can try here, for example, you could use init=/bin/bash to be dropped into a shell when you log in, bypassing /sbin/init completely. But that won't work if /bin/bash is broken. The best thing to do is to download a live CD, boot from that, and then run fsck to do a check of the disk. System Rescue CD is a live CD tailored towards system recovery; I've never used it but there's quite a bit of documentation on their website: http://www.sysresccd.org/Main_Page For example: Code:
fsck /dev/hda2Hope that helps, —Robert J Lee |
I agree... and run smartdrv too if you have it. I think that you'll find that your hard-drive just pooped. :eek:
|
But Is strange. Because I have windows in other partition and it works nice.
I try boot from liveCD and I can read all partitions, and I already get a backup of important data. I has download System Rescue CD, I will to try whit this... |
Why do you need System Rescue CD? I think Reinstalling your linux is better.
|
Reinstalling might be better only if he/she can save his/her important data first somewhere. Preferably /home and some /etc config files that were customized to work with his/her hardware. Otherwise, he/she might feel that's a lot of work to figure out what he/she did to get the few components working the way he/she wants if the drive was reformatted and reinstalled. I'm doing the same thing and there are differences between the original install and the reinstall since some config files were changed in the interim.
|
Reinstall
I did not want to reinstall my linux because I has many configurations ready, although using a live cd, I could access to all info on hard disk and backup it.
:mad: I gave up and reinstall my linux. Thank's |
Same problem!
I have ubuntu 9.04 and i have the same problem! I was compiling some C++ files on terminal when i tried to execute ls and i got an ERROR message: bin/ls not found!
After that i tried to open nautilus without success, and Computer without success... So I restarted my PC and got the error SBIN/INIT: NO SUCH FILE OR DIRECTORY. After that, I formatted my system three times and all the times this error occurred again. I have windows in another partition working fine... Why this error is happening? |
| All times are GMT -5. The time now is 07:44 AM. |