Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-04-2009, 11:23 PM   #1
LQ Newbie
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
target filesystem doesn't have /sbin/init

Hi everybody

I have a Debian distribution in a 32-bit AMD machine. I fixed another
troubles with fsck, then I got this trouble:

target filesystem doesn't have /sbin/init

I tried with a ubuntu liveCD the next:

$ sudo mount -t ext3 -o rw /dev/hda1 /mnt
$ chroot /mnt

With this bash prompt, I tried as a su - the next

# apt-get update; apt-get upgrade; apt-get install udev
and I didn't get anything

as a sudo I got this:
sudo: uid 0 does not exist in the passwd file!

But the main trouble, I think, is that I only have a sbin file, not a
folder. In a some way the folder /sbin has gone with all its contents,
and I can't run any executables that usually you find in this folder.

How can I fix this?

Thanks in advanced . . .
Old 10-05-2009, 03:30 AM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
It looks like your file system problems may have been fatal, do you have a backup ?




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
/sbin/init: Kernel panic - not syncing: Attempted to kill init! jalejo08 Linux - Kernel 7 07-02-2009 02:16 PM
exec of init (/sbin/init) failed!!! kernel panic KiraII Linux - Kernel 1 07-13-2007 10:07 PM
Target file system doesn't have /sbin/init jay73 Debian 1 06-21-2007 04:25 PM
Chkroot scan - /sbin/init & /sbin/ifconfig INFECTED bicoba Linux - Security 4 06-07-2006 10:16 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration