Howto Restore your Deleted Files with TestDisk
TestDisk is powerful free data recovery software! It was primarily 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 a Partition Table). Partition table recovery using TestDisk is really easy.
This is a great tools for a “never backup” guys out there. Even better if you accidentally removed all your important pictures. Then this tools allow you to find and restore a part or all of your lost data intact.
# 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/ext4 Backup SuperBlock
# Undelete files from FAT, exFAT, NTFS and ext2 filesystem
# Copy files from deleted FAT, exFAT, NTFS and ext2/ext3/ext4 partitions.
Here is a quick how-to for the very simple to use TestDisk tool! One condition which is TestDisk must be executed with Root access.
Fedora/CentOS/Redhat : yum install testdisk
Ubuntu/debian : sudo apt-get intall testdisk
Just follow the instructions will do, as simple as abc.
Note : If you still cannot find any a option called Deeper Search will also search for FAT32 backup boot sector, NTFS backup boot superblock, ext2/ext3 backup superblock to detect more partitions.