Linux tip, Fedora tip / howto: Recovering pictures from a digital camera memory card
Try my online puzzle page with Calcudoku, Killer Sudoku and online Sudoku.
Recovering pictures from a digital camera memory cardApparently digital cameras can sometimes mess up the file system on the memory card used to store the pictures. This happened to me on an 8MB SmartMedia card inside an "ancient" (8 years old!) Agfa ePhoto 1680 digital camera.
It turns out to be relatively easy to recover most of the pictures on the card, even when the camera says it can no longer read it, and presents you with the question (as in my case): "Format? Yes/No".
You need a multimedia card reader to read the card, like the Hama 35in1 card reader that I'm using.
Note: a much better recovery tool is photorec, part of the testdisk package (yum install testdisk).
For reference, I'm leaving the (outdated) info below:
Now all contents of the memory card have been saved into a file (called memcard.dat). If the last step produced an error, it is likely that the memory card is physically broken, and the pictures can not be recovered.
Next, we need a tool to extract JPEG images (assuming your camera stores its pictures as JPEG files, which most cameras do) from the memcard.dat file.
For this I used a tool called jpeg-recover: download and install it (decompress using tar jxvf, then in the jpeg-recover directory type make). Run it using:
I've heard of cases of jpeg-recover crashing, which is fixable, let me know if this happens.
Send me your comments!Something didn't work as expected? You'd like to add some useful info to this tip? Use the form below to send me your comments. (Don't forget to fill out the super-lame CAPTCHA below..)