LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-04-2009, 10:23 PM   #1
bklein
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
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 . . .
 
Old 10-05-2009, 02:30 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

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

cheers,

kbp
 
  


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
exec of init (/sbin/init) failed!!! kernel panic KiraII Linux - Kernel 1 07-13-2007 09:07 PM
Target file system doesn't have /sbin/init jay73 Debian 1 06-21-2007 03:25 PM
Chkroot scan - /sbin/init & /sbin/ifconfig INFECTED bicoba Linux - Security 4 06-07-2006 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:44 PM.

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