[AuckLUG] /bin/sh: can't access tty; job control turned off
Nevyn
nevynh at gmail.com
Fri Mar 30 00:20:28 NZST 2007
Were you able to mount the file system when using a live cd??
On 3/29/07, Cheng Eu Chew <renedox at gmail.com> wrote:
> so... I still can't find and answer to this problem... here is what I
> get after it is says "uncompressing kernel"
>
> mount: mounting /dev/hda1 on /root failed: invalid argument
> mount: mounting /root/dev on /dev/.static/dev failed: no such file or directory
> mount: mounting /sys on /root/sys failed: no such file or directory
> mount: mounting /proc on /root/proc failed: no such file or directory
> target filesystem doesn't have /sbin/init
>
> busybox v1.01 (debian 1:1/01-4ubuntu3) built-in shell (ash)
> enter 'help' for a list of built-in commands
>
> /bin/sh: can't acces tty; job control turned off
>
> wasn't able to find my files when I booted up with the ubuntu live CD... :|
>
> On 23/03/07, Martin Bähr <mbaehr at email.archlab.tuwien.ac.at> wrote:
> > On Fri, Mar 23, 2007 at 09:47:32PM +1200, Cheng Eu Chew wrote:
> > > I just restarted my computer as it was getting a little laggy for some
> > > reason and when it starts up again, when trying to mount the root
> > > filesystems it comes up with this error:
> > >
> > > BusyBox v1.01 (Debian 1:1.01-4ubuntu3) Built-in shell (ash)
> > > Enter 'help' for a list of built-in commands.
> > >
> > > /bin/sh: can't access tty; job control turned off
> > > / #
> >
> > ignore that tty error, that's just a sideeffect, the real problem is
> > that mounting root failed, and the question is why.
> >
> > my suspicion is that the filesystem check failed. you should be able to
> > see the errors before you got to that shell.
> >
> > normally it is something like:
> > automatic fsck failed, try it manually.
> >
> > if that is the case then that is what you should do.
> > find out for which device the fsck failed and run fsck on it in that shell.
> > depending on the severity of the problem, it may ask you a few
> > questions. generally it doesn't make any sense to answer anything but
> > yes, however: if the case is really bad then you may loose data.
> >
> > do you have a backup? if yes, then proceed, if no then is there anything
> > of importance on that disk? if yes, boot from a live cd and make a
> > backup of the diskimage before! running any fsck.
> > then run fsck. if you lost important files after the fsck come back here
> > to ask for hints how you might recover them from the backup image.
> >
> > (i had one case where the normal fsck would have wiped the whole disk
> > because the superblock was totally hosed and all directory information
> > was lost but because i had a backupi of the broken diskimage i could try
> > another way which helped me recover 2/3rds of the data.)
> >
> > if the fsck succeeds without to many errors, and most importantly, no
> > files in lost+found then try rebooting.
> >
> > greetings, martin.
> > --
> > cooperative communication with sTeam - caudium, pike, roxen and unix
> > offering: programming, training and administration - anywhere in the world
> > --
> > pike programmer working in new zealand open-steam.org|webhaven.co.nz
> > unix system- bahai.or.at iaeste.(tuwien.ac|or).at
> > administrator (caudium|gotpike).org is.schon.org
> > Martin Bähr http://www.iaeste.or.at/~mbaehr/
> >
>
>
> --
> Cheng Eu Chew
> _________________________________________________
> Email : renedox at gmail.com
> Mobile : +64 21 2989580
>
> _______________________________________________
> AuckLUG mailing list
> AuckLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
>
>
More information about the AuckLUG
mailing list