Announcement

Collapse
No announcement yet.

File System Error - /bin/sh:can't access tty;job control turned off [/b]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    File System Error - /bin/sh:can't access tty;job control turned off [/b]

    We get the following message when attempting to boot up a machine that used to work well. I have no idea about what caused this or how to solve the problem except rebuild Linux.

    Boot'Ubuntu ,kernel 2.6.15-23-368'

    root (hd0,2)
    Filesystem type is ext2fs ,partition type Ox83
    Kernel /boot /vmlinuz-2.6.15-23-386 root =/dev/hda 3 ro quite splash
    [linux -bzImage ,setup =0x1c00, size 0x15774d]
    initrd /boot/initrd.img-2.6.15-23-386
    [linux .inited @ 1e883000,oxbacaofbytes]
    save defult
    boot
    uncompressing Linux......Ok,booting the kernel.
    [4294670.105000]PCI: Cannot allocate resource region 4 of device 0000:00:1d.0
    mount:Mounting /dev/hda3 on /root failed : No such device
    mount:Mounting /root/dev on dev/.static /dev failed : No such file or directory
    mount:Mounting /sys on /root/sys failed :No such filr or directory
    mount :Mounting /dev/hda3 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 access tty;job control turned off


    Suggestions on how to solve this problem would be much appreciated.

    Ray

    #2
    Re: File System Error - /bin/sh:can't access tty;job control turned off [/b]

    I think this is where the real problem begins:

    Originally posted by Rayson

    mount:Mounting /dev/hda3 on /root failed : No such device
    mount:Mounting /root/dev on dev/.static /dev failed : No such file or directory
    mount:Mounting /sys on /root/sys failed :No such filr or directory
    mount :Mounting /dev/hda3 on/root /proc failed: No such file or directory
    Target filesystem doesn't have /sbin/init
    It begins to boot, starts up the kernel, and then can't find the filesystem on /dev/sda3. You can completely disregard the PCI bus "resource allocation" error -- that is an artifact.

    /dev/hda3 is your root partition (same as (hd0,2)).

    If you have, or can make from a downloaded ISO, a Linux Live CD, and boot that. With the hard drive still unmounted, you can run fsck on it, but I don't think this is a mere filesystem error. Then you can mount your hard drive and examine the /etc/fstab file, to see if there's some problem with the designation of partitions.

    Have you made any hardware changes lately -- added or removed a hard drive, an optical drive, or anything like that?

    Comment


      #3
      Re: File System Error - /bin/sh:can't access tty;job control turned off [/b]

      Thanks -

      After experiencing the file system problem, I was going to reinstall 6.06 however this laptop has a faulty CD drive. I tried to put a working drive back into the laptop but it doesn't work so it appears that until I can get a working drive into this machine, there is nothing I can do. Does that seem correct?

      Any additional ideas?

      Ray

      Comment

      Working...
      X