Posted: . At: 8:25 PM. This was 13 years ago. Post ID: 1983
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Testdisk data recovery is very easy indeed.


Testdisk recovering a partition table on a 500GiB hard disk.
Testdisk recovering a partition table on a 500GiB hard disk.

I have recently corrupted a hard disk on my machine by accidentally typing fdisk -I /dev/ads:12 in FreeBSD and overwriting the partition table. Therefore I am using testdisk from http://www.cgsecurity.org. I got this installed on Sabayon by typing emerge testdisk and waiting a couple of minutes. After this, I selected the /dev/sda device and performed a deep search of partitions and I am able to recover my Debian installation. The testdisk software is the best solution for attempting to recover your files that you previously thought were lost.

Get more information from the Wiki website here: http://www.cgsecurity.org/wiki/TestDisk.

Update: I have finished the testdisk operation and I managed to recover my Debian installation on /dev/sda. This shows how good this software is. The two NTFS partitions are damaged and can not be recovered, but the Debian installation is what mattered.

To install testdisk on Ubuntu and Debian, type sudo apt install testdisk.

Recovering a NTFS partition with Intel MBR with Testdisk.
Recovering a NTFS partition with Intel MBR with Testdisk.

Select the disk to be recovered like this.

root@Yog-Sothoth:~# sudo testdisk /dev/sde

This is very useful software, this is able to read Xbox partitions as well, this is interesting.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.