For making the image, ddrescue is a lot better suited than dd. Basically, it does the same thing when everything goes right, but is designed specifically for when things aren't ideal. I usually use it for recovering data of failing hard drives. For the best performance in the case of error retries, make sure to match the sector size with the physical media itself.<br>
<br><div class="gmail_quote">On Sun, Feb 8, 2009 at 6:31 PM, Lachniet, Mark <span dir="ltr"><<a href="mailto:mlachniet@analysts.com">mlachniet@analysts.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a software program - "DataLifter Digital Companion" that can<br>
recover images from flash cards - even partial and deleted ones. It's a<br>
forensics tool. However, it has to be able to read the card. For free<br>
you might be able to image it on a linux box using dd and then use<br>
foremost to carve the images off. Even if the FAT is messed up you<br>
still might have some luck that way.<br>
<br>
I'd be willing to try to help if its important, if you can get me an<br>
image of the flash drive, for example doing something like:<br>
<br>
Linux> dd if=/dev/flash0 of=flashcard.img bs=512<br>
<br>
MAKE SURE YOU KNOW WHAT YOU ARE DOING!!! IF YOU REVERSE THIS YOU'LL<br>
DELETE YOUR CARD BY COPYING THE WRONG WAY!<br>
<br>
The if (infile) is made up for demonstrative purposes, you'll have to<br>
see what your system recognizes. Then use foremost<br>
<a href="http://sourceforge.net/projects/foremost/" target="_blank">http://sourceforge.net/projects/foremost/</a> by fiddling with the config<br>
file to enable JPG files and using the image as a source.<br>
<font color="#888888"><br>
Mark Lachniet<br>
Solutions Architect - Security<br>
Analysts International<br>
3101 Technology Blvd. Suite A<br>
Lansing, MI 48910<br>
(517) 336-1004 (office)<br>
<a href="mailto:mlachniet@analysts.com">mlachniet@analysts.com</a><br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:linux-user-bounces@egr.msu.edu">linux-user-bounces@egr.msu.edu</a><br>
[mailto:<a href="mailto:linux-user-bounces@egr.msu.edu">linux-user-bounces@egr.msu.edu</a>] On Behalf Of Stanley C. Mortel<br>
Sent: Sunday, February 08, 2009 5:51 PM<br>
To: GLLUG<br>
Subject: [GLLUG] SD card error<br>
<br>
A friend gave me an SD card with pictures from a trip to Peru on it. He<br>
has been unable to read the card. Took it to Ritz Camera and they<br>
couldn't read it. My printer says "Error on card" when it tries to read<br>
it. Anyone know of any tricks or more advanced ways to try to recover<br>
the pictures from this card?<br>
<br>
Stan<br>
<br>
<br>
_______________________________________________<br>
linux-user mailing list<br>
<a href="mailto:linux-user@egr.msu.edu">linux-user@egr.msu.edu</a><br>
<a href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user" target="_blank">http://mailman.egr.msu.edu/mailman/listinfo/linux-user</a><br>
<br>
_______________________________________________<br>
linux-user mailing list<br>
<a href="mailto:linux-user@egr.msu.edu">linux-user@egr.msu.edu</a><br>
<a href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user" target="_blank">http://mailman.egr.msu.edu/mailman/listinfo/linux-user</a><br>
</div></div></blockquote></div><br>