Results 1 to 6 of 6

Thread: Error Mounting HDD

  1. #1
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Beans
    19
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Error Mounting HDD

    Hi there,

    Iv have just moved overseas and brought all my old HDDs from home and put them in a new PC. They are all working perfectly apart from one which is failing to mount on Ubuntu.

    The error I receive is as follows.

    Unable to mount Media

    Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,missing codepage or helper program, or other error. In some cases useful info is found in syslog - try dmesg | tail or so

    and dmesg | tail outputs this -

    Code:
    tom@Roach:~$ dmesg | tail
    [  203.989641] EXT3-fs (sda1): using internal journal
    [  203.989645] EXT3-fs (sda1): mounted filesystem with ordered data mode
    [  206.432786] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 768 not in group (block 1793450583)!
    [  206.433050] EXT3-fs (sdb1): error: group descriptors corrupted
    [  560.941805] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 768 not in group (block 1793450583)!
    [  560.942057] EXT3-fs (sdb1): error: group descriptors corrupted
    [  617.751340] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 768 not in group (block 1793450583)!
    [  617.751602] EXT3-fs (sdb1): error: group descriptors corrupted
    [  650.823553] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 768 not in group (block 1793450583)!
    [  650.823814] EXT3-fs (sdb1): error: group descriptors corrupted
    I have had a quick search around the forums and tried one or two suggestions without avail.

    I would really like to recover the data on the hard drive, if possible , so any help would be GREATLY appreciated.

    Thanks, Tom.

    PS on a side note I can access this hard drive on XP Pro using an ext driver, but the whole system crashes if I try to copy/open the files.

  2. #2
    Join Date
    Oct 2006
    Location
    Milton Keynes, UK
    Beans
    1,141
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Error Mounting HDD

    Try running fsck on the drive.
    Linux Registered User #443947 Ubuntu Regestered User #12604

    Hakunamatata ...... No worries !

  3. #3
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Beans
    19
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Error Mounting HDD

    unfortunatley fsck doesnt fix the problem. it out puts errors as follows

    Code:
    tom@Roach:~$ sudo fsck /dev/sdc
    [sudo] password for tom: 
    fsck from util-linux-ng 2.17.2
    e2fsck 1.41.12 (17-May-2010)
    fsck.ext2: Superblock invalid, trying backup blocks...
    fsck.ext2: Bad magic number in super-block while trying to open /dev/sdc
    
    The superblock could not be read or does not describe a correct ext2
    filesystem.  If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
    
    tom@Roach:~$ sudo e2fsck -b 8193 /dev/sdc
    e2fsck 1.41.12 (17-May-2010)
    e2fsck: Bad magic number in super-block while trying to open /dev/sdc
    
    The superblock could not be read or does not describe a correct ext2
    filesystem.  If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
    I dont understand much about blocks and superblocks, so I am a bit lost with this :S

  4. #4
    Join Date
    Apr 2006
    Location
    Brisbane, Australia
    Beans
    19
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Error Mounting HDD

    I just noticed while reading over the errors that it was running fsck.ext2.
    I tried changing it to ext3 and still got errors.

    Code:
    tom@Roach:~$ sudo fsck -t ext3 /dev/sdc1
    fsck from util-linux-ng 2.17.2
    e2fsck 1.41.12 (17-May-2010)
    fsck.ext3: Group descriptors look bad... trying backup blocks...
    fsck.ext3: Bad magic number in super-block when using the backup blocks
    fsck.ext3: going back to original superblock
    fsck.ext3: Device or resource busy while trying to open /dev/sdc1
    Filesystem mounted or opened exclusively by another program?

  5. #5
    Join Date
    Aug 2010
    Location
    USA
    Beans
    17
    Distro
    Ubuntu 10.04 Lucid Lynx

    Talking Re: Error Mounting HDD

    Quote Originally Posted by IcarusR View Post
    Try running fsck on the drive.
    thanks IcarusR becuase without this command, i would have pulled my hair out! i ran in to the initramfs issue (Disk by UUID not detected (initramfs), boot failure) and ran a MBR repair which screwed up GRUB inadvertently.

    By this point my laptop thought I had no OS and I've been running off a live medium trying to access my HDD and all 250gb of it's contents!!!

    But then I found this post since I was having a hard time mounting the filesystem and ran the command and it instantaneously worked!

    so a big thank you for this reply since it saved my @55!

  6. #6
    Join Date
    Oct 2011
    Beans
    11

    Re: Error Mounting HDD

    I was having a similar issue with a sd card it wouldn't mount and kept giving errors as described above.
    I opened the disk management utility and checked the file system which reported back after about 30 seconds that the file system was fine.
    I then re-formatted the drive using the Fat file system which the notes said would make it compatible with all types of system.
    Once formatted I tried the mounting the drive from the disk management utility and it all came to life!

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
  •