Now that was cool. My wife went to transfer her pictures from her camera yesterday. She took the SD card out of the camera and plugged it into her netbook. Instead of displaying her folders, it displayed a message telling her the disk was not formatted and giving her an opportunity to do so.
What to do? I tried it on my computer and the same error message appeared. This was not good. Granted, I had already transferred a number of the images at various times. Some are on Facebook, some on Flickr, and some on my hard disk for potential future use. But not all of them, especially a few she had recently taken.
I have one machine running Ubuntu 10.1 so I booted it and tried again. No luck. Same error message.
Google search to the rescue! I located an open source multi-platform application distributed under GNU General Public License that claimed to be able to read an un-mountable disk and recover files. I wnet to http://www.cgsecurity.org/wiki/PhotoRec and downloaded the zip and extracted the files.
After reviewing the documentation found in their Step-by-Step documentation at http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step I found the command line I had to use to run it. The command had to be run from the root at a command prompt in Ubuntu. I am just starting to fiddle with Ubuntu and had no idea how to get to the command prompt. In Windows I just Win+R to open the Run dialog box, type cmd, and press Enter. No such thing in Ubuntu/Linux.
Another Google search revealed that the command mode is called terminal mode and Ctrl+Alt+t would open a window. Following the guidelines in the documentation I found in the extracted folder, I typed:
sudo Downloads/testdisk-6.12/photorec_static
Sudo enables a normal user to run a superuser command in linux. Downloads is the folder I saved the app into. Testdisk-6.12 is the folder the program was extracted into. Photorec_static is the name of the program.
A series of DOS like windows offered me various opportunities to look at all the disks on the system including the one I was unable to read, the SD card. After some poking around I was able to recover hundreds of pictures saving them to the hard drive. Interesting that each image had two sizes, the thumbnail size used when looking in a folder from explorer in Windows and the full sized image.
I was then able to reformat the SD card and copy the recovered images (large ones only) onto the disk. This same method could be used to find data on a badly behaving hard disk drive, a flash drive, or any other mountable disk. Real CSI stuff!
By the way, you do not have to use Ubuntu. The app works in a variety of operating systems including Windows.