[H-GEN] file recovery tools

Peter Arnold arnoldpj at optushome.com.au
Sun Dec 28 18:24:44 EST 2003


Hello all,
I need some assistance recovering files from a corrupt compact flash card.

A little back ground: I have a compact flash card in my newly acquired digital camera aand after taking lots of photos over several days I found the camera saying "Memory card error", "Unidentified Image" and "Corrupt data". Now after some googling I believe this sort of problem occurs if you turn the camera off before it has finished saving to the card. Being a digital camera newbie this is quite likely what I have done... so as a warning to others... give your camera some time after taking a photo before turning it off.

Anyway, more googling tells me recovery is a *simple* process of:
1. get an image of your CF card
2. snuffle through the image and find jpeg start and end markers
3. save them to file

OK, I've achieved 1 by using a compact flash card reader and dd(ing) to a file ala dd if=/dev/sda1 of=cflash.image.

2 and 3 are posing a problem. What do you use to "snuffle" through a image file and subsequently save chunks with?

Where can I find what start and end markers are for jpeg, would that be in /etc/file?

Thanks

-- 
Peter Arnold
+-----------------------------------+-----------------+
| mailto:arnoldpj at optushome.com.au  | To err is human |
| Brisbane, Qld, Australia          | To moo bovine.  |
+-----------------------------------+-----------------+




More information about the General mailing list