LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   target filesystem doesn't have /sbin/init (https://www.linuxquestions.org/questions/debian-26/target-filesystem-doesnt-have-sbin-init-759727/)

bklein 10-04-2009 10:23 PM

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
bash#

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 . . .

kbp 10-05-2009 02:30 AM

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

cheers,

kbp


All times are GMT -5. The time now is 03:58 PM.