Windows.  Viruses.  Notebooks.  Internet.  office.  Utilities.  Drivers

Report a bug


  • Broken download link File doesn't match description Miscellaneous
send a message

Your computer may malfunction from time to time. The cause can be viral activity, power outage and much more. As a result, it disappears HDD, that is, the system cannot recognize it. Worst of all, the data on the hard drive can also be lost.

If a similar situation occurs, you need to use specialized software for recovering disks and data. One such application is TestDisk. It should be noted that this software is distributed free of charge.

Before using the program, it is recommended to get to know it better. It is also recommended to restore using the instructions. If done right, work hard drive will be restored within half an hour.

What is Test Disk

The TestDisk utility is a program that can find and recover hard drives, boot sectors and data. The program accesses the BIOS in order to find the device connected to the PC. In the same way, the utility determines the CHS geometry and LBA disk size.

The program checks the hard drive for errors. If errors are found in a hard disk partition, the application repairs bad sectors. The application is able to create a new partition table if necessary, or if the old table is not found or is empty. In addition, the utility is able to create a new MBR.

It should be noted that everyone can download the TestDisk program for free. At the same time, it is worth knowing that the application has open source. The utility copes with the tasks set no worse than paid analogues. If you wish, you can use additional software that is included in the TestDisk package.

Program features

On the network you can find more than a dozen programs that restore the work of hard drives and data, but most of them are paid. As for TestDisk, the program has more features than some paid products. Before you figure out how to use the program, you should consider its capabilities. The program is capable of:

  • Fix the partition table;
  • Restore the boot sector;
  • Copy files from a remote partition (FAT, NTFS);
  • Reconfigure boot sectors;
  • Select table files;
  • Define standby SuperBlock (for Linux);
  • Restore deleted files;
  • Create backup.

Data recovery will be faster if beginners study the TestDisk instruction. Specialists can also use this application. It is important that users pay attention to the contextual hint. All commands are located at the bottom of the terminal.

Where to download the program

The TestDisk application can be downloaded for free from the official website located at: "www.cgsecurity.org". On the page that opens, click on the link "TestDisk".

After 1-3 seconds, the product description page will load. You need to scroll down to the "Operating systems" section and then click on the "Download" hyperlink.

Immediately after that, another page will open where you can download the latest stable, as well as beta version of the product. Downloading software by clicking on the graphic link "TestDisk 7.0 Free Download".

After the utility is downloaded, you need to unzip the downloaded archive to any convenient place. If desired, the program can be moved to removable media, as it is completely portable. This means that the software does not need to be installed and it does not need to be unpacked into system folder such as Windows or System32.

Now it remains to run testdisk_win.exe and you can get to work. It should be noted that the program is not distributed in Russian, so do everything according to the instructions. Users not familiar with English are advised to use a translator.

How to work with the program

After starting the program, a terminal window will appear. The application first asks if a progress report should be generated. To create a report, select "Create". To control the program, just use the "Up", "Down" and "Enter" buttons.

In order to select "Yes", you need to press the "Y" button. If you need to refuse the action, the "N" button is pressed. To exit the menu, just press the "Q" button. Note that the ESC key does not work. To copy files, just press the "C" button.

Now you need to select the hard drive on which the files were lost. It should be noted that the list displays not only local drives but also removable media. After selecting the hard drive, click the "Enter" button.

When a list of available Partition Tables appears, you must select the one that matches your computer. For example, Intel. Most often, the utility automatically detects the partition table and places it in the first place in the displayed list.

To test the partition structure of the selected storage medium, as well as search for missing files, select the "Analyse" item. When the result appears, you will see information about the disk. Now you need to select Quick Search from the menu located at the bottom of the screen. Immediately after that, the program will ask if you want to search for partitions created under Vista. It is best to agree and press the "Y" button, which means "Yes".

In a few minutes, all disk partitions will be displayed on the screen, even those that need to be restored. To view the list of files, select a section and press the "P" button. Directories and files with Russian names will not be displayed correctly (short names are displayed normally). If necessary, files can be copied by specifying the destination folder and pressing the "C" button. The copy process may take some time.

To exit this section, press the "Q" button. For a thorough search of files, the "Deep Search" command is selected. If you need to write these structures to the MBR partition, you need to press the "Write" command.

After you manage to restore the partition, you must restart the computer. When the PC turns on, you can see the appearance of all the missing files. It should be noted that the hard drive may not appear immediately, since it does not have a letter. To do this, you must enter the administration section, and then assign a letter.

Advantages

An application such as TestDisk has a number of advantages that are worth paying attention to. The main advantage is that it can be used completely free of charge. At the same time, the program is open source.

Users will like the fact that the program is able not only to find a missing hard drive, but also to recover information. Data can be copied to another hard drive. It should be noted that the application copes with such serious situations that even paid products cannot handle.

In addition to restoring information and connecting a hard drive, the utility is able to find errors. After testing, all found errors are automatically corrected by the program. Similar work can be done with any file systems.

Another advantage is the ability to restore the boot sector. Most of the programs are not able to reanimate the disk with the operating system. It does not matter which OS was installed on the computer.

Flaws

Despite all its advantages, the application has several significant drawbacks. First of all, it should be noted that there is no GUI. The user will have to work through the terminal, and this can confuse many beginners.

The second drawback, arising from the first, is the lack of a Russian-language interface. All commands are written in English language. The same goes for hints. If you have difficulty with the language, you will have to use a translator.

Conclusion

Users who are faced with the loss of a hard drive or information from it should use the TestDisk program. Of course, the utility is controlled through the terminal, but there is nothing complicated about it. It is enough to carefully study all the commands and read the questions asked by the application, and the recovery will take place without problems. It is best to follow the instructions, then it will be much easier to work with the program. Use the program only if you really need it.

Video review of TestDisk

If the partition table is damaged, data can usually be salvaged Your drive can easily be left without a working partition table - if you turn it off too early external drive from power if the virus tries to nest on a protected area of ​​the hard disk, or if the sectors in which the table is written have simply become unreadable.

After that, you will definitely receive a message from Windows: “Before using the disk in drive X:, it must be formatted. Format?".

Rescuing data and cleaning the hard drive Of course, in the vast majority of cases, you do not want to format the drive at all, because your data is on it. But without a partition table, the system will not be able to access the hard drive. You need to find a way to somehow extract information from the corrupted media.

First of all, you need enough disk space to store the rescued data. To restore the disk partition table, you can use the free TestDisk utility. It can be downloaded from the manufacturer's website cgsecurity.org.

You will also need the DiskPart tool. Starting with the Vista version, this the program is underway bundled with Windows, but XP users will have to download it from microsoft.ru.

The TestDisk utility is needed to detect data without a partition table and copy it.

After that, DiskPart will clean up the hard drive, so that in the end you can create working partitions using your own Windows tools"Disk Management", which is available in the "Computer Management" section.

Don't be afraid command line Of course, the TestDisk and DiskPart programs are powerful tools that can be difficult to use. But do not be afraid: carefully read each message, view each screen and try to follow our instructions as much as possible.

If your computer uses multiple HDDs and/or solid state drives, it is especially important to follow the drive letters and symbols. There is nothing more offensive than deleting partitions of a completely uncomplicated healthy medium. By the way, after the procedure, you can safely use a hard drive with a once corrupted partition table. Even if bad sectors on the HDD became the source of the problem, you should not be afraid that this will happen again.

The disk's own sector management tool marks them as bad so that they are not used in the future. Even if on this moment problems with hard drive no, save this manual and when an emergency arises, you will be fully prepared.

NOTE: we we are not responsible for damage to your hardware or loss of data that may occur when you follow the recommendations in the article.

How to do it?

1. RECOGNIZING THE PROBLEM If Windows warns that your hard drive is not formatted, this is not necessarily true. You can check if this is the case by running the built-in Windows Disk Management tool.

2. CHECK THE HARD DISK If there are no problems in the Disk Management tool (Control Panel | Administration | Computer Management"), the disk will be labeled as "RAW" or have the status "Healthy".

3. FIRST RECOVERY ATTEMPT Use your own Windows utility chkdsk in command editor cmd lines, which must be called on behalf of administrator . Run the command "chkdsk x: /f", where instead of "x" substitute the letter of your drive.

4. RUN THE PROGRAM FOR ANALYSIS If the previous procedure did not bring success, run TestDisk. Use the "Enter" key to confirm the "Create" setting. In the next step, select your hard drive and run the test with the “Proceed | Intel | analyze | Quicksearch.

5. OVERWRITE THE PARTITION TABLE Select your partition, click "Continue" and create a new partition table using the "Write" function. If the section does not appear, repeat the process using "Deeper search".

6. SAVE THE DISAPPEARED FILES If the process was not successful, repeat the steps of step 4, but after "Continue" select "List files". Follow the instructions at the bottom of the window to copy files.

7. RETURNING THE HARD DISK TO WORKING STATE After successful copying, run the DiskPart program on behalf of administrator . Using the "List disk" function, display all hard drives, select the one you need with the "Select disk x" command and clean it ("Clean").

8. FORMAT AND PARTITION In Disk Management, initialize and, if necessary, partition this disc, and then return data to it.

I recently ran into a situation where my old external USB the disk is unreadable in Windows, defined as RAW. This indicates that Windows cannot determine the structure of the file system on the disk. The reason a partition is defined is how RAW can be different: the disk may not be partitioned, the partition table header may be erased/corrupted/missing, the disk may have bad sectors, or physical problems with the drive itself or its controller.

From the user's point of view, such a RAW disk appears in Explorer, but its size is defined as 0 (zero). When trying to open or read data from a RAW partition, various errors appear:

    To use a drive in drive E:, first format it. Do you want to format it?

    You need to format the disk in Drive E: before you can use it. Do you want to format it?

    No access to E:\. File system volume is not recognized.

    Cannot Access Disk. The volume does not contain a recognized file system.

Note. We deliberately do not consider the option of physical disk damage, because software tools it is not curable. General recommendation: it is advisable to first check the disk using any S.M.A.R.T status viewer utility.

As a rule, the easiest way to restore the disk to working capacity is to delete the current RAW partition and re-create it with formatting. But the data will, of course, be lost, which may be categorically unacceptable. Let's try to run a disk check with standard utility CHKDSK check:

The utility returned that CHKDSK cannot be performed on RAW discs.

The type of the file system is RAW.
CHKDSK is not available for RAW drives.

To restore the original file system on a RAW disk without formatting, we will use a free console utility Test Disk.

  1. Download, unpack the archive with the utility and run exe in mode noLog
  2. We find a disk whose file system is defined as RAW and select Proceed
  3. Next, you need to select the type of disk partition table. As a rule, it is determined automatically as Intel for MBR partitions either EFI GPT for GPT tables. However, in some cases you need to select None
  4. To start analyzing the disk data structure, select Analyze and on the next screen Quick Search
  5. The TestDisk utility will display a list of found partitions. With key P you can display a list of files on the found partition (Q-exit browsing mode). In the event that the partition also has a P label (the partition is highlighted in green), such a partition will be restored. Label D - removed. To change the label, use the left/right arrows on your keyboard.

    Advice. Enough useful functions file browsing mode on the file system - the ability to restore individual folders / files to another disk. To do this, in view mode, press the key C.

  6. After all partitions for recovery are marked, click Enter And Write(be careful here not to overwrite the partition table with garbage). If you want to perform a deeper analysis of the disk, select deepSearch.

    Advice. Keep in mind that if you restore in this way system disk, in addition to the partition with Windows itself, depending on the version of the OS, there may be other partitions, a partition with a bootloader, a partition with a recovery environment, etc. To understand the structure Windows partitions I recommend to get acquainted with the articles,. In the event that the boot sector of the disk is damaged, the TestDisk utility will offer to try to restore it using the option RebuildBS.

  7. After that (may require a reboot), the utility will restore the original structure of the partition table and file system (usually NTFS or FAT32) on the RAW disk and you will be able to access the files stored on it.

Recently, a logical partition of a hard disk suddenly disappeared on my computer, and then I thought that the data could no longer be recovered, but still there was hope, so I started looking for a solution to restore the disappeared hard disk volume.
And so I came across this very versatile utility Test Disk with the help of which I managed to restore the missing hard disk partition, so I express my gratitude to the developer of this utility.
Firstly Test Disk the program is open source source code and under the GNU General Public License, so you don’t have to pay for the use, I should note that the utility is not inferior to similar paid counterparts.
Test Disk it's powerful free program to recover lost data. It was designed primarily to help recover lost partitions and/or restore the boot capacity of disks if this problem is caused by software, viruses, or human error (such as accidental deletion of the Partition Table). Restoring Partition Tables with TestDisk is very easy.

Test Disk Maybe:

  • Fix partition table, recover deleted partitions;
  • Restore FAT32 boot sector from backup;
  • Rebuild (reconstruct) FAT12/FAT16/FAT32 boot sector;
  • Fix the FAT table;
  • Rebuild (rebuild) the NTFS boot sector;
  • Restore NTFS boot sector from backup;
  • Restore MFT using MFT mirror;
  • Define standby SuperBlock ext2/ext3/ext4;
  • Recover deleted files on FAT, NTFS and ext2 file systems;
  • Copy files from remote FAT, NTFS and ext2/ext3/ext4 partitions.
Test Disk suitable for both beginners and experts. For those who know little or nothing about data recovery methods, TestDisk can be used to collect detailed information about non-bootable drives which can then be used for further analysis. Those who are already familiar with such procedures should find TestDisk handy tool when performing a restore.
It is also very important that the utility works under many operating systems:
  • DOS ( real or in Windows 9x, DOS-box);
  • Windows (NT4, 2000, XP, 2003, Vista);
  • Linux;
  • FreeBSD, NetBSD, OpenBSD
  • SunOS;
  • macOS.
which makes it simply irreplaceable.

TestDisk can find and reconstruct lost partitions for multiple file systems:

  • BeFS (BeOS)
  • BSD disk label (FreeBSD/OpenBSD/NetBSD)
  • CramFS, Compressed File System(compressed file system)
  • DOS/Windows FAT12, FAT16 and FAT32
  • Windows exFAT
  • HFS, HFS+ and HFSX, Hierarchical File System (hierarchical file system)
  • JFS, IBM's Journaled File System (IBM journaled file system)
  • Linux ext2, ext3 and ext4
  • Linux LUKS encrypted partition (encrypted Linux partition)
  • Linux RAID md 0.9/1.0/1.1/1.2
    • RAID 1: mirroring (mirror raid)
    • RAID 4: striped array with parity device
    • RAID 5: striped array with distributed parity information
    • RAID 6: striped array with distributed dual redundancy information
  • Linux Swap (versions 1 and 2)
  • LVM and LVM2, Linux Logical Volume Manager
  • Mac partition map
  • Novell Storage Services NSS
  • NTFS (Windows NT/2000/XP/2003/Vista/2008)
  • ReiserFS 3.5, 3.6 and 4
  • Sun Solaris i386 disklabel
  • Unix File System UFS and UFS2 (Sun/BSD/...)
  • XFS, SGI's Journaled File System
Test Disk specializes in data recovery from damaged hard drives. (with bad blocks (bad sectors)), data recovery from removable media (Floppy/CD/DVD/USB), recovery of hard disk partition tables.

So let's look at an example of recovering a lost hard disk partition.
Run Test Disk possible as in the operating system itself windows, so with under
DOS with USB drive or LiveUSB in case the partition on which the operating system was installed crashed.
For example, let's take the recovery of an accidentally deleted NTFS logical partition.
Recovery of a FAT32 partition (instead of the NTFS partition shown in this guide) can be achieved by following the same steps.

You need to run the program with the privileges / rights of "administrator", if we are working with under the OS, for this you need to click right click mice by testdisk_win.exe previously unpacked from the archive to the computer.

A program window will appear, the program interface is in English, but pretty much everything costs by pressing a few keys:

  • To go to TestDisk, use the arrow keys Up down And PageUp/PageDown .
  • To continue, confirm your choice by pressing the key Enter .
  • To return to the previous display or exit TestDisk, use the key Q (exit ).
  • To save the changes made while running TestDisk, you must confirm them with the key Y (yes) and/or Enter
  • To write data to the MBR partition, you need to select "Write" by selecting from the keyboard and press the key Enter .
And so the first request in the program window provides whether to create a report on the robot of the program or not, for this we will focus on the item Create(create report) and click Enter(Continue).


Next, you are given to choose a hard drive, as there may be several, plus removable media.


Use the arrows to select our hard drive and click Enter.

TestDisk will display the Partition Table types.



Select the desired type of Partition Table. Usually the correct value is already selected "by default", because TestDisk automatically determines the table type during analysis.
Press Enter to continue.

TestDisk displays the following menu Partition Table Status

Select the "Analyse" menu item to check the partition structure of the current disk and search for "lost" partitions.
Press Enter again to continue the procedure.

Next, the current partition structure will be displayed. Examine it for missing sections or errors.
Here we can already see if we found the lost partitions of the hard disk
Choose Quick Search (Quick Search) and press Enter to continue.
The program then prompts Should TestDisk search for partition created under Vista? (Search for partitions created under Vista OS?).

Be sure to click Y (YES) if we recover data from under OS Windows Vista& Seven , yes, if you just press yes, nothing bad will happen.

TestDisk should find hard disk partitions, including lost ones.


To view what is on each section, select the section and press the key P to view a list of files.
All folders and files should display normally. (The utility does not understand the Russian language, so files with Russian names will not be displayed correctly), to copy files to another disk, press the key WITH(copy) , but before that you need to specify the path to save the files.

To exit, press the key Q, also to view data about the disk at the very bottom, its size and file system data are indicated.
Click Input(Enter) to continue.
The following window will appear:


For a more thorough search, click deep search this if quick search did not find the lost partitions, to write the disk table structure data to the MBR partition, select Write and click Enter(if TestDisk correctly identified the partitions), after which our OS should boot with all the logical partitions of the hard disk.

If you have any comments or additions, I'd love to hear from you.

There is almost everything that is required for daily work. Start to gradually abandon pirated versions in favor of more convenient and functional free counterparts. If you still do not use our chat, we strongly advise you to get acquainted with it. You will find many new friends there. Moreover, it is the fastest and effective way contact project administrators. The Antivirus updates - always up-to-date section continues to work free updates for Dr Web and NOD. Didn't have time to read something? The full content of the ticker can be found at this link.

Test Disk. Step by step

This example of a problematic situation (recovery example) is step by step actions when working with TestDisk, allowing you to restore and fix damaged / th partition / s.

Problem Example

We have a 36GB hard drive containing 3 partitions. Unfortunately:

  • the boot sector on the primary NTFS partition has been corrupted, and
  • the NTFS logical partition was accidentally deleted.

This recovery example will show step by step using TestDisk to recover those "lost" partitions:

  • overwriting the corrupted boot sector, and
  • recovering an accidentally deleted NTFS logical partition.
One of the conditions for working in the program is:
  • The program must be launched with "administrator" privileges/rights.
Important points for using TestDisk:
  • To go to TestDisk, use the arrow keys Up down And PageUp/PageDown .
  • To continue, confirm your choice by pressing the key Enter .
  • To return to the previous display or exit TestDisk, use the key Q (exit ).
  • To save the changes made while running TestDisk, you must confirm them with the key Y (yes) and/or Enter
  • To write data to the MBR partition, you need to select "Write" by selecting from the keyboard and press the key Enter .

Problem symptoms

1. If the primary partition on the hard disk contains operating system, then, most likely, which is no longer loaded; due to the primary boot sector partition.
2. If the hard disk contains secondary partitions that cannot be accessed or you can connect your disk to a second channel in another computer (usually a CD / DVD drive is connected there), and the following symptoms are observed, the following symptoms would be noted as follows:

  1. Windows Explorer or Disk Manager displays the first primary partition as raw unformatted and Windows shows:
    The drive is not formatted, do you want to format it now? [ Your disk is not formatted. Format it now?]
  2. The logical partition is missing. IN Windows Explorer logical drive is not available. In the Disk Management snap-in, it only displays "unallocated space" at the location where this logical partition was located.

Running Test Disk

If TestDisk has not been installed yet, you can download it from here: TestDisk Download . Extract all contents of the archive.

To recover data from a hard drive, USB flash drive, Smart card, CD or DVD, or other media, you need to have full access to it.

To restore data from a device image:

  • testdisk image.dd to capture a raw disk image
  • testdisk image.E01 to recover data from Encase EWF image
  • testdisk "image.*" if Encase image is split

To recover data from any other device, run testdisk device , i.e.

  • testdisk /dev/mapper/truecrypt0 or testdisk /dev/loop0 to recover data from a partition created TrueCrypt program. The same principle works for file systems encrypted with cryptsetup, dm-crypt, LUKS, etc.
  • testdisk /dev/md0 to recover data from Linux software RAID

Creation of work logs

  • Use the up/down arrow buttons to select the "problem" hard drive.

Whenever possible, choose raw (raw) /dev/rdisk* devices instead of logical /dev/disk* devices to improve data transfer speed.

Partition table type selection

TestDisk displays the Partition Table types.

  • Select the "Analyse" menu item to check the partition structure of the current disk and search for "lost" partitions.
  • Press Enter to continue.
  • Answer the question Should TestDisk search for partition created under Vista? (Search for partitions created under Vista OS?).
  • Select this section and click p to display the file list (To exit the file list display mode, press q ).

All folders and files are displayed normally. (The utility does not understand the Russian language, so files with Russian names will not be displayed correctly)

  • Press Enter to continue.

Saving a partition table or searching for other partitions


  • When all sections are available and the data is correctly in the list, you must go to the menu Write to keep the partition structure. The Extd Part menu gives you the ability to decide if the extended section will use everything available. disk space or only the required (minimal) space.
  • If the first section is still missing , highlight menu Deeper Search (deep search) (if not already done automatically) and Press Enter to continue.

Section still missing: deep search

Deeper Search (deep search will look for FAT32 boot sector backup, NTFS boot superblock backup, ext2/ext3 superblock backup to find all partitions,

the program will scan each cylinder:

After a deep search, the results are displayed as follows:

First section "Partition 1" which was found using the boot sector backup. On the last line of the screen, you can read the message "NTFS found using backup sector!" (NTFS found using sector backup) and the size of your partition. "Partition 2" (partition 2) is displayed twice with different sizes.
Both sections are listed with status D as remote because they overlap each other.

  • Let's mark this Partition 2 with a corrupted file system as D(deleted) .
  • Highlight the second Partition 2 below.
  • Press P to go to the list of your files.

Everything works because you found the right section!

  • Use the left/right arrows to navigate through folders and view files for additional verification

Note: The listing of the FAT directory is limited to 10 clusters, some files may not appear in the lists of detected ones, but this does not affect the recovery.

  • Press Q for Quit to return to the previous screen.
  • Partitions with the status Primary (Primary), * bootable (bootable), Logical (logical) and Deleted (remote) are available.

Use the left/right arrow keys to change the status of the selected partition to L(ogical)


Tip: read How to recognize primary and logical partitions?
Note: If a partition in the list is defined as *(bootable - bootable) but you cannot boot from this partition, you can change its status to P rimary partition (Main partition).

  • Press Enter to continue.

Partition table recovery

Now you can write the restored partition structure.
Note: extended partition is installed automatically. TestDisk determines this by analyzing the different partition structure.

  • To copy a boot sector backup to the location of a corrupted boot sector, select , press Enter, and confirm with Y and then Ok.

More information about repairing your boot sector can be found in TestDisk Menu Items . The following message is displayed:

If it doesn't work, or if you have a different file system, try the file recovery utility, which is based on finding file signatures.

If you notice an error, select a piece of text and press Ctrl + Enter
SHARE: