0

I'm trying to recover data after formatting my hdd. I installed ddrescue-gui and performed the following tasks:

  1. Select source (formatted hdd), no log, destination (img file inside separate hdd) and set to fastest recovery then click start

enter image description here

  1. Went into Computer and found that the source drive was now unmounted. So I went into Disks to see if I could mount it, but could not because it was now two loop devices:

enter image description here

  1. So I tried various terminal commands to no avail, getting errors such as:

    sudo mount -t ntfs "/media/user/e3cfeead-6e65-4af5-beb8-bbfa12fbdaa5/1tb.img" /dev/loop0

    NTFS signature is missing. Failed to mount '/dev/loop2': Invalid argument The device '/dev/loop2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

  2. The file is currently sitting on a separate hdd and the 1tb hdd I'm trying to recover is inaccessible:

enter image description here

I'm new to this whole scene so I'm really confused at the moment. No idea why my drive got unmounted, converted to a "loop device" (whatever that is) and why I can't just get my data and then mount my device again. Is there a correct way of going about this?

I checked the official Launchpad GUI site but I didn't find any tutorials or guides or anything useful.

bumped to the homepage by Community 2 hours ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

0

You have a image of a filesystem (1tb.img) inside a filesystem (/dev/sdf of /media/user/e...aa5).

try

sudo mount  "/media/user/e3cfeead-6e65-4af5-beb8-bbfa12fbdaa5/1tb.img" /mnt

or

sudo mount -o loop "/media/user/e3cfeead-6e65-4af5-beb8-bbfa12fbdaa5/1tb.img" /mnt
  1. mount should find filesystem type.
  2. add -r after mount to mount your image read only.

EDIT:

  1. use /mnt (not /media/user/XXYY) as mount point.
  2. sudo mount -o ro,loop -t ntfs /media/user/e3../1tb.img /mnt
  3. try fstyp (or fstype) to check which filesystem

    fstype /media/user/e3cfeead-6e65-4af5-beb8-bbfa12fbdaa5/1tb.img
    
  4. analyse file using ... file

    file /media/user/e3cfeead-6e65-4af5-beb8-bbfa12fbdaa5/1tb.img
    
  • both commands: sudo mount "/media/user/e3cfeead-6e65-4af5-beb8-bbfa12fbdaa5/1tb.img" "/media/user/B5C4-62C3" or sudo mount -o loop "/media/user/e3cfeead-6e65-4af5-beb8-bbfa12fbdaa5/1tb.img" "/media/user/B5C4-62C3" result: mount: block device /media/user/e3cfeead-6e65-4af5-beb8-bbfa12fbdaa5/1tb.img is write-protected, mounting read-only mount: you must specify the filesystem type with -r: mount: you must specify the filesystem type with -t ntfs: NTFS signature is missing. Failed to mount '/dev/loop2': Invalid argument The device '/dev/loop2' doesn't seem to have a... – Hooli Feb 15 '16 at 13:35
  • @Hooli see my edit – Archemar Feb 15 '16 at 16:18
  • for #1 and #2 I get the same errors mentioned above, for #3 I get fstype: command not found, for #4 I get /media/user/e3cfeead-6e65-4af5-beb8-bbfa12fbdaa5/1tb.img: x86 boot sector – Hooli Feb 15 '16 at 16:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.