You plug in your external drive, and Windows throws this at you:
"You need to format the disk in drive E: before you can use it. Do you want to format it?"
Two buttons: Format disk and Cancel.
Your hand hovers over "Format disk" because that's what Windows is telling you to do, and Windows usually knows what it's talking about, right?
Do not click Format disk.
I'll say it again, because this mistake costs people their entire photo library every single day: Format disk erases everything on the drive. It doesn't "fix" it and keep your files. It wipes it clean and gives you an empty drive.
The same thing happens on Mac with a slightly different message:
"The disk you inserted was not readable by this computer."
with options to Initialize, Ignore, or Eject. Initialize is the Mac version of Format. Same outcome, same data loss.
Here's what's actually happening and how to get your files back.
Why This Message Appears
Windows and Mac both need to understand your drive's partition table and file system before they can read it. When they can't, they assume the drive is unformatted and offer to format it for you.
The drive isn't broken. The map that tells the OS where your files live is broken.
Common causes:
- Unplugged during a write operation – This is the number one cause, by far. You were copying files, you pulled the cable, and the file system's index got corrupted mid-write.
- Power loss during use – Same mechanism. A power cut at the wrong moment corrupts the partition table.
- File system mismatch – A drive formatted as APFS or HFS+ plugged into Windows, or an NTFS drive with a corrupted boot sector on Mac.
- The drive was in a failing enclosure – The USB-to-SATA bridge chip failed, not the drive itself. Very common and very fixable.
- Accidental partition deletion – Someone clicked the wrong thing in Disk Management.
- Virus or malware – Rarer, but it happens.
In the vast majority of these cases, your files are still sitting on the platters, completely intact. Only the index that points to them is damaged. That's why recovery is usually possible. And it's also why formatting is so tragic – you'd be erasing perfectly good data to solve an indexing problem.
The Golden Rule: Clone Before You Touch Anything
Before any recovery attempt, if you can, clone the drive.
I know it sounds like extra work. But every operation you run on the original drive carries a small risk. If you clone first, you can experiment freely on the copy and never risk the original again.
On Windows, use HDDSuperClone (free) or Macrium Reflect Free.
On Mac, use dd in Terminal:
sudo dd if=/dev/disk4 of=/Volumes/BackupDrive/clone.img bs=4m
It's slow. A 2TB drive can take 6-12 hours. Let it run overnight. It's worth it.
Windows Fix: TestDisk (Free, and It Actually Works)
This is my go-to tool, and it's completely free. It's not pretty – it's a text-based interface from the 90s – but it recovers partitions better than most paid software.
How to use TestDisk:
- Download TestDisk from cgsecurity.org (the official site, not a random download portal).
- Extract it and run
testdisk_win.exeas Administrator. - Select Create to make a new log file.
- Select your drive from the list. Use the arrow keys. Be very careful here – make sure you pick your external drive, not your system drive.
- Select the partition table type. For most external drives it's Intel (which means MBR). If your drive is over 2TB, choose EFI GPT.
- Select Analyse, then Quick Search.
- TestDisk will scan for lost partitions. This takes 5-30 minutes.
- When it finds partitions, they'll be listed. Press P to preview the files inside. This is the critical step – if you can see your files listed, you've found your partition.
- Press Q to go back, then select Write to save the recovered partition table.
- Reboot. Your drive should now mount normally with all your files.
If Quick Search finds nothing, go back and try Deeper Search. It takes hours but catches more cases.
Important: If TestDisk's preview (step 8) doesn't show your files, do not write the partition table. You'll want to try a different approach.
Windows Fix: Diskpart (When the Drive Shows as RAW)
If Disk Management shows your drive as RAW (meaning Windows sees it but can't read the file system), try this.
Open Command Prompt as Administrator:
diskpart
list disk
select disk 2 (replace 2 with your drive's number)
list partition
select partition 1
detail partition
Look at the output. If it says "Type: RAW" but the partition exists, the file system's boot sector is probably damaged. Try:
chkdsk E: /f
Replace E: with your drive letter. If chkdsk says "Cannot open volume for direct access" or "The type of the file system is RAW," chkdsk won't help – go back to TestDisk or move to recovery software.
Mac Fix: First Aid and Mounting Manually
On Mac, the message is "not readable" and the drive usually appears greyed out in Disk Utility.
Step 1: Run First Aid
- Open Disk Utility (Applications → Utilities).
- Click View → Show All Devices in the menu bar. This reveals the physical drive, not just the volume.
- Select the top-level drive (not the volume underneath).
- Click First Aid and run it.
If it repairs the volume, your drive will mount.
Step 2: Force mount with Terminal
If First Aid fails, open Terminal and find your drive:
diskutil list
Locate your drive (e.g., disk4) and its partitions (disk4s1, disk4s2). Then try:
sudo diskutil mount /dev/disk4s1
If that fails, try disk4s2. One of them might be your data volume.
Step 3: Try mounting read-only
If the drive mounts but macOS wants to repair it and fails, mount it read-only so you can at least copy files off:
sudo mount -t msdos /dev/disk4s1 /Volumes/Recovery -o rdonly
or for exFAT:
sudo mount -t exfat /dev/disk4s1 /Volumes/Recovery -o rdonly
(You may need to create the /Volumes/Recovery folder first: sudo mkdir /Volumes/Recovery)
Then copy your files off through Finder. Once everything is safe, you can format the drive properly.
If Software Can't Find Your Files: Recovery Tools
When TestDisk and Disk Utility both come up empty, you need software that scans for file signatures rather than relying on the file system.
Free options:
- PhotoRec – Same developers as TestDisk, focuses on photos and media. Surprisingly good results. Free.
- Recuva – Windows only, decent for simple deletions, weaker on RAW drives.
Paid options (worth it if the data matters):
- Disk Drill – Works on both Mac and Windows. The free version lets you preview recovered files before paying, which is genuinely useful – you can confirm your files are recoverable before spending money.
- EaseUS Data Recovery Wizard – Similar pricing and capability. Good Windows performance.
My honest take: Try TestDisk and PhotoRec first because they're free. If they recover what you need, you're done. If they don't, Disk Drill's preview feature tells you whether the paid version will actually help before you pay.
What About Just Formatting and Starting Over?
If you've confirmed the data is genuinely not worth recovering, then yes, format it.
On Windows:
- Open Disk Management.
- Right-click the drive and select Format.
- Choose exFAT if you need it to work on both Windows and Mac.
- Choose NTFS if it's Windows-only and you want better performance with large files.
On Mac:
- Open Disk Utility.
- Select the drive, click Erase.
- Choose exFAT for cross-platform, or APFS for Mac-only.
Formatting does fix the "unreadable" error. It just costs you everything on the drive. Which is why we try recovery first.
Preventing the Next "You Need to Format" Message
- Always eject before unplugging. Both Windows and Mac have a safe eject option. Use it every single time, even when you're in a hurry.
- Don't yank the cable during a transfer. If you're copying a big file and you pull the plug, you're rolling the dice on your partition table.
- Use exFAT if you switch between Mac and Windows. A drive formatted APFS won't work on Windows, and NTFS on Mac is read-only without extra software. exFAT works on both.
- Keep a backup. I'll keep saying it. The only real protection is not having your only copy on one drive.
The Short Version
When Windows or Mac offers to format your drive, click Cancel. The drive isn't broken. The index is broken. Your files are still there.
Clone if you can. Run TestDisk if you're on Windows. Run First Aid and Terminal mounts if you're on Mac. Only format as an absolute last resort, after you've recovered what matters.
Hit a wall somewhere in these steps? Tell me what you're seeing – the exact error message, your OS version, and the drive model – and I'll tell you what to try next. I read every comment.
Related reading: