3

I know this question has been asked before, but following those answers does not seem to work for me.

I have created an image of a USB stick this is on my laptop harddrive. How do I mount this image?

The command I used to create the image was:

ddrescue --no-split /dev/sdb usb_recovered usb_recovery_log

What am I supposed to do next? Mount it? Fix it then mount it? Mount it then fix it? And how?

UPDATE:

What I want to recover are the files in the image. How? I don't know as I have tried testdisk and it can't find partitions, and I have tried fdisk and it can't find a partition table in the image either.

oshirowanen
  • 3,977

1 Answers1

1

To recover data from a carved image of a damaged drive we usually simply load this image to our recovery software.

For Testdisk/Photorec Install testdisk we simply issue the following command

testdisk image.dd  # to recover partitions
photorec image.dd  # to recover single files

Please consult the very nice tutorials from CG Security on further options and steps to take:

Note that you will not be able to recover filenames, permissions and directories from running PhotoRec. It will just give you random numbered files, but with an appropriate extension.

Takkat
  • 142,284
  • Just tried testdisk, and it found no partitions at all. Trying photorec now. – oshirowanen Dec 13 '12 at 11:17
  • Just finished photorec and it recovered 0 files from the usb image created using ddrescue. – oshirowanen Dec 13 '12 at 11:23
  • @oshirowanen: you should then also try with another recovery soft. If the drive was encrypted or completely overwritten you will not be able to recover anything. That's the price we pay for security. – Takkat Dec 13 '12 at 11:36