How to Copy Data from an Unmountable & Corrupted Hard Drive?

Abstract: Recover data from unmountable hard drives by creating a sector-by-sector image to bypass OS mounting failures and prevent further degradation.

Created: 2026-08-10 by
Recover data from an unmountable hard drive by bypassing the operating system’s standard mounting process. Use low-level imaging tools to create a sector-by-sector copy of the failing disk before attempting any file extraction. This method prevents further degradation and allows you to access files even when the filesystem is corrupted or the drive shows 100% activity due to read errors.

Immediate Safety Precautions

When a hard drive becomes unmountable and exhibits constant 100% disk activity, it often indicates that the drive head is struggling to read sectors or the filesystem metadata is severely damaged. The most critical rule in this scenario is to stop all write operations immediately. Any attempt to save new files, run antivirus scans, or defragment the drive can overwrite recoverable data.

If the drive makes clicking, grinding, or beeping noises, power it off immediately. These are signs of mechanical failure, and continued operation will destroy the platters or heads. In such cases, professional recovery services are the only viable option. However, if the drive spins up normally but simply fails to mount in your operating system, you can proceed with logical recovery methods.

Creating a Bit-for-Bit Image

The safest way to extract data from a corrupted drive is never to work on the original hardware. Instead, create a raw image file (a .img or .dd file) that contains an exact copy of every sector on the disk. This protects the original drive from further stress while allowing you to experiment with recovery tools on the image.

On Linux

Linux provides powerful command-line utilities for this task. Identify the device name of the failing drive using lsblk or dmesg | tail. It is crucial to use the correct device identifier (e.g., /dev/sdb) and not a partition identifier (e.g., /dev/sdb1).

sudo dd if=/dev/sdX of=/path/to/backup/image.img bs=4M conv=noerror,sync

The conv=noerror flag tells dd to continue copying even if it encounters read errors, filling unreadable sectors with zeros. The sync option ensures that all input data is properly aligned. This process may take a long time, especially if the drive is failing.

On Windows

Windows does not have a built-in command-line tool as robust as dd for this specific purpose. You should use third-party software like HxD (hex editor) for small drives, or dedicated imaging tools like FTK Imager or R-Studio. These tools allow you to select the physical drive and output a .E01 or .IMG file.

On macOS

macOS users can utilize the Terminal app. Similar to Linux, identify the disk using diskutil list. Then run the dd command:

sudo dd if=/dev/diskN of=~/Desktop/recovery.img bs=1m conv=noerror

Replace N with the correct disk number. Ensure you do not target a mounted volume directly, as this can cause issues.

Extracting Files from the Image

Once you have a secure image, you can attempt to recover files without risking the original hardware. There are two primary approaches: mounting the image with error tolerance or using specialized recovery software.

Mounting with Error Tolerance

In some cases, you can mount the image or the raw drive in a way that ignores filesystem errors. On Linux, you can try mounting the filesystem with the -o ro,noatime,nodiratime flags to prevent updates to access times. If the filesystem is NTFS, you might use ntfs-3g with the force option:

sudo mount -t ntfs-3g -o force,ro /dev/sdX1 /mnt/recovery

This allows you to browse and copy accessible files. If the filesystem is too corrupted to mount, skip to the next section.

Using Data Recovery Software

Run recovery software against the image file rather than the physical drive. Tools like TestDisk, PhotoRec, R-Studio, or DMDE are industry standards. PhotoRec is particularly useful because it ignores the filesystem structure and recovers files based on their signatures, making it effective for severely corrupted drives. TestDisk is better for repairing the partition table itself.

Scan the image file in these tools. They will list recoverable files. Save the recovered data to a different, healthy storage device. Do not save them back to the corrupted drive or the image file itself.

Addressing Specific Corruption Scenarios

Sometimes the issue is not just general corruption but specific structural failures. For instance, if the drive was dropped, it might still be partially readable but fail standard checks. In such cases, specialized handling is required to avoid triggering more errors. You can learn more about solutions for dropped SSDs here: Solution for Dropped SSD: No Longer Mountable or Fsck-able, but Partially Readable.

Another common issue arises when a drive disconnects unexpectedly during file operations, such as zipping files. This can leave the filesystem in an inconsistent state where it appears unmountable. Understanding how sudden disconnections affect mounted drives can help diagnose whether the corruption is logical or physical. See this guide on troubleshooting sudden disconnections: Troubleshooting Sudden Disconnection of Mounted Hard Drive During Zipping Files.

When to Seek Professional Help

If imaging fails, if the drive is not detected at all, or if you hear mechanical noises, software solutions will not work. Physical damage requires a cleanroom environment and specialized hardware. Attempting to fix physical issues yourself will likely result in permanent data loss. In these cases, contact a professional data recovery service.

Frequently Asked Questions

Can I format the drive to make it usable again?

No, formatting will erase all existing data. If your goal is data recovery, formatting destroys the filesystem structure needed to locate files. Only format the drive after you have successfully copied all important data to a safe location.

Why does my hard drive show 100% activity constantly?

This usually means the operating system is repeatedly trying to read bad sectors or resolve filesystem inconsistencies. Each failed read attempt consumes time and resources, causing the high activity meter. Continuing to use the drive in this state accelerates its failure.

Is it safe to run chkdsk or fsck on a corrupted drive?

It is risky. While these tools attempt to repair filesystem errors, they can sometimes make things worse by moving corrupted data or deleting "orphaned" files that contain important information. Always create an image backup first before running any repair utilities.

What is the difference between logical and physical corruption?

Logical corruption involves errors in the filesystem structure, such as lost cluster chains or damaged boot records, which can often be fixed with software. Physical corruption involves actual damage to the magnetic platters or read/write heads, requiring hardware intervention. Logical issues are recoverable with software; physical issues often require professionals.

Will photoRec recover folder structures?

No, PhotoRec recovers files based on their content signatures but typically discards the original filenames and directory hierarchy. You will receive a large collection of files with generic names (like f1234.jpg). If preserving folder structure is critical, use a tool like R-Studio or DMDE instead.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More