TestDisk is free and open-source data recovery software. It was designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting your Partition Table). It supports DOS, Windows, Linux, and Mac operating systems and works with FAT, ext2/ext3, and NTFS file structures.
TestDisk queries the BIOS or the operating system in order to find the hard disks and their characteristics (LBA size and CHS geometry). TestDisk does a quick check of your disk’s structure and compares it with the partition table for entry errors. If the table has entry errors, TestDisk can repair them.
Features
- Fix partition table, recover deleted partition
- Recover FAT32 boot sector from its backup
- Rebuild FAT12/FAT16/FAT32 boot sector
- Fix FAT tables
- Rebuild NTFS boot sector
- Recover NTFS boot sector from its backup
- Fix MFT using MFT mirror
- Locate ext2/ext3 Backup SuperBlock
- Undelete files from FAT, NTFS and ext2 filesystem
- Copy files from deleted FAT, NTFS and ext2/ext3 partitions
TestDisk comes bundled with another tool called Photorec. You can download TestDisk from http://www.cgsecurity.org/wiki/TestDisk_Download

