

In your case, your partitions will be different from what is displayed below. This will display a list of partitions to choose from. To restore the Linux partition using TestDisk first run. Now, assume your Linux partition table is lost or corrupt. Since testdisk is run from the command line, run the command below to display the partitions on your system. If no suitable package is found for your Linux distribution, download TestDisk from its official site. $ sudo dnf install testdiskįor Arch Linux run: $ sudo pacman -S testdisk Verify TestDisk on CentOS Install TestDisk on Fedora and Arch Linuxįor Fedora systems run. To verify that Testdisk is installed and display more information about the TestDisk tool run the following rpm command.

To install TestDisk, first, enable EPEL repository and then install TestDisk as shown. Verify TestDisk on Ubuntu Install TestDisk on RHEL and CentOS To verify that Testdisk is installed and display more information by running the following dpkg command. To start off, update the system packages and install TestDisk as shown.

The package TestDisk is available to install from the default system repositories in most Linux distribution using the default package manager as shown. In this article, we will show you how to install the TestDisk data recovery utility to recover an unbootable partition on Linux.

