Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I need to recover deleted files from a FAT partition under Linux. I tried to do it with TestDisk and it was ok, but now I need to do it from a partition which has many bad sectors – and I found the bad sectors are only in files.

Those files are not deleted and all software I tried searched the entire partition, not only the free space which has all my deleted files.

I tried to use WinHex many times, but it does not work under Linux or Wine, so what should I try instead?

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, mpy, KronoS, Breakthrough, Mokubai Aug 22 '13 at 19:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Try the GPLv2 PhotoRec/TestDisk tools. It really helped me when I lost some important files.


share|improve this answer

There is no single answer to your problem - you may want to focus more on a strategy for solving your problem, rather then looking for "some software" to get it back for you - particularly as you mentioned the word "Linux".

A possible strategy - if you have the disk space available on a clean disk might be to - 1. Use GNU ddrescue to copy as much of the data as possible off the failing drive to a new image/drive as possible. 2. Make a copy of the new image/drive and try recovery on that. If your attempt fails, make another copy and repeat...

On a clean copy, the first thing I would do is run a chkdsk (or fsck.vfat) to repair the filesystem, and then copy the data. (I expect that the problems you are having will be corrected accessing the available data will be solved with an fsck) If that fails I might try photorec or testdisk or other software. I would not use WINE - either I'd use a PC with Windows or a PC with Linux, but not a PC using Linux pretending to be Windows, as you really want to get as close to the filesystem as possible, and abstraction can only get in the way.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .