Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Updated the question. –  oshirowanen Dec 13 '12 at 11:07
add comment

1 Answer

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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