下载
Free & open‑source · Portable · Windows, macOS, Linux
TestDisk is a powerful, free data recovery software. It helps recover lost partitions and make non‑booting disks bootable again when issues are caused by faulty software, viruses, or human error. Use its command‑line interface to fix partition tables, recover deleted partitions, rebuild NTFS/FAT boot sectors, and undelete files across common filesystems.
功能
探索让 TestDisk 深受专业人士和普通用户信赖的恢复功能。
分区恢复
重建引导扇区
恢复删除的文件
广泛的文件系统支持
Partition Recovery:
- • Recover lost and deleted partitions caused by software faults or human error.
- • Analyse disks, detect partition structures, and restore access without rewriting unrelated data.
- • Write recovered partition tables back to disk to make systems bootable again.
Boot Sector Rebuild:
- • Rebuild NTFS and FAT boot sectors; fix FAT tables when corruption occurs.
- • Recover FAT32 boot sectors from their backups when available.
- • Repair MFT using the MFT mirror to restore NTFS metadata.
File Undelete:
- • Undelete files from FAT, exFAT, NTFS, and ext2 filesystems efficiently.
- • Copy files from deleted FAT, exFAT, NTFS, and ext partitions.
- • Avoid overwriting data by running the portable binary from external media.
Filesystem & Platform Support:
- • Supports common filesystems including FAT, exFAT, NTFS, ext2/3/4, HFS+.
- • Runs on Windows, macOS, Linux, and more; portable with no installation.
- • Open‑source under GNU GPL; trusted by professionals and the community.
Command‑line recovery examples
TestDisk operates via a command‑line interface for precision and control. Below are typical steps and commands used during recovery sessions.
Typical TestDisk session workflow
sudo testdisk
Select disk
Analyse
Quick Search
Deeper Search
Select partitions to recover
Write
Example commands to inspect disks
lsblk
fdisk -l
diskutil list
sudo smartctl -a /dev/sdX
wmic diskdrive get Model,Size,Status
Use TestDisk with these tools to inspect disks and verify recovery targets before writing changes.
TestDisk screenshots
Click a thumbnail to enlarge, then use arrows to scroll left or right: