Page 1 of 6 123 ... LastLast
Results 1 to 10 of 53

Thread: sda1 corrupted and unmountable

  1. #1
    Join Date
    Apr 2009
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    sda1 corrupted and unmountable

    After a restart yesterday, my computer doesn't boot correctly...
    After GRUB, it prints
    Code:
    mount: mounting /dev on /root/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.
    No init found. Try passing init=bootarg.
    
    BusyBox v1.10.2 (Ubuntu 1:1.10.2-2ubuntu7) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    (initramfs)_
    and falls to the busybox prompt...

    I booted a 10.10 live cd.

    Here is the output of fdisk -l for /dev/sda
    Code:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000e45d1
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        8924    71681998+  83  Linux
    /dev/sda2            8925        9179     2048287+  82  Linux swap / Solaris
    /dev/sda3   *        9180       46149   296961525    7  HPFS/NTFS
    /dev/sda4           46150       60801   117692190    7  HPFS/NTFS
    sda1 is the root filesystem (Ubuntu 10.04)
    sda2 is the swap
    sda3 is a Win7 NTFS partition
    sda4 is an NTFS partition with media files.
    I can normally access sda2-4.


    The problem is when i try
    Code:
    sudo e2fsck /dev/sda1
    with any switch it prints:
    Code:
    ubuntu@ubuntu:~$ sudo e2fsck /dev/sda1
    e2fsck 1.41.12 (17-May-2010)
    e2fsck: Device or resource busy while trying to open /dev/sda1
    Filesystem mounted or opened exclusively by another program?
    When i try to mount the disk, the console just hangs.(it doesn't become unresponsive, the cursor just goes to the next line and doesn't do anything else) I tried leaving it for about 15 minutes in case it was checking the disk but nothing happened.

    I don't care about restoring the system (i was gonna reformat anyway), all I want is access the data so i can backup (mainly my firefox profile).
    Last edited by TRouBLe32; October 20th, 2010 at 09:44 PM.

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: sda1 corrupted and unmountable

    If you are still booted up into the livecd, post the output of these commands:

    Code:
    sudo lsof /dev/sda1
    Code:
    mount
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Apr 2009
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: sda1 corrupted and unmountable

    Code:
    ubuntu@ubuntu:~$ sudo lsof /dev/sda1
    lsof: WARNING: can't stat() tmpfs file system /cow
          Output information may be incomplete.
    lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/ubuntu/.gvfs
          Output information may be incomplete.
    Code:
    ubuntu@ubuntu:~$ mount
    aufs on / type aufs (rw)
    none on /proc type proc (rw,noexec,nosuid,nodev)
    none on /sys type sysfs (rw,noexec,nosuid,nodev)
    fusectl on /sys/fs/fuse/connections type fusectl (rw)
    none on /dev type devtmpfs (rw,mode=0755)
    none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    /dev/sr0 on /cdrom type iso9660 (ro,noatime)
    /dev/loop0 on /rofs type squashfs (ro,noatime)
    none on /sys/kernel/debug type debugfs (rw)
    none on /sys/kernel/security type securityfs (rw)
    none on /dev/shm type tmpfs (rw,nosuid,nodev)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
    none on /var/run type tmpfs (rw,nosuid,mode=0755)
    none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: sda1 corrupted and unmountable

    Well it's not mounted. Try this:

    Code:
    sudo fsck -fC /dev/sda1
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #5
    Join Date
    Apr 2009
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: sda1 corrupted and unmountable

    Exactly the same thing as before:

    Code:
    ubuntu@ubuntu:~$ sudo fsck -fC /dev/sda1
    fsck from util-linux-ng 2.17.2
    e2fsck 1.41.12 (17-May-2010)
    fsck.ext4: Device or resource busy while trying to open /dev/sda1
    Filesystem mounted or opened exclusively by another program?

  6. #6
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: sda1 corrupted and unmountable

    That's so strange. Try rebooting and then booting on the livecd again.

    If that doesn't work can you see if you can boot into recovery mode from the grub menu (hold down shift) and drop to a root prompt to run fsck.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  7. #7
    Join Date
    Apr 2009
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: sda1 corrupted and unmountable

    Quote Originally Posted by CharlesA View Post
    That's so strange. Try rebooting and then booting on the livecd again.

    If that doesn't work can you see if you can boot into recovery mode from the grub menu (hold down shift) and drop to a root prompt to run fsck.
    Same thing.

    Tried lsof/fsck/mount. the same thing

    Tried the command promt of GRUB but there's no fsck.

  8. #8
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: sda1 corrupted and unmountable

    you'd have to select recovery mode and then select "drop to a root shell" or something like that.

    You should have been able to run fsck from there.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  9. #9
    Join Date
    Apr 2009
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: sda1 corrupted and unmountable

    GRUB already has an entry for grub-rescue (with the parameter single instead of quiet and splash) but it does the same thing..
    All i get is a busybox prompt.

  10. #10
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: sda1 corrupted and unmountable

    I'd say it's hosed. You could try putting the drive in another machine and trying to run fsck from that machine.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Page 1 of 6 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •