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