Before you start
Everything on this page assumes you're working on a disk image downloaded from the
archive: a single raw .img file that holds every sector of an old drive. That's the safe way
to practise. Recovery tools are powerful, and pointed at the wrong physical disk some of them can write to
it, so never aim one at a drive you care about while you're learning.
- Work on a copy of the image and keep the original (and its SHA-256) untouched.
- Save recovered files somewhere else: an empty folder on a different disk, never into the image.
- Be respectful. These drives belonged to real people. If you find personal data, don't spread it; report it so reviewers can deal with it.
New to all this? Read what is data recovery? first. It explains why deleted files can still be found at all.
Three kinds of tool
Recovery programs fall roughly into three groups, and many do a bit of all three:
- Filesystem-aware recovery. The tool understands FAT, NTFS, HFS+, ext4 and so on. It reads the filesystem's own records (directory entries, the NTFS Master File Table, inodes) to find deleted files and lost partitions. When it works you get the original file names, folders and dates back. TestDisk, R-Studio, DMDE, UFS Explorer and Recuva work like this.
-
File carving. The tool ignores the filesystem and scans the raw bytes for known file
signatures, such as the
FF D8 FFthat starts a JPEG or the%PDFthat starts a PDF. It finds files even after the drive was formatted or the filesystem is wrecked, but you lose names and folders, and fragmented files often come out broken. PhotoRec, foremost and scalpel are pure carvers; most commercial tools add a carving pass to their "deep scan". - Forensic suites. Built for investigators rather than for "get my photos back". They index the whole image, show deleted and existing files side by side, build timelines, search for keywords and keep track of what you've looked at. Autopsy and The Sleuth Kit are the free, open-source example. Great for exploring a drive and for CTF challenges.
"Free" isn't always free
Licensing varies a lot, and it's worth knowing before you spend an evening scanning:
- Truly free / open source: TestDisk, PhotoRec, Autopsy, The Sleuth Kit, foremost, scalpel, ImHex. No limits.
- Free with limits: DMDE's free edition, Recuva's free version and Disk Drill's free tier on Windows let you recover real files, but cap how many, how much or which features you get.
- Free preview, paid to save: many commercial tools (R-Studio, UFS Explorer, ReclaiMe, Active@ File Recovery and others) scan and preview for free, but only save small files, or nothing at all, until you buy a licence.
For practising on archive images, a "preview only" tool is still useful: you can see what a scan finds and compare it with what a free tool finds. Limits change often, so check the current terms on the vendor's site before you rely on them.
Comparison table
The last column is the important one for DriveArchive: can you point the tool straight at a raw
.img file, or do you first have to mount the image as a virtual disk?
| Tool | Platforms | Cost | Best for | Opens raw .img? |
|---|---|---|---|---|
| Disk Drill | Windows, macOS | Free tier with limits, paid licence | Friendly first scans | Yes (attach disk image) |
| TestDisk | Windows, macOS, Linux, BSD | Free, open source | Lost partitions, undelete on FAT/NTFS/ext | Yes |
| PhotoRec | Windows, macOS, Linux, BSD | Free, open source | Carving files from anything | Yes |
| R-Studio | Windows, macOS, Linux | Paid; demo saves only small files | Deep, technical recovery, RAID | Yes |
| DMDE | Windows, macOS, Linux, DOS | Free edition with limits, paid editions | Filesystem reconstruction, disk editing | Yes |
| Recuva | Windows | Free version, paid Pro | Quick undelete on Windows drives | No, mount first |
| EaseUS Data Recovery Wizard | Windows, macOS | Free version with a data cap, paid licence | Simple wizard-style recovery | Not reliably; mount first |
| UFS Explorer | Windows, macOS, Linux, FreeBSD | Paid; trial saves only small files | Unusual filesystems, virtual disks | Yes |
| ReclaiMe | Windows | Paid; free scan and preview | Hands-off recovery, many filesystems | Yes (Open disk image) |
| Active@ File Recovery | Windows | Paid; demo saves only tiny files | Filesystem-aware recovery | Yes (raw image type) |
| Autopsy / The Sleuth Kit | Windows, Linux, macOS | Free, open source | Exploring a drive, CTF challenges | Yes |
| foremost / scalpel | Linux, macOS (command line) | Free, open source | Scriptable carving | Yes |
Tools that can't open images
Some programs only list real disks and drive letters. You can still use them on an image by attaching it as a read-only virtual disk first, so the operating system presents it like a plugged-in drive:
- Windows: the free Arsenal Image Mounter or OSFMount. Choose the read-only option when mounting.
- macOS: attach without mounting any filesystem, so macOS doesn't touch it:
hdiutil attach -readonly -nomount -imagekey diskimage-class=CRawDiskImage drive.img
# prints something like /dev/disk5; detach later with: hdiutil detach /dev/disk5
- Linux: create a read-only loop device:
sudo losetup --find --show --read-only --partscan drive.img # prints e.g. /dev/loop0
sudo losetup -d /dev/loop0 # when you're done
Then point the recovery tool at the new virtual disk. Even read-only, keep working on a copy of the image. Exploring images covers mounting in more detail, including browsing the files that still exist.
The tools, one by one
Disk Drill
A polished program for Windows and macOS with a clean interface: pick a disk or image, click one button, and browse the results by file type with previews. Scanning and previewing are free. On Windows the free tier lets you recover a limited amount of data (around 100 MB at the time of writing); on macOS the free tier is mostly scan-and-preview. It can attach a raw disk image and scan it like a drive, and it can make byte-to-byte backups of failing drives. cleverfiles.com · Disk Drill deep-dive
TestDisk and PhotoRec
Two free, open-source programs by Christophe Grenier, shipped together. TestDisk repairs and recovers partitions and can undelete files on FAT, exFAT, NTFS and ext2. PhotoRec is a file carver that recognises hundreds of file formats. Both run in a terminal with simple menus, on almost any operating system, and both open image files directly. They're the best free starting point. cgsecurity.org · TestDisk & PhotoRec deep-dive
R-Studio
A professional-grade tool for Windows, macOS and Linux with a dense, technical interface. It understands many filesystems, rebuilds RAID arrays, has a built-in hex editor and shows exactly which structures it found on the disk. It opens image files as if they were drives. The demo does everything except save files larger than a small limit. r-studio.com · R-Studio deep-dive
DMDE
DM Disk Editor and Data Recovery is a compact, portable program that's both a recovery tool and a disk editor. It's very good at reconstructing damaged filesystem directory trees. The free edition can recover up to a few thousand files at a time from one folder, which goes a long way on old drives. It opens raw images directly. dmde.com · DMDE deep-dive
Recuva
A simple Windows undelete tool from the makers of CCleaner, with a free version and a paid Pro version. It's handy for "I just deleted this" on a working Windows drive, but it only scans drives Windows can see. It doesn't open raw image files, and users report mixed results on mounted images, so treat it as a curiosity for archive work. If you want to try it, mount the image read-only first (see above). ccleaner.com/recuva
EaseUS Data Recovery Wizard
A wizard-style commercial tool for Windows and macOS with a free version capped at a small amount of
recovered data. Its own documentation focuses on scanning physical drives and on images it created
itself, so for a DriveArchive .img the safest route is to attach it read-only as a virtual
disk first. Check the current free limit on the vendor's site.
easeus.com
UFS Explorer
A family of commercial tools (Standard Recovery and up) for Windows, macOS, Linux and FreeBSD. It stands out for the number of filesystems it reads, including older Unix ones and ZFS, and for opening raw images and virtual disk formats such as VMDK and VHD. Scanning and previewing are unrestricted in the trial; saving is limited to small files. ufsexplorer.com
ReclaiMe
A Windows-only commercial tool with very few settings: pick a disk, and it starts finding files straight away. It supports a wide range of filesystems (Windows, Mac and Linux, depending on licence) and can open disk image files from its Disks menu. You can scan and preview for free; saving needs a licence. reclaime.com
Active@ File Recovery
A Windows tool from LSoft with filesystem-aware recovery for many filesystems. It can open raw disk images (choose the raw image type when opening). The free demo works fully but only saves very small files, so it's mainly useful to see what a scan finds. file-recovery.com
Autopsy and The Sleuth Kit
The Sleuth Kit is a set of free command-line forensic tools (mmls, fls,
icat and friends); Autopsy is a graphical program built on top of it. You add a disk image to
a case and get a file tree with deleted files, a timeline, keyword search, file type views and hash
lookups. It's less about "saving my photos" and more about understanding everything on a drive, which
makes it ideal for CTF challenges. See
exploring images for a starter
walkthrough. sleuthkit.org
foremost and scalpel
Classic open-source file carvers for Linux (also available on macOS through Homebrew). They work from a list of header and footer signatures and are easy to script. PhotoRec usually finds more, but these are good for comparison and for carving one specific file type:
foremost -t jpg,pdf -i drive-copy.img -o carved/ # output folder must not exist yet
Scalpel is a faster descendant of foremost; you enable file types by editing its
scalpel.conf before running it.
Hex editors
Sooner or later you'll want to look at the raw bytes yourself: a boot sector, a half-overwritten file, a
strange string a CTF hint points to. HxD (free, Windows) is fast and simple and can open
large image files read-only. ImHex (free, open source, Windows, macOS and Linux) adds a
pattern language that decodes structures like MBRs and file headers for you. On the command line,
xxd and hexdump do the job. R-Studio and DMDE also have hex editors built in.
HxD ·
ImHex
Which should I start with?
- Completely new and want a friendly window? Try Disk Drill to see what's on an image, then compare with a free tool.
- Want free and thorough? TestDisk and PhotoRec. Everyone should learn these.
- Want to see how filesystems really work? DMDE or R-Studio.
- Hunting a CTF flag? Autopsy, The Sleuth Kit and a hex editor, as described in exploring images.
A fun exercise: run two or three tools on the same image and compare what each one finds. Ready to get an image? Browse the archive.