

You must reboot for the change to take effect. For the changes to take effect, TestDisk will prompt you to reboot your system. Click the write option for the Testdisk to write the partition table. Choose the Proceed button to see a list of available partitions and press ENTER. *=Primary bootable P=Primary L=Logical E=Extended D=Deleted The error message will be displayed if no bootable partitions are found on the disk. # rpm -qi testdisk Install TestDisk on Fedora and Arch Linux Run the following rpm command to confirm that Testdisk is installed and to reveal more data about the TestDisk tool. To install TestDisk, enable the EPEL repository and follow the installation instructions. $ sudo dpkg -l testdisk Install TestDisk on RHEL and CentOS Execute the dpkg command to verify that Testdisk is installed and to show more details. To begin, update the system packages and install TestDisk as directed. We can use the command below to run testdisk.Most Linux distributions have the package TestDisk available for installation from the default system repositories using the default package manager, as seen below. To verify the installation: $ testdisk -version TestDisk 7.1, Data Recovery Utility, July 2019 Christophe GRENIER Version: 7.1 Compiler: GCC 9.2 ext2fs lib: 1.46.3, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none, curses lib: ncurses 6.1 OS: Linux, kernel 5.13.0–28-generic (#31-Ubuntu SMP Thu Jan 13 17:41:) x86_64 $ sudo apt update $ sudo apt install testdisk For other operating systems, you can download the files from the official website. There are many alternatives available in the market like EasyUs and Acronic, but most of the time Testdisk is sufficient. Testdisk is free, readily available, user-friendly, and compactable with different partitions.

Testdisk is a powerful, open-source tool that can scan and repair disk partitions. Seeing the peril of foolish mortals like us, the Lord hath sent a miracle. That would have been too easy, wouldn’t it? You find yourself stuck in denial, anger, and depression as you pray to the heavens for salvation. You hastily check the trash to find it more empty than your wallet. You accidentally deleted an important file.
