Tutorials  /  Linux Basics

How to Install TestDisk on Linux and Recover Deleted Files Easily

Ccentron Redaktion · January 2025 ·6 min read ·Linux Basics, Tutorial

Ever stuck in a situation where you accidentally deleted a file? In this tutorial, we’ll go over how to install TestDisk in Linux and recover deleted files.

In this tutorial, I’ll be using an Ubuntu server to work with, but even if you are on any other distribution, you can follow the same steps. The only thing that will be different is the package manager used for installation.

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. Here, I’ve listed down the distro-specific commands to install testdisk on Linux.

Install TestDisk on Ubuntu/Debian

Console
sudo apt update 
sudo apt -y 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 Red Hat and CentOS 7

Console
yum install epel-release
yum update
yum install testdisk

Install TestDisk on Red Hat and CentOS 8

Console
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum update
yum install testdisk

You need to also enable/install the EPEL repository. The EPEL repository is an additional package repository that provides easy access to install packages for commonly used software.

To know more about the EPEL repository, visit the official page.

Install TestDisk on Arch Linux

Console
sudo pacman -S testdisk

Install TestDisk on Fedora

Console
sudo dnf install testdisk
VM

Matching infrastructure at centron

No hardware needed to follow along: ccloud³ VMs with full root access start at €3.12 per month, billed by the hour and ready in seconds. Rent a cloud server →

How To Recover Deleted Files in Linux?

Now that you have the testdisk utility installed, it’s time to use it to recover our deleted files or partitions.

Partition Types TestDisk Works With

Testdisk works with the following partition types:

Testdisk works with
Code
stat -f 
df -T
fdisk -l
Fdisk l

Either of the commands above will give you the filesystem type information.

1. Starting TestDisk and Configuring Where it Runs

In your terminal, simply enter the command testdisk to run the utility and you’ll be greeted with the below prompt. You can select the appropriate disk drive that you want to recover files on. Testdisk welcome screen log

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 create and just move ahead with the defaults.

The next screen asks you to select the disk drive/partition:Test disk partition select

2. Selecting and Analyzing the Partition

Once you’ve selected the right partition, you will be asked to select the partition type.Testdisk partition type selection screen

It should auto-select the correct partition type, but if it doesn’t, make sure you select the correct type. Once that’s done, you’ll be given a menu of options out of which we need to go ahead with “Analyse” to search for lost data. Test disk analyse partitions

You can go with “Quick Search” or “Deeper Search” as it fits your needs and let the search run until it has scanned all the inodes. Testdisk analyse screen

3. Scanning the Partition for Deleted Files

Analyse specific partitionsSelect the correct partition, and let the utility scan the entire drive. Within some time, you’ll get the list of files within the partition. All the files that are highlighted in “red” or any color or text style are the files that have been recovered by the TestDisk utility. To restore those files, simply press the letter "C". Testdisk working

Conclusion

Well, there you have it. You’ve learned how to recover deleted files in Linux! Go ahead and explore this utility more on a virtual machine to get a hang of it before using it in real-life situations so you know exactly how to work with it on an advanced scale.

We hope you’ve understood the use of the testdisk utility in Linux and know how to use it now. If you have any questions, let us know in the comments below.

%3Cscript%20type%3D%22application%2Fld%2Bjson%22%3E%0D%0A%7B%0D%0A%20%20%22%40context%22%3A%20%22https%3A%2F%2Fschema.org%22%2C%0D%0A%20%20%22%40type%22%3A%20%22HowTo%22%2C%0D%0A%20%20%22name%22%3A%20%22How%20to%20Install%20TestDisk%20in%20Linux%20and%20Recover%20Deleted%20Files%22%2C%0D%0A%20%20%22description%22%3A%20%22This%20guide%20explains%20how%20to%20install%20TestDisk%20on%20major%20Linux%20distributions%20and%20how%20to%20use%20it%20to%20recover%20deleted%20files%20or%20partitions%20from%20a%20Linux%20system.%22%2C%0D%0A%20%20%22inLanguage%22%3A%20%22en-US%22%2C%0D%0A%20%20%22tool%22%3A%20%5B%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Terminal%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22TestDisk%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22apt%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22yum%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22pacman%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22dnf%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22stat%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22df%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTool%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22fdisk%22%0D%0A%20%20%20%20%7D%0D%0A%20%20%5D%2C%0D%0A%20%20%22supply%22%3A%20%5B%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSupply%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Linux%20system%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSupply%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Deleted%20files%20or%20a%20partition%20to%20recover%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSupply%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22User%20account%20with%20administrative%20privileges%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSupply%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Separate%20target%20directory%20for%20copied%20recovered%20files%22%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSupply%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Optional%3A%20EPEL%20repository%20for%20Red%20Hat%20and%20CentOS%22%0D%0A%20%20%20%20%7D%0D%0A%20%20%5D%2C%0D%0A%20%20%22step%22%3A%20%5B%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Install%20TestDisk%20on%20Linux%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Install%20TestDisk%20on%20Ubuntu%20or%20Debian%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Update%20the%20package%20sources%20with%20sudo%20apt%20update.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Install%20TestDisk%20with%20sudo%20apt%20-y%20install%20testdisk.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTip%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Ubuntu%20and%20Debian%20use%20apt%20as%20the%20modern%20package%20manager.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Install%20TestDisk%20on%20Red%20Hat%20and%20CentOS%207%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Install%20the%20EPEL%20repository%20with%20yum%20install%20epel-release.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Update%20the%20package%20sources%20with%20yum%20update.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Install%20TestDisk%20with%20yum%20install%20testdisk.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Install%20TestDisk%20on%20Red%20Hat%20and%20CentOS%208%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Install%20the%20EPEL%20repository%20with%20yum%20install%20https%3A%2F%2Fdl.fedoraproject.org%2Fpub%2Fepel%2Fepel-release-latest-8.noarch.rpm.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Update%20the%20package%20sources%20with%20yum%20update.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Install%20TestDisk%20with%20yum%20install%20testdisk.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTip%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22The%20EPEL%20repository%20provides%20access%20to%20additional%20commonly%20used%20software%20packages.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Install%20TestDisk%20on%20Arch%20Linux%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Install%20TestDisk%20on%20Arch%20Linux%20with%20sudo%20pacman%20-S%20testdisk.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%225%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Install%20TestDisk%20on%20Fedora%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Install%20TestDisk%20on%20Fedora%20with%20sudo%20dnf%20install%20testdisk.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Check%20the%20partition%20type%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Identify%20the%20filesystem%20or%20partition%20type%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22If%20needed%2C%20check%20filesystem%20or%20partition%20information%20with%20stat%20-f%2C%20df%20-T%2C%20or%20fdisk%20-l.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTip%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22In%20many%20cases%2C%20TestDisk%20automatically%20detects%20the%20correct%20partition%20type.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Recover%20deleted%20files%20with%20TestDisk%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Start%20TestDisk%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Start%20TestDisk%20from%20the%20terminal%20by%20running%20testdisk.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Select%20the%20disk%20drive%20where%20you%20want%20to%20recover%20deleted%20files.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Create%20a%20log%20file%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22On%20the%20welcome%20screen%2C%20choose%20Create%20to%20create%20a%20log%20file%20if%20this%20is%20your%20first%20time%20running%20TestDisk.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTip%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Continue%20with%20the%20default%20settings%20unless%20you%20have%20specific%20requirements.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Select%20the%20partition%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Select%20the%20correct%20partition%20that%20previously%20contained%20the%20deleted%20files.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Confirm%20the%20partition%20type%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Confirm%20the%20automatically%20detected%20partition%20type%20or%20select%20the%20correct%20type%20manually%20if%20TestDisk%20does%20not%20detect%20it%20correctly.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%225%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Analyze%20the%20partition%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Choose%20Analyse%20from%20the%20menu%20to%20search%20for%20lost%20data.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Run%20Quick%20Search%20or%20Deeper%20Search%20depending%20on%20your%20recovery%20needs.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTip%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%223%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Quick%20Search%20is%20useful%20for%20fast%20scans%2C%20while%20Deeper%20Search%20performs%20a%20more%20thorough%20search%20for%20lost%20data.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%226%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Scan%20the%20partition%20for%20deleted%20files%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Let%20TestDisk%20scan%20the%20selected%20partition%20or%20drive%20until%20it%20displays%20a%20list%20of%20files.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%227%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Copy%20recovered%20files%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Select%20the%20files%20found%20by%20TestDisk%20and%20press%20C%20to%20copy%20them%20to%20another%20directory.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToTip%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%222%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Avoid%20saving%20recovered%20files%20to%20the%20same%20drive%20you%20are%20recovering%20from%20to%20reduce%20the%20risk%20of%20overwriting%20data.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%22%40type%22%3A%20%22HowToSection%22%2C%0D%0A%20%20%20%20%20%20%22name%22%3A%20%22Work%20safely%20with%20TestDisk%22%2C%0D%0A%20%20%20%20%20%20%22position%22%3A%20%224%22%2C%0D%0A%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToStep%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22name%22%3A%20%22Practice%20TestDisk%20in%20a%20test%20environment%20first%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%22itemListElement%22%3A%20%5B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%40type%22%3A%20%22HowToDirection%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22position%22%3A%20%221%22%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22Try%20TestDisk%20in%20a%20virtual%20machine%20first%20to%20become%20familiar%20with%20its%20workflow%20before%20using%20it%20in%20a%20real%20recovery%20scenario.%22%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%5D%0D%0A%20%20%20%20%7D%0D%0A%20%20%5D%0D%0A%7D%0D%0A%3C%2Fscript%3E

Jetzt 200 € Guthaben sichern

Testen Sie Ihr Setup auf ccloud³

Registrieren Sie sich in der ccloud³ und erhalten Sie 200 € Startguthaben für Ihr Projekt – z. B. für eine PostgreSQL-VM mit automatischen Backups.

centron Redaktion Technische Redaktion

Das Redaktionsteam von centron schreibt Anleitungen aus dem Betriebsalltag: getestet auf unserer eigenen Plattform, betrieben im Rechenzentrum in Hallstadt bei Bamberg.

Kategorie Linux Basics
Teilen
Noch offene Fragen?

Unser Team hilft Ihnen bei Ihrem konkreten Setup weiter – von Menschen, die die Plattform selbst betreiben.

War dieses Tutorial hilfreich?

Ihre Antwort wird anonym gespeichert und hilft uns, die Tutorials zu verbessern.

Kommentare

Noch keine Kommentare – stellen Sie die erste Frage zu diesem Tutorial.

Zum Kommentieren anmelden

Kommentare stehen centron-Kunden offen. Melden Sie sich in Ihrem Konto an, um eine Frage zu diesem Tutorial zu stellen.

Weiterlesen

Das könnte Sie auch interessieren

Jetzt kostenlos anfangen

Melden Sie sich an und erhalten Sie in den ersten 60 Tagen ein Guthaben von 200 € bei centron.

Dieses Werbeangebot gilt nur für neue Konten. Angebot ausschließlich für Gewerbetreibende.

Jetzt loslegen Sales kontaktieren