Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

so, my SD card got broken and cannot be read completely (escpacially the directory I want to read from has problems). I was able to create an ISO image of the partition using dd but cannot mount it. Is there a possibility searching for usable files in the image?

Thanks in advance, Wolle

share|improve this question
A filesystem cannot be both ext4 and ISO 9660. And SD cards would certainly never use ISO 9660 regardless. – Ignacio Vazquez-Abrams Jun 27 '13 at 23:54

Technically, your file is not an ISO, but simply an image of an ext4 partition that you have exported as a file with a .iso extension, but remember, it is not actually an iso (iso files are disk images, but not all disk images are iso's).

instead you need to use DD to write the file back out to a volume, and then you will be able to leverage tools like photorec.

I'd recommend using a virtual machine running a linux flavor from live cd, so you can create a virtual hdd file for writing your partition out to, without having to allocate physical storage to the task.

also if you find many of your files unrecoverable from your image, try taking a new image using ddrescue. it takes a very long time, but it can be worth it if your files are valuable enough to you.

share|improve this answer
So there is no way of just reading the raw data of an image and trying to restore files? I'm just thinking, when trying to mount a virtual hdd in a virtual machine, it will fail, too. – WolleTD Jun 28 '13 at 10:24
you don;t have to have the drive mounted in order to use photorec or other file carving/scavenging utilities, but you do need the file converted to a device. thats what writing the image out to a vhd will get you. – Frank Thomas Jun 28 '13 at 13:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .