Open Source Tools TestDisk Data Recovery method _ Open Source Tools

Source: Internet
Author: User
Tags testdisk

Open Source Tool TestDisk Data recovery method

Because of the operation error, in the installation of Fedora accidentally format the entire hard drive, resulting in all data loss (later access to relevant information, but the head data loss, sector data is still in), reluctantly installed Fedora, found several data recovery software, Finally, make sure to use open source software that can be run under Linux.

Operating Environment: Fedora X64

Software version: TestDisk 6.14

Fedora/centos installation TestDisk

Sudo Yuminstall TestDisk

Or go to http://www.cgsecurity.org/wiki/TestDisk_Download to download

After installation,

Sudo TestDisk

Running the software

1. Select "Create"

Create a *.log file to store information when running TestDisk.

Select the partition you want to restore the data, if the blogger describes the situation, you can select the entire hard drive, the first item in the figure. (You can use the arrow keys up/down selection); then select "Proceed"


2. Partition type Selection

The general default choice of partition type is TestDisk software automatic detection, generally we use the personal computer are "Intel" or "Mac".

Select good and then press ENTER

3. Select the "analyse" option

TestDisk analyze the structure of the current partition and press ENTER to confirm it.


4. Listing the zoning structure

There are two 1, and the primary partition points to the same section or to the Inaccessible partition table entry. There are 1 available extended partitions, and a missing logical partition.

P represents the primary partition, L represents the logical partition E, which means that the extended partition D represents the partition that has been deleted

Select "Quick Search" for the next step


5. Then the disk analysis, depending on the size of the selected partition time is not the same, the process is relatively long, you can turn over other books, or to eat a meal.


6. Quick Search results as shown

At this point, please note that you press every key, it is likely to press the wrong back to the front of the quick Rearch interface, but also need to wait for the lengthy data analysis process.

Select the partition you want to restore data to. Press "P" (lowercase) to view specific files under the partition

Press ENTER to proceed to the next step


7. If there are missing partitions, such as the first in the figure below.


8. Continue to choose "Deeper Search"

Wait for analysis to end

Find the partition where you want to restore the data, press "P" to enter the file list, ":" Select the folder you want to restore, "C (uppercase)" Copy to your address, bloggers copy the data to the hard drive, U disk should be "/media/udisk", Mobile hard disk is "/run/media/disk"

When you have finished copying all the data you want to recover, press "Q" to exit the program.

Note: Since there is no screenshot of the main reply data, all the pictures are from the official website.

If there is no detail in the text, the small partners can go to the official website to refer to the Government tutorial (http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step)

Complete the full text.

This article is purely to share a method of data recovery, language skills are limited, if there is a wrong place for advice, I will promptly correct. Thank you.

April 17, 2014

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.