Data Recovery Tools Homepage
Features and limitations
dr-toolsThere is only dr-fat in that package at this time.
- Recovers data from damaged FAT filesystems.
- Recovers tree structure with names.
- Guesses which files are clean and which are damaged.
- There is a patch below to support dd_rescue bad blocks list.
- Does only support FAT32 at this time.
- Doesn't support damages to system zone and/or file allocation table yet.
- Doesn't support in-place recovery.
- Recovers files big enough to need indirect blocks from a mistakenly formatted ext2/ext3 filesystem.
- Should work to recover erased files, too, but all files with indirect blocks will be "recovered", even if you already have access to them.
- Written in one week-end, do not expect too much ;)
- JPEG parser to find JPEG streams in a flow of data.
- Proved to be useful to recover still pictures of a digital camera.
- Originally developped to get JPEGs from an archive of an unknown type.
I've rewritten jpeg-recover. It is by far better now. There is still room for improvement, but it seems that dr-ext2 doesn't work with some ext2 partitions so I will correct that before. Also note that the long name for '-c' should be '--stdin' and not '--stdout', but I won't post a new version just for that.
I have recently recovered data from a dying hard disk. I have used dd_rescue to make an image of the FAT32 filesystem.
dd_rescue reports error location in KiB, not in filesystem blocks.
So I have done a script you can download to convert dd_rescue logs into a list of blocks in hexadecimal.
To use it you will need the number of sectors preceding the root directory and the number of sectors per block. You can get that info running the first phase of dr-fat, then checking in the file dr-fat_data/logs/fat :
- number of sectors preceding the root directory : line "Début de la racine au secteur".
- sectors per block : line "secteurs par groupe".
To use that script in conjunction with dr-fat, you need a quick and ugly patch to apply against dr-tools v0.3.0. sources.
- Direct ddrescue2groups.sh output to ./badgroups
- Run modified dr-fat
- Manually compare badgroups to files reported in dr-fat_data/logs/damaged_files. All files might not be bad, setting damaged sectors on files (instead of directories) confuses the current algorithm and some files might be mistakenly reported as damaged.