Skip to content
GeneralIntermediate

How to Use TestDisk to Recover GPT and NTFS Partitions from a RAW External Hard Drive: Complete Step-by-Step Recovery Guide

An external hard drive suddenly appearing as RAW is one of the most frightening situations for any computer user. Windows may display messages like: "You nee...

BI
Bison Technical Team Enterprise IT specialists
Updated 06 Aug 2026 7 min read 0 total views

An external hard drive suddenly appearing as RAW is one of the most frightening situations for any computer user. Windows may display messages like:

  • "You need to format the disk before you can use it."
  • "The file or directory is corrupted and unreadable."
  • "Location is not available."
  • "Drive is not accessible."

In many cases, your files are still physically present on the drive. The problem lies in the partition table, boot sector, or file system metadata rather than the actual data.

Advertisement

One of the best free tools available for recovering damaged partitions is TestDisk. Developed by Christophe Grenier, TestDisk specializes in rebuilding partition tables, repairing boot sectors, and recovering lost GPT or MBR partitions without formatting the drive.

This comprehensive guide explains how to safely use TestDisk to recover GPT and NTFS partitions from a RAW external hard drive.


What Does RAW Mean?

A RAW drive means Windows cannot recognize the file system.

Instead of detecting NTFS or exFAT, Windows sees the partition as unknown.

Common symptoms include:

  • Drive letter disappears
  • Disk Management shows RAW
  • File Explorer asks to format
  • CHKDSK refuses to run
  • Capacity appears correct
  • Data still exists physically

RAW does not always mean data is lost.


Common Reasons an External Drive Becomes RAW

Several issues can corrupt partition information.

Unsafe USB Removal

Disconnecting a drive while data is being written may corrupt:

  • GPT headers
  • NTFS boot sector
  • MFT entries

USB Cable Problems

A faulty USB 3.0 Micro-B cable may cause:

  • Read timeouts
  • Bad sector errors
  • Incomplete writes
  • Random disconnects

Power Failure

Unexpected shutdown during disk activity may damage:

  • Partition table
  • Boot sector
  • File allocation structures

Bad Sectors

If sectors containing GPT or NTFS metadata become unreadable, Windows may classify the drive as RAW.


USB-SATA Bridge Problems

External drives use USB bridge boards.

Bridge failures can result in:

  • Incorrect sector reads
  • Communication errors
  • RAW detection

Malware

Certain malware modifies:

  • Partition table
  • Boot records
  • File system structures

Before Using TestDisk

Never attempt recovery without following these precautions.

1. Do NOT Format

When Windows asks:

"You need to format the disk"

Choose:

Cancel

Formatting overwrites important metadata.


2. Stop Using the Drive

Avoid:

  • Copying files
  • Running CHKDSK
  • Defragmentation
  • Partition creation

3. Check SMART Health

Use tools like:

  • Hard Disk Sentinel
  • CrystalDiskInfo

If SMART health is poor:

Clone the drive first.


4. Replace the USB Cable

Many "RAW" problems are actually communication problems.

Always test:

  • Another USB cable
  • Another USB port
  • Another computer

Download TestDisk

Download the latest version from the official website.

The software is:

  • Free
  • Open-source
  • Portable
  • Windows compatible
  • Linux compatible
  • macOS compatible

Extract the ZIP file.

Run:

 
testdisk_win.exe
 

as Administrator.


Step 1 – Create Log File

The first screen displays:

 
Create
Append
No Log
 

Choose:

 
Create
 

Press Enter.


Step 2 – Select the Physical Disk

TestDisk lists all connected disks.

Example:

 
Disk /dev/sda
Disk /dev/sdb
Disk /dev/sdc
 

Choose the physical external drive, not the missing drive letter.

Example:

 
Disk /dev/sdc - 2TB
 

Press Enter.


Step 3 – Select Partition Table Type

TestDisk usually detects automatically.

Common options:

 
Intel
EFI GPT
Mac
None
Sun
 

For modern Windows drives choose:

 
EFI GPT
 

Why GPT?

Most drives larger than 2 TB use GPT.

Windows 10 and Windows 11 commonly create GPT partitions automatically.


Step 4 – Analyze

Choose:

 
Analyze
 

Press Enter.

TestDisk reads the partition table.

If corruption exists:

It may show:

 
No partition found
 

or

 
Invalid GPT
 

Do not panic.


Step 5 – Quick Search

Choose:

 
Quick Search
 

TestDisk scans the drive.

Depending on size:

500 GB

→ 5–20 minutes

2 TB

→ 20–60 minutes

4 TB

→ Several hours


During Quick Search

Possible findings include:

 
NTFS
EFI GPT
Deleted partition
Lost partition
 

If Your NTFS Partition Appears

Highlight it.

Press:

 
P
 

This lists files.

If your folders appear:

Excellent.

The partition is likely recoverable.


What If Files Are Visible?

If pressing P displays your folders:

Do NOT immediately write changes.

Verify:

  • Folder names
  • File names
  • Structure

Everything should appear normal.


If Quick Search Finds Nothing

Return.

Choose:

 
Deeper Search
 

This performs a sector-by-sector scan.

It is much slower.

A 2 TB drive may require several hours.


Understanding Search Results

TestDisk uses symbols.

Example:

 
P Primary

D Deleted

L Logical
 

For GPT disks you mainly want:

 
P
 

or the detected GPT partition.


Verify the Partition

Highlight it.

Press:

 
P
 

Again verify:

  • Documents
  • Pictures
  • Videos
  • Folder tree

If files open correctly:

Recovery probability is very high.


Writing the Partition Table

Only after confirming files are visible.

Choose:

 
Write
 

TestDisk asks:

 
Write partition table?
Y/N
 

Select:

 
Y
 

Restart Windows.

Many drives immediately become accessible again.


If TestDisk Cannot Find the Partition

Possible reasons:

  • Severe GPT corruption
  • Extensive bad sectors
  • USB communication failure
  • Hardware damage

At this point:

Do NOT repeatedly scan.

Clone the drive.


Repairing NTFS Boot Sector

Sometimes GPT is intact.

Only the NTFS boot sector is damaged.

Navigate:

 
Advanced

Boot
 

Possible results:

 
Boot sector OK

Backup boot sector OK
 

Choose:

 
Backup BS
 

to restore.


Rebuilding Boot Sector

If both boot sectors are damaged:

Choose:

 
Rebuild BS
 

TestDisk reconstructs a new NTFS boot sector.

Verify files before writing.


Repairing MFT

TestDisk may report:

 
MFT and MFT Mirror are bad
 

Sometimes:

 
Repair MFT
 

can restore filesystem access.


When TestDisk Freezes

Occasionally TestDisk appears frozen.

Possible reasons:

  • Reading bad sectors
  • USB timeout
  • Faulty bridge board
  • Cable disconnect

Wait several minutes.

If HDD LED continues blinking:

The drive is still working.


Error: "Read Error"

Possible causes:

  • Bad sectors
  • USB cable
  • USB enclosure
  • Power issue

Do not continuously retry.

Investigate hardware first.


If Drive Disconnects During Scan

Common causes include:

  • Loose USB connector
  • Faulty cable
  • Insufficient USB power
  • Failing HDD

Replace the cable before scanning again.


Should You Use CHKDSK?

Generally:

No.

Never run:

 
chkdsk X: /f
 

on a RAW drive.

CHKDSK requires a recognized filesystem.

It may refuse to run or cause further complications.


When to Clone the Drive First

Clone immediately if:

  • SMART warnings exist
  • Clicking sounds occur
  • Scan speed becomes extremely slow
  • Read errors increase
  • HDD disconnects repeatedly

Clone first.

Recover later.


Alternatives to TestDisk

If TestDisk cannot recover the partition:

  • DMDE
  • R-Studio
  • UFS Explorer
  • GetDataBack
  • DiskGenius

These tools can recover files even without restoring the partition.


Preventing RAW Drive Problems

Good practices include:

  • Always use Safe Remove Hardware
  • Replace damaged USB cables
  • Maintain backups
  • Monitor SMART health
  • Avoid sudden power loss
  • Use quality USB enclosures
  • Keep antivirus updated
  • Disconnect drives properly

Conclusion

TestDisk remains one of the most powerful free partition recovery tools available. In many cases, a RAW external hard drive is suffering from partition table corruption rather than actual data loss. By carefully analyzing the disk, performing Quick Search or Deeper Search, verifying recovered partitions, and writing the corrected GPT or NTFS information only after confirming file visibility, you can often restore access without formatting the drive.

If the drive shows signs of physical failure, such as repeated disconnections, bad sectors, or unusual noises, stop recovery attempts and clone the disk before proceeding. Patience and the correct recovery sequence greatly improve the chances of successful data recovery.


Frequently Asked Questions (FAQ)

1. Can TestDisk recover a RAW external hard drive?

Yes. If the RAW condition is caused by partition table or boot sector corruption, TestDisk can often restore the partition without formatting.


2. Does TestDisk recover deleted files?

Its primary purpose is partition recovery. While it includes basic file recovery features, dedicated recovery software may provide better results for deleted files.


3. Is TestDisk safe?

Yes. TestDisk is widely trusted and does not modify the disk unless you choose the Write option.


4. Can TestDisk repair GPT partitions?

Yes. It supports GPT partition recovery and can rebuild damaged GPT partition tables in many cases.


5. Should I choose Intel or EFI GPT?

Modern Windows systems using UEFI generally use EFI GPT. Older BIOS-based systems often use Intel (MBR).


6. Why can't TestDisk find my partition?

Possible reasons include severe corruption, bad sectors, USB communication issues, or physical drive failure.


7. What is the difference between Quick Search and Deeper Search?

Quick Search scans common partition locations and is faster, while Deeper Search performs a more thorough sector-by-sector scan to locate lost partitions.


8. Can TestDisk repair an NTFS boot sector?

Yes. If the backup boot sector is intact, TestDisk can restore it. It can also rebuild the boot sector in some cases.


9. Should I run CHKDSK before TestDisk?

No. Running CHKDSK on a RAW drive is not recommended because it cannot repair an unrecognized filesystem and may complicate recovery.


10. Can TestDisk recover data from a physically damaged hard drive?

Only to a limited extent. If the drive has mechanical issues, repeated read errors, or failing hardware, clone the disk first and consider professional data recovery if necessary.

 

#TestDisk #RAWDrive #ExternalHardDrive #DataRecovery #PartitionRecovery #GPT #NTFS #Windows11 #Windows10 #HardDriveRecovery #RecoverData #DiskRecovery #BootSector #MFT #FileSystem #USBDrive #ExternalHDD #StorageRecovery #RecoverFiles #PartitionTable #TechGuide #ComputerRepair #DiskRepair #DataRescue #HardDisk #WindowsTips #TechSupport #ITSupport #DriveRecovery #RecoverySoftware #FileRecovery #USBStorage #Backup #DataProtection #DiskManagement #WindowsRepair #GPTRecovery #NTFSRecovery #StorageTips #PCRepair #ComputerTips #TechTutorial #SystemRecovery #HardDriveFix #RecoverPartition #FreeSoftware #TestDiskGuide #RecoveryTools #Troubleshooting #DigitalRecovery

YOUR FEEDBACK

Was this guide useful?

Your answer helps us keep BISONKB accurate and practical.

BISON AI

Ask about “How to Use TestDisk to Recover GPT and NTFS Partitions from a RAW External Hard Drive: Complete Step-by-Step Recovery Guide”

This interface is ready to connect to your preferred AI provider. No article or user data is sent until that service is configured.

THE BISON BRIEF

Practical IT knowledge, once a week.

New troubleshooting guides, scripts and infrastructure notes. No noise.

By subscribing, you agree to our privacy policy.