

At least initially, it’s a good idea to create the log file as it provides information that might prove useful. The first page of information presented by testdisk describes the tool and displays some options. Make sure you can write in the directory you select to start in. Once the files are successfully restored and verified, they can be moved back to where they belong and have their ownership restored as well. For this reason, I like to start in a directory like /home/recovery.

When you recover deleted files with testdisk, you’re going to end up with the files being restored within the directory form which you started the tool and the files are going to belong to root. If you don’t have sudo access, you’ll get kicked out early in the process, and your logfile, if you chose to create one, will end up with a message like this in it: TestDisk exited normally. Recovering filesįirst of all, you have to be logged in as root or have sudo access to use testdisk. Interestingly, it’s not just a Linux tool but is also available for MacOS, Solaris and Windows as well.ĭocumentation is available at.

Those more familiar with such procedures should find TestDisk a handy tool in performing onsite recovery.Install testdisk with commands like apt install testdisk or yum install testdisk. For those who know little or nothing about data recovery techniques, TestDisk can be used to collect detailed information about a non-booting drive which can then be sent to a tech for further analysis.

Recover FAT32 boot sector from its backup.Fix partition table, recover deleted partition.Partition table recovery using TestDisk is really easy. 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). Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows Server 2016
