About TestDisk
TestDisk is a powerful, open-source tool designed to recover lost partitions and repair damaged file systems. It supports a wide range of file systems, including FAT, NTFS, ext2/3/4, and more. Whether you're a novice or an expert, TestDisk provides intuitive features to restore data from corrupted or accidentally deleted partitions, making it essential for data recovery tasks.
FAQ
You need to extract all the files from the archive before running TestDisk or PhotoRec.
Yes, TestDisk can work with disk images, including forensics images created by EnCase and FTK imager.
If your goal is to recover some precious files and you know where they are, in the advanced menu of TestDisk, select your partition, try to list the content of the filesystem and copy your files. If it doesn't work or if the hard disk is seriously damaged, it's usually better to clone the hard disk first.
By default, TestDisk copies the files in the current folder. For example, look at testdisk-6.11.3/win/ on a Windows computer or testdisk-6.12-WIP.
You can mount the image.dd file using the command 'mount -o loop,ro image.dd directory'. Alternatively, you can rename image.dd to image.img or image.dmg and double-click on the file. You can also specify the image pathname as a parameter to run TestDisk or PhotoRec on the disk image.
For FAT partitions, run 'scandisk c:' or 'chkdsk /f c:' from Windows. For NTFS partitions, run 'chkdsk /f c:' from Windows. For ReiserFS, if the superblock is missing, you can rebuild it with 'reiserfsck --rebuild-sb device'.
For DOS/Win9x, reinstall the system files with 'sys c:'. For Windows 2000/XP/2003, run 'fixmbr' from the Recovery Console and check 'c:\boot.ini'. For Windows Vista/Windows 7, run 'bootrec.exe /fixmbr' from the Recovery Console and check 'c:\boot.ini'. For Linux/FreeBSD, update your '/etc/fstab' to reflect the new partition order and reinstall the multiboot in the Master Boot Record.
TestDisk can undelete files from NTFS, FAT12, FAT16, FAT32, and ext2 filesystems. For ReiserFS, read the ReiserFS file undelete HOWTO. If the system is too badly damaged to be repaired or to allow file undeletion, try PhotoRec.
Alternatives to consider
See all alternativesBadges
Promote TestDisk giving it more exposure, by adding these badges to your website, documentation, or product listing. Each badge links back to TestDisk page on Webfolio.
<a href="https://www.webfolio.to/tools/testdisk?utm_source=badge&utm_campaign=badge" target="_blank" rel="noopener noreferrer"><img src="https://www.webfolio.to/badges/featured_color.svg" alt="Featured on Webfolio" style="max-width: 150px" /></a>
Categories
Claim this tool
Are you the founder? Claim your profile to update details and track views.