Table of Content
    Mac Data Recovery

    How to Recover Files from Corrupt Mac Hard Drive or Partition?


    Table of Content

      Summary: This blog shares the best-known ways to repair a corrupt Mac disk drive and salvage the inaccessible data. These methods are easy to implement and are known for their effectiveness. Download and install the free-to-try Mac data recovery software to salvage corrupt drive data.


      A corrupt Mac hard drive or partition stops responding to your commands, behaves abnormally, crashes often, goes undetected, and does not mount. In such a case, the storage drive and the data stored in it become inaccessible, and you suffer from data loss.

      Relax. You’ll learn how to recover files from a corrupt Mac storage drive or partition in the next sections, be it internal or external.

      1. Use ‘diskutil’ to Verify & Repair Corrupt Volume

      You can run the diskutil command through Terminal to verify and repair your corrupt drive or volume. To verify whether a drive or volume is corrupt, do the following steps:

      • Open Terminal from Dock for a non-start-up or external volume. In case of start-up disk, start or restart your Mac, press-hold Command + R keys; and release them when the Apple logo appears. In the macOS Recovery mode, go to Utilities > Terminal to open Terminal.
      • In the Terminal window, type diskutil list and press Return. Note down the volume ID. Type diskutil verifyVolume /Volumes/ID. Here, replace ID with the volume ID that you noted and press Return
      • If the output shows, “The volume X was found corrupt and needs to be repaired.”, type diskutil repairVolume /Volumes/ID. Here, replace ID with the ID of your corrupt volume, then press Return.
      • The Repair process will be initiated. When the repair is successful, you can access the drive or partition usually. Else, follow the instructions of the diskutil command.Pro Tip: After typing /Volumes/ enter a few words of your drive name and press Tab to autofill. The Terminal commands are case-sensitive.
      best-mac-data-recovery-software-banner

      2. Use ‘fsck’ Command to Repair Corrupt Volume

      You can run the File System Consistency Check (FSCK) command by using the Terminal app in your macOS with specific parameters to repair your corrupt APFS or HFS partition. Steps are as follows:

      • In case of boot volume, start or restart your Mac, press-hold Command + S keys; and release the keys when some character appears. In the single-user mode, type /sbin/fsck –fy command to fix the boot volume corruption. 
      • For non-boot or external volume, open the Terminal app from Dock. Type diskutil list and press Return. From the connected drives with partition details, note the corrupt disk or partition identification number, say /dev/disk2 or /dev/disk2s2.
      • Type sudo fsck_apfs -r -d /dev/disk# to repair entire disk or sudo fsck_apfs -r -d /dev/disk#s# to repair a partition in disk. Here replace # with the noted number, then hit Return. In case the disk or volume is formatted in hfs, replace apfs with hfs in the above command.
      • Wait for FSCK to check and repair the errors. When repair succeeds, you can access your Mac volume without any trouble. If the repair fails, do as per the command’s instructions. 

      3. Restore Lost Files from Time Machine Backup

      If the above Mac drive or volume repair process doesn’t work, then you can restore your corrupt drive data by using a Time Machine backup—for that, you must have an up-to-date backup of your Mac start-up disk. But before data restoration, erase the drive by using Disk Utility to eliminate the corruption issue. Once erased, perform the following steps.

      • Ensure your Time Machine backup drive is connected to your Mac and Open Time Machine.
      • Navigate to the Mac backup and click Restore. Let the restoration process to complete. With the Time Machine application, you cannot complain about not having Mac backups. A secure backup safeguards you against any data loss situation and helps you restore your data without hampering your workflow. But, when the backup is obsolete, you must not format your corrupt Mac drive partition; instead, recover data by using a data recovery software for Mac.

      4. Recover Files with a Mac Disk Recovery Software

      When none of the above methods help, it’s time to implement a Mac data recovery software to recover your inaccessible or lost data from severely corrupt Mac partitions. Steps are as follows:

      • Download and install the trial version of Stellar Data Recovery Professional for Mac software on your MacBook, iMac, or Mac mini.
      • Select the files you wish to recover, then click Next. Select the affected drive or drive volume from the listed options and click Scan.
      Stellar Data Recovery Professional for Mac
      • If the volume is missing, choose ‘Can’t Find Volume’ and click Scan. Select the drive containing the corrupt volume, click Deep Scan, and click Search. Select the found volume, then click Scan.
      Cant find volume
      • After the scan, the software lists recovered files and folders in the left pane. Click any view type out of the File List, Classic List, or Deleted List tabs. 
      • Search and sort the results based on File NameTypeSizeCreation Date, and Modification Date. Click any file to see its preview. Select the required files and click Recover.
      Preview
      • Click Browse and choose a location where you wish to save the selected files and folders. Click Save. Wait till the software recovers files from corrupt Mac drive partition.

      *Trial version of Stellar Data Recovery Professional for Mac helps you scan and preview files, but you need to activate the software to recover them. Don’t hesitate, as the software comes with a 30-day money-back guarantee, just in case.

      Conclusion

      Retrieving data from a corrupt Mac hard drive is not easy. In some instances, the native diskutil or fsck command can’t repair a corrupt Mac partition or hard drive. In that case, software such as Stellar Data Recovery Professional for Mac becomes necessary. The software is easy to operate and doesn’t requires any technical skills. Its intuitive and user-friendly interface guides you through the 3-step process—SelectScan, and Recover.

      Was this article helpful?

      No NO

      About The Author

      Vishal linkdin

      Vishal is a data recovery expert @Stellar. He addresses data loss scenarios on a Mac. He intends to help people solve their macOS problems. Besides, Vishal prefers to read about astronomy and autobiography, and his favorite is Steve Jobs - The man who thought different written by Karen Bluementhal.

      20 comments

      1. Pingback: Robert
        1. Hello Robert,

          It does not mean if your hard drive goes bad, you cannot recover your data. Data Recovery depends on the condition of your hard drive. I mean it has physically issue or logically issue. If your hard drive has a logical issue so you can use Stellar Data Recovery Professional for mac to recover your data. In another condition which is physically damaged so, you can contact our technical support team for services. They will better assist you.
          Contacts: Email: support[at]stellarinfo.com
          Phone: +1-877-778-6087

      2. Hey
        Used step first to check the partition is corrupt or not using disk utility. I used the command to repair. Your blog guided me so well. Thank you so much for this information.

        1. Hi Monty,
          I am very glad, the information on our blog helps you to fix your problem. Keep reading new blogs for more.

      3. Unable to make a bootable USB installer for recovering corrupted Mac hard drive. The process failed twice via Disk utility. Any suggestion? I need to recover my data from the SSD. Pls help.

      4. Vishal, 200 GB of BootCamp Partition gets damaged due to some malicious virus attack, and now I am left with no data. Please tell me some suitable suggestions.
        I have not written anything new on my hard drive.

        1. Hi John,

          For recovering data of size 500 GB, Stellar Mac Data Recover Software is the best option. Give a try to this software and take the advantages of the powerful in-built features.

      5. Can I use Stellar Data Recovery for Mac to recover my deleted PDF files from a disk that is not mounting on OS X El Capitan?

        1. Stellar Data Recovery for Mac recovers data of any file extension, whether it is PDF, PPT or any other document files.

      6. HI Matthew,

        This is an indication of hard drive directory corruption. Please register Stellar Volume Repair to repair the hard drive with the help of bootable DVD. Thanks.

      7. My Mac give error – Disk Utility can’t repair my disk its a error I am using OS X 10.9.4 iMac

      8. Hi Vishal,

        MS Office files are freezing frequently on my MacBook Pro running OS X 10.10.4. I have tried disk repair but it didn’t fix the problem. Is my hard drive dying?

        Regards
        J

        1. Hi Johny,

          You can also try third party disk repair permission software which repairs corrupt permissions on Mac OS X for free. You need not require registration. How to free repair Mac disk permissions with Stellar Volume Repair utility. Hope this helps. Do let me know for further query.

          Thanks.

        1. No it doesn support PowerPC. Stellar Volume Optimizer software supports repairing of Intel Macs including Yosemite, Mavericks, Mountain Lion, Lion and Snow Leopard. Hope this helps.

        2. Somehow my secondary drive seems to have its file structure messed up(error 36). Tried to do dot_clean and first aid in disk utility but it doesn’t work. It refuse to remount for a while but it mounts on restart. I can’t copy my files out at all. Will this software help to restructure the disk? Thanks

          1. Hi Wilson,

            Stellar Data Recovery for Mac helps you recovers your data from a hard drive that is unmounted or not showing up. It will not reconstruct the file structure but once you have recovered your files from the drive with Stellar then you can erase the drive. Erasing will help you create a new structure. Read this KB
            Hope this helps.

            Regards
            Vishal

      Leave a comment

      Your email address will not be published. Required fields are marked *

      Image Captcha
      Refresh Image Captcha

      Enter Captcha Here :

      Related Posts

      WHY STELLAR® IS GLOBAL LEADER

      Why Choose Stellar?

      • 0M+

        Customers

      • 0+

        Years of Excellence

      • 0+

        R&D Engineers

      • 0+

        Countries

      • 0+

        PARTNERS

      • 0+

        Awards Received