![]() ![]() ![]() The next screen asks you to select the disk drive/partition: Test Disk Partition Select 2. You can select create and just move ahead with the defaults. If its the first time you’re running this utility, it will give you an option to create a log file on the welcome screen. ![]() You can select the appropriate disk drive that you want to recover files on. In your terminal, simply enter the command testdisk to run the utility and you’ll be greeted with the below prompt. Starting TestDisk and Configuring Where it Runs But if you’re unsure, enter one of the commands: stat -f df -T fdisk -l Fdisk LĮither of the commands above will give you the filesystem type information. You might not need to check for the partition type as the above list covers almost all the major partition types. Testdisk works with the following partition types: Partition Types Testdisk Works With Now that you have the testdisk utility installed, it’s time to use it to recover our deleted files or partitions. Install TestDisk on Fedora sudo dnf install testdisk How To Recover Deleted Files in Linux? Install TestDisk on Arch Linux sudo pacman -S testdisk To know more about the EPEL repository, visit the official page. The EPEL repository is an additional package repository that provides easy access to install packages for commonly used software. You need to also enable/install the EPEL repository. Install TestDisk on Red Hat and CentOS 8 yum install yum update yum install testdisk Install TestDisk on Red Hat and CentOS 7 yum install epel-release yum update yum install testdisk We’re using the apt package manager instead of the apt-get since that’s the new package manager for Ubuntu/Debian. Install TestDisk on Ubuntu/Debian sudo apt update sudo apt -y install testdisk Here, I’ve listed down the distro-specific commands to install testdisk on Linux. The testdisk package is available on all the major Linux distributions and can be easily downloaded with the use of the default package manager. Step 7: Paste the Recovered File to Directory.Step 5: Check the Deleted File Source Directory.Step 4: Select the Deleted File Source Drive Partition.Step 3: Selecting the Partition Table Type.Step 1: Creating TestDisk Data Log File. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |