http://www.debianadmin.com/recover-d...-ddrescue.html
You basically create an image file (which I usually append .img to the filename). Then you just run
photorec blah.img and follow the
directions. I usually only try to do a few filetypes at a time. And most of the files will come back without names. I think there are some scripts you can find online that can grab some of the metadata and rename the files for you, but I haven't messed with that. My wife was just happy to have all her photos back... =)
Foremost is a similar tool that you can add some different filetype headers.
The Ubuntu Community has a pretty good write up
here on data recovery. The biggest thing is to get an image of the hard drive and then do all your work from that image because every time you access a failed drive, you risk damaging it more.