testdisk
TestDisk & PhotoRec are free and open-source data recovery utilities. They can be downloaded from https://www.cgsecurity.org/.
TestDisk can be used to recover lost partitions, fix boot sectors, and recover files from damaged or deleted file systems. It is mainly used to recover data from hard drives, but it can also work with other storage devices such as USB drives and memory cards. It supports a wide variety of file systems, including NTFS, exFAT, FAT, ext2, ext3, and ext4.
PhotoRec is designed to recover lost files, including photos, videos, and music files, from various types of storage devices. It can recover files from hard drives, memory cards, and USB drives, and it can also recover files from digital cameras and other portable devices.
- 1. Presentation
- 2. Installation
- 3. Building from source
- 4. Creating a live USB
- 5. Storage: can I repair it or recover data from it ?
- 6. Starting the tools
- 6.1. Disk image
- 6.2. Running TestDisk, PhotoRec or QPhotoRec under Windows
- 6.3. Running TestDisk, PhotoRec under Linux
- 6.4. Running QPhotoRec under Linux X.org X11
- 6.5. Running QPhotoRec under Linux Wayland
- 6.6. Running TestDisk, PhotoRec under macOS
- 6.7. Running Fidentify under Windows
- 6.8. Running Fidentify under Linux or macOS
- 7. Repairing filesystem
- 7.1. Repairing filesystems from Windows
- 7.2. Repairing filesystems from Linux
- 7.3. Repairing filesystems from macOS
- 7.4. Repairing FAT32, exFAT and NTFS boot sector using TestDisk
- 7.5. TestDisk: Repairing FAT boot sector
- 7.6. TestDisk: Repairing NTFS boot sector
- 7.7. TestDisk: repairing ext2/3/4 filesystem superblock
- 7.8. Repairing HFS/HFS+ volume header using TestDisk
- 7.9. Repairing BitLocker volume
- 8. Recovering deleted files using TestDisk
- 9. Recovering deleted partition using TestDisk
- 10. How to make the system bootable again
- 11. Recovering deleted files using PhotoRec
- 11.1. Start PhotoRec
- 11.2. Disk selection
- 11.3. Source partition selection
- 11.4. PhotoRec options
- 11.5. Selection of files to recover
- 11.6. File system type
- 11.7. Carve the partition or unallocated space only
- 11.8. Select where recovered files should be written
- 11.9. Recovery in progress
- 11.10. Recovery is completed
- 11.11. PhotoRec: file name and date
- 11.12. PhotoRec: matching filename and data location
- 12. Creating custom signature for PhotoRec
- 13. Recovering lost videos from a memory card using PhotoRec
- 14. After using PhotoRec
- 15. SMART status - Disk health monitoring
- 16. DDRescue: data recovery from damaged disk
- 17. Scripted run
- 18. TestDisk and PhotoRec in various digital forensics test cases
- 19. Linux / macos / BSD command line