Skip to content

Learn

Beginner's guide

Never opened a disk image before? That's fine. This page explains the handful of ideas everything else builds on, what to buy, what never to do, and where to go next.

What you'll learn

DriveArchive is about old drives: buying them second-hand, making an exact copy (an image) of everything on them, and then exploring that copy to see what's still there. Along the way you'll pick up:

  • How a disk actually stores data, from individual bits up to files and folders.
  • Why deleting a file rarely removes it, and how recovery tools find it again.
  • How to connect an old drive to a modern computer safely and make a full image of it.
  • How to explore an image, recover files, and solve the challenges other people have hidden in theirs.

You don't need to be technical to start. You need patience, curiosity and a willingness to read before you click.

Key concepts, explained simply

Bits, sectors and LBA

Everything on a disk is stored as bits: ones and zeros. Eight bits make a byte, which is enough to hold one letter of text. A disk doesn't hand out single bytes, though; it reads and writes in fixed blocks called sectors. For decades a sector was 512 bytes; many newer drives use 4,096-byte sectors internally.

Each sector has a number, starting at 0. This numbering scheme is called LBA (logical block addressing). When a tool says "the partition starts at sector 2048", it means LBA 2048. Very old drives used a different scheme based on cylinders, heads and sectors (CHS), which you'll see mentioned on old drive labels.

Partition tables: MBR and GPT

A disk can be split into several sections called partitions, for example a C: and a D: drive. A small table at the start of the disk records where each partition begins and ends.

  • MBR (Master Boot Record) is the older scheme, found on almost every PC drive from the 1980s until around the 2010s. It lives in the very first sector and allows up to four main partitions.
  • GPT (GUID Partition Table) is the modern replacement, used by newer Windows PCs, Intel Macs and Linux. It supports far larger disks and many more partitions.
  • Older Macs used their own Apple Partition Map, and some very old or unusual disks have no partition table at all.

Filesystems: FAT, NTFS, HFS+ and ext

Inside each partition is a filesystem: the bookkeeping that turns a sea of sectors into named files and folders. It records each file's name, size, dates and which sectors hold its contents. The ones you'll meet most often:

  • FAT (FAT12, FAT16, FAT32): MS-DOS, Windows 95/98, floppies, memory cards and USB sticks. Simple, and a great place to start learning.
  • NTFS: Windows NT, 2000, XP and everything since. More complex, with a central file table (the MFT) that often keeps records of deleted files.
  • HFS and HFS+: classic Mac OS and Mac OS X until APFS replaced it.
  • ext2, ext3 and ext4: Linux.

Why "deleted" usually isn't gone

When you delete a file, the computer normally doesn't wipe its contents. That would be slow. Instead it updates the filesystem's bookkeeping to say "this space is free now" and, depending on the filesystem, marks the file's entry as deleted. The actual data stays exactly where it was until something else is written over it.

Formatting a drive is often similar: a quick format writes a fresh, empty filesystem structure but leaves most of the old data in place underneath. That's why second-hand drives can be so interesting.

Overwriting

Once new data is written over a sector, the old contents of that sector are gone for practical purposes. A drive that was used for years after a file was deleted may have overwritten some or all of it, which is why you'll often recover fragments, partial files or nothing at all. A drive that was deliberately wiped with a tool that writes zeros over everything will usually have nothing left to find, and that's exactly what the previous owner intended.

TRIM on SSDs

Solid-state drives (SSDs) work differently from spinning hard drives. When a file is deleted, the operating system can send a TRIM command telling the SSD which blocks are no longer needed, so the drive can clear them in the background. On most modern systems TRIM is switched on by default, and once it has done its work those blocks usually read back as zeros. In short: deleted files on a modern SSD are often truly gone, while old spinning hard drives, memory cards, USB sticks and very early SSDs (before TRIM was common) tend to be much more rewarding.

Imaging versus recovery

These are two separate steps, and keeping them separate is the most important habit you can learn.

  • Imaging means copying every sector of the drive, used or not, into a single file on another disk. You read the original once, carefully, and then put it away.
  • Recovery means running tools against that image file to find files, deleted or otherwise. You can do this as many times as you like, with as many tools as you like, without ever touching the original drive again.

Every image on DriveArchive is a raw image of this kind, so once you've downloaded one you can skip straight to the recovery part.

What equipment you need

If you only want to explore images from the archive, you need nothing but a computer with some free disk space. To image drives of your own:

  • A USB-to-SATA/IDE adapter or dock. Cheap and widely available. Look for one that handles both SATA and IDE and comes with its own power supply, because 3.5" desktop drives need more power than USB can provide.
  • The right IDE connector. Desktop IDE drives use a wide 40-pin connector; 2.5" laptop IDE drives use a smaller 44-pin one (the extra pins carry power). Many adapters include both, or you can buy a small 44-to-40-pin converter.
  • Molex power. Older 3.5" IDE drives take power through a four-pin Molex plug rather than a SATA power connector. Make sure your adapter's power brick has one.
  • A big spare disk for images. An image is the full size of the drive, however empty it looks. An external disk with plenty of room saves a lot of shuffling.
  • Optionally, a hardware write-blocker. A small box that sits between the drive and your computer and physically refuses any write commands. Not essential for a hobbyist who is careful, but it removes a whole category of mistakes.
  • A little anti-static care. Before handling a bare drive, touch something earthed (like a metal radiator or a grounded computer case) to discharge yourself, hold drives by their edges, and avoid touching the circuit board. An anti-static wrist strap is cheap if you want one.

Safety rules

  • Never work on the original. Make an image, then do everything to the image (or better, a copy of it). The original drive gets read once and then stored.
  • Never "initialise" or format when the operating system asks. When you plug in a drive your computer can't understand, Windows may offer to initialise it and macOS may say it's unreadable and offer to initialise it. Both would overwrite the start of the disk. Always cancel or choose Ignore.
  • Don't browse the drive in Explorer or Finder. Your operating system may quietly write index files, thumbnails or recycle-bin folders to it. Image first, browse later.
  • Failing drives: image first, with ddrescue. If a drive is slow, throws read errors or disconnects, stop poking at it and image it with ddrescue, which grabs the easy parts first and keeps a log so it can return to the hard parts. Every extra hour of use is wear on a drive that may not have many left.
  • If it clicks, stop. A rhythmic clicking or grinding usually means mechanical failure. Running it further can damage the platters and destroy whatever is left. Power it off and decide calmly whether the drive is worth sending to a professional.
  • Double-check which disk is which. Imaging tools will happily overwrite the wrong disk if you swap the source and destination. Read the command twice before pressing Enter.

Your learning path

The guides are written to be read in roughly this order. Skip ahead whenever you feel ready.

  1. Why it's fun: what draws people to the hobby.
  2. Where to find drives: sources, what to look for, and the ethics of buying used drives.
  3. What is data recovery?: the ideas behind getting files back.
  4. Your first image on Windows or macOS: making a raw image step by step.
  5. Creating and sharing a torrent: how to contribute your image.
  6. Exploring images and CTF challenges: browsing images, recovering deleted files and solving challenges.
  7. Recovery software: an overview of the tools, with detailed guides for TestDisk and PhotoRec, Disk Drill, R-Studio and DMDE.
  8. The advanced imaging guide: write-blocking, odd interfaces and difficult drives.

Want to practise without buying anything? Browse the archive, pick a small drive and download it. You'll need an account and some download credit, which you earn by contributing drives and seeding.

Glossary

Image (disk image)
A single file containing an exact copy of every sector of a drive. Also called a raw image or a .img/.dd file.
Sector
The smallest block a drive reads or writes, usually 512 or 4,096 bytes.
LBA
Logical block addressing: numbering a drive's sectors 0, 1, 2 and so on.
Partition
A section of a disk with its own filesystem, such as a C: drive.
MBR / GPT
The two common types of partition table: the older Master Boot Record and the newer GUID Partition Table.
Filesystem
The structure that organises a partition into files and folders, such as FAT, NTFS, HFS+ or ext4.
Unallocated space
Space the filesystem considers free. It often still holds the contents of deleted files.
Carving
Finding files by recognising their contents in raw data (for example, the bytes every JPEG starts with), without relying on the filesystem.
Write-blocker
A device or setting that prevents anything being written to a drive while you read it.
ddrescue
A free imaging tool designed for damaged drives. It copies the readable areas first and keeps a map file of what's left to retry.
Hash (SHA-256)
A short fingerprint of a file. If two images have the same SHA-256, they are identical.
TRIM
A command that tells an SSD which blocks are no longer in use, so it can erase them.
CTF
Capture the flag: a puzzle where you search for a hidden answer. On DriveArchive, contributors can hide challenges in their drives.

Frequently asked questions

Is this legal?

In general, buying a used drive and looking at what's on it is legal in most places, and data recovery is a normal, everyday profession. What matters is what you do with the data you find: personal information about real people deserves care, and in many countries is protected by law (such as the GDPR in Europe). This isn't legal advice, and rules differ between countries. Read our acceptable use policy and the ethics section in Where to find drives.

Do I need to know how to code?

No. Many of the best tools have a graphical interface, and the command-line ones only need a few commands, which our guides spell out. You'll naturally pick up some command-line confidence along the way, but programming is never required.

Windows, Mac or Linux?

Any of them works. Windows has the widest choice of recovery programs with friendly interfaces. macOS has everything you need for imaging built in. Linux has the most free forensic tools and the most control over when disks get mounted, which is why many hobbyists end up using it, often from a live USB stick. Start with whatever you already have.

What if I find personal data?

You probably will: these drives belonged to people. Don't share it, don't try to identify or contact the person, and don't keep copies you don't need. If it's in a drive from the archive, report it so reviewers can handle it. If it's on a drive you're planning to contribute, mention it in your notes when you submit: every drive is reviewed before it is published, and reviewers decide whether it needs to be restricted. Our privacy policy has more.