How to Recover Data from a Hard Drive That Won't Boot
In this article
If your hard drive won't boot, you can still recover your files by removing the drive and connecting it to a working computer as a secondary drive, or by using a bootable recovery USB. The key is to avoid further writes to the original drive and to use the right tools. Here's the step-by-step process.
What You'll Need
- A working computer (desktop or laptop) with an available USB port or internal drive bay.
- A USB-to-SATA/IDE adapter or an external hard drive enclosure (for laptops, a 2.5-inch enclosure; for desktops, a 3.5-inch enclosure or a direct SATA cable).
- A USB flash drive (8 GB or larger) if you plan to boot from a live Linux USB.
- A second storage device (external drive or large USB stick) with enough free space to hold the recovered files.
- Optional: A Torx or Phillips screwdriver if you need to open the computer case or remove the drive.
Step-by-Step
- Power down and disconnect everything. Turn off the non-booting computer and unplug it from the wall. If it's a laptop, remove the battery if possible.
- Remove the hard drive. Open the computer case or bottom panel. Locate the hard drive (usually a 2.5-inch or 3.5-inch metal box). Unscrew it from the bracket, disconnect the SATA cable and power cable, and slide it out. For laptops, you may need to remove a dedicated drive bay cover.
- Connect the drive to a working computer. Use a USB-to-SATA adapter or an external enclosure. Plug the drive into the adapter, then plug the adapter into a USB port on the working computer. If you have a desktop, you can also connect the drive directly to a free SATA port and power connector inside the case, but the USB method is simpler and safer.
- Check if the drive is detected. On the working computer, open File Explorer (Windows) or Finder (Mac). If the drive appears as a new drive letter (e.g., D: or E:), you can browse it directly. If it doesn't appear, proceed to the next step.
- If the drive isn't recognized, use a live Linux USB. On another working computer, download a Linux distribution like Ubuntu or Linux Mint. Use a tool like Rufus (Windows) or Etcher (Mac/Windows) to create a bootable USB drive. Insert the USB into the non-booting computer and boot from it (usually by pressing F12, F2, or Del during startup to choose the boot device). Choose "Try Ubuntu" or "Try Linux Mint" without installing.
- Mount the drive in Linux. Once Linux loads, open the file manager. The internal drive should appear under "Devices" or "Other Locations." Click it to mount it. If it asks for a password, use the default (usually blank or "ubuntu").
- Copy your files. Connect an external drive or USB stick to the Linux computer. In the file manager, navigate to the folders you want to recover (e.g., Documents, Pictures, Desktop). Select them and drag them to the external drive. If you have many files, you can use the command line with
cporrsyncfor more control. - Safely eject and shut down. When the copy is complete, right-click the external drive and choose "Safely Remove" or "Eject." Then shut down Linux and remove the USB stick.
Common Mistakes
- Continuing to boot the broken drive. Every time you try to boot from a failing drive, you risk further damage. Stop after the first failed boot.
- Installing recovery software on the same drive. Never install anything on the drive you're trying to recover; that overwrites data.
- Using the wrong adapter. Make sure the adapter matches the drive type (SATA vs. IDE) and size (2.5-inch vs. 3.5-inch). Some adapters need external power for 3.5-inch drives.
- Forgetting to check the BIOS/UEFI. If the drive isn't detected, it might be disabled in the BIOS. Restart, enter BIOS (F2/Del), and check that the SATA port is enabled.
- Copying to the same drive. Never copy files to the same failing drive; use a separate external drive.
Tips
- Prioritize your most important files. Copy documents, photos, and databases first; then less critical files if space allows.
- Use a USB 3.0 port for faster transfer. If your adapter and computer support it, USB 3.0 (blue ports) is much faster than USB 2.0.
- If the drive makes clicking or grinding noises, stop immediately. That's a sign of mechanical failure. Unplug it and consider professional recovery services.
- Keep the drive cool. If it's running hot, let it cool down before attempting more copies.
- Use a disk imaging tool first. If you have time, create a sector-by-sector image of the drive using a tool like
ddrescue(Linux) or a commercial tool, then recover from the image. This reduces stress on the original drive.
Troubleshooting
Drive not detected in Windows or Mac: Try a different USB port or cable. If it's a 3.5-inch drive, ensure the adapter has its own power supply. Check Device Manager (Windows) or Disk Utility (Mac) to see if the drive appears but has no drive letter. If it shows as "uninitialized" or "raw," you may need to use data recovery software like TestDisk or PhotoRec (free, open-source) to recover partitions or files.
Drive is detected but shows as RAW or unformatted: Do not format it. Use TestDisk to rebuild the partition table, or PhotoRec to recover files directly by scanning the raw data. These tools run from a command line or a live Linux session.
Drive makes noise or is very hot: Stop immediately. Unplug it and do not attempt further software recovery. Mechanical failure requires professional clean-room recovery, which is expensive but often the only option.
Linux doesn't see the drive: Open a terminal and type lsblk to list all block devices. If it doesn't show, the drive may be physically dead or the SATA controller is not recognized. Try a different adapter or a different computer.
Copy fails due to read errors: Use ddrescue in Linux to copy the drive in chunks, logging errors. It will copy as much as possible and skip bad sectors. Then recover from the copied image.
Frequently Asked Questions
Can I recover data from a hard drive that won't boot at all?
Yes, as long as the drive is physically recognized by another computer. If it's completely dead (no spinning, no detection), professional recovery may be needed.
Is it safe to open the hard drive to recover data?
No. Opening a hard drive exposes the platters to dust and can destroy the data. Only professionals in clean rooms should do that.
How long does data recovery take?
It depends on the drive size and health. A simple copy of a healthy drive can take a few hours; a failing drive might take days or might fail entirely.
Can I use data recovery software on the broken drive itself?
No, you should never install or run software on the drive you're trying to recover. Always connect it as a secondary drive to a working system.
Will formatting the drive help?
Formatting erases data and makes recovery much harder. Never format a drive you want to recover.
What if the drive is encrypted (e.g., BitLocker)?
You'll need the encryption key or password. Without it, the data is unreadable even if you recover the raw sectors.