[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Target filesystem



On Fri, Jun 09, 2006 at 09:04:39AM -0400, Brent Clark wrote:
> Jon Dowland wrote:
> 
> >At 1149839151 past the epoch, Brent Clark wrote:
> >
> >>I seem to be experiencing problems booting up (Thank goodness for Knoppix)
> >>
> >>There are a host of errors, but the end message is:
> >>
> >>Target filesystem doesn't have /sbin/init
> >>/bin/sh: can't access tty; job control turned off
> >
> >If you boot to knoppix and mount said filesystem, are sbin/init and
> >/bin/sh present?
> >
> Hi Jon
> 
> knoppix@0[knoppix]$ sudo mount /dev/hdb1 /mnt
> knoppix@0[knoppix]$ ls -la /mnt/ | grep bin
> drwxr-xr-x    2 root root  4096 Jun  9 02:27 bin
> drwxr-xr-x    2 root root  4096 Jun  9 02:27 sbin
> knoppix@0[knoppix]$ ls -la /bin/s         
> sash       sed        setpci     setserial  sh         sleep      
> stty       su         sync      
> knoppix@0[knoppix]$ ls -la /bin/s*
> -rwxr-xr-x  1 root root 551064 Feb  5  2005 /bin/sash
> -rwxr-xr-x  1 root root  41336 Feb 10  2005 /bin/sed
> lrwxrwxrwx  1 root root     15 May  3  2005 /bin/setpci -> /usr/bin/setpci
> -rwxr-xr-x  1 root root  20816 May 25  2005 /bin/setserial
> lrwxrwxrwx  1 root root      4 May 26  2005 /bin/sh -> bash
> -rwxr-xr-x  1 root root  14424 Jul 16  2004 /bin/sleep
> -rwxr-xr-x  1 root root  36856 Jul 16  2004 /bin/stty
> -rwsr-xr-x  1 root root  23248 Jul 25  2005 /bin/su
> -rwxr-xr-x  1 root root  12216 Jul 16  2004 /bin/sync
> knoppix@0[knoppix]$ ls -la /sbin/ini*
> -rwxr-xr-x  1 root root 50816 Sep 23  2005 /sbin/init
> knoppix@0[knoppix]$

/bin/sh is a symbolic link, so you will need to verify that /bin/bash
exists as well - but I suspect that is not the problem...

Looks more like a problem with booting to the wrong filesystem. We
probably need to know what the first few error messages were rather
that the final result. Have you changed to boot config recently?
What is the kernel command line?

DigbyT
-- 
Digby R. S. Tarvin                                          digbyt(at)digbyt.com
http://www.digbyt.com



Reply to: