Page 1 of 2 12 LastLast
Results 1 to 10 of 53

Thread: sda1 corrupted and unmountable

Hybrid View

  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
    Oct 2010
    Beans
    2

    Re: sda1 corrupted and unmountable

    Quote Originally Posted by TRouBLe32 View Post
    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...

    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).

    Hi i had the same problem yesterday, the fsck command didnt worked too, in my case the problem was that ubuntu live cd was auto mounting the partinion, so it fsck didnt worked.

    But it worked when i tryed fsck command in slax.

    Thx to tensorpudding from #ubuntu channel for helping me out to solve the problem

  8. #8
    Join Date
    Oct 2010
    Beans
    8

    Re: sda1 corrupted and unmountable

    Quote Originally Posted by KainBox View Post
    Hi i had the same problem yesterday, the fsck command didnt worked too, in my case the problem was that ubuntu live cd was auto mounting the partinion, so it fsck didnt worked.

    But it worked when i tryed fsck command in slax.

    Thx to tensorpudding from #ubuntu channel for helping me out to solve the problem
    That fixed it! Thanks so much, such a simple workaround when you know how!

  9. #9
    Join Date
    Apr 2006
    Beans
    348
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: sda1 corrupted and unmountable

    Slax did the trick. You guys rock!!

  10. #10
    Join Date
    Mar 2009
    Beans
    1

    Re: sda1 corrupted and unmountable

    tried from slax, worked perfectly! good thing i have several flash drives to just throw stuff on!


Page 1 of 2 12 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
  •