Results 1 to 6 of 6

Thread: Mount old harddisk (wrong fstype/superblock invalid?)

  1. #1
    Join Date
    Mar 2011
    Beans
    7

    Mount old harddisk (wrong fstype/superblock invalid?)

    Hey everyone.

    Recently my old computer died and I have bought a new one. In order to access the data on my old hard drive I bought a SATA to USB cable on Amazon. I removed the harddrive from my old dead computer and connected it to my new computer. After running

    sudo mount /dev/sdb /media/old

    I was able to acces my old harddisk at /media/old. Whee! Much easier than I'd expected. Now to the problem:

    I was not smart enough to actually backup the content from my old computer to the new one right away. I figured that I had solved the problem now and could do it later. Second time I tried it was not as easy (I have upgraded to 11.10 in between, maybe thats the reason? ). Now running the same command gives:

    mount: you must specify the filesystem type

    Trying to specify:

    sudo mount -t ext2 ext/dev/sdb /media/old

    gives this:

    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

    To be honest I'm not quite sure of the filesystem type on the old harddrive, but ext3 and ext4 gives the same result. Is there any way to find out?

    If I try to run

    sudo fsck /dev/sdb

    I get

    fsck.ext2: Superblock invalid, trying backup blocks...
    fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb

    Is the problem that my superblock is invalid (whatever that means). Can anyone help me recover my old data?

    On beforehand thanks

    Vass

  2. #2
    Join Date
    Jul 2006
    Beans
    1,876
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount old harddisk (wrong fstype/superblock invalid?)

    With the drive connected what does
    Code:
    sudo fdisk -lu
    print out?

  3. #3
    Join Date
    Mar 2011
    Beans
    7

    Re: Mount old harddisk (wrong fstype/superblock invalid?)

    sudo fdisk -lu gives this (only for /dev/sdb):

    Disk /dev/sdb: 160.0 GB, 160041884672 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581806 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0006669a

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 2048 300292095 150145024 83 Linux
    /dev/sdb2 300294142 312580095 6142977 5 Extended
    /dev/sdb5 300294144 312580095 6142976 82 Linux swap / Solaris

  4. #4
    Join Date
    Jul 2006
    Beans
    1,876
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount old harddisk (wrong fstype/superblock invalid?)

    Try this...
    Code:
    sudo mount /dev/sdb1 /media

  5. #5
    Join Date
    Mar 2011
    Beans
    7

    Re: Mount old harddisk (wrong fstype/superblock invalid?)

    Quote Originally Posted by Shazaam View Post
    Try this...
    Code:
    sudo mount /dev/sdb1 /media

    I suppose you mean: sudo mount /dev/sdb1 /media/old?

    In any case I already tried that. No matter which number I put in they all give me

    mount: you must specify the filesystem type

  6. #6
    Join Date
    Jul 2006
    Beans
    1,876
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount old harddisk (wrong fstype/superblock invalid?)

    This might help if I have to leave...
    In terminal-
    Code:
    man mount
    Many ways to mount a partition; by device, type, label, etc.

    ext, ext2, ext3, ext4? Which one was it formatted too?
    Code:
    sudo mount -t ext2 /dev/sdb1 /media/old
    sudo mount -t ext3 /dev/sdb1 /media/old
    sudo mount -t ext3 /dev/sdb1 /media/old

    Here is something to look at later...
    http://www.cyberciti.biz/tips/surviv...-failures.html

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
  •