Users of Mac OS X have two major utilities to verify and repair hard disks or their MacBook Air/Pro and iMac: Disk Utility and fsck.
The Terminal-savvy Mac owners will choose in favor of the command-line fsck utility. Meanwhile, most users will launch Disk Utility if their computer won’t start properly. So, why do you need to repair your Mac’s hard disk?
If your machine has sustained improper shutdowns, unexpected power cuts or system crashes, it may experience the system errors or disk directory deprecation. Fixing these errors is important to ensure your Mac’s smooth performance. Perform a thorough disk check in case any of the below symptoms become evident:
It’s worth running periodic disk checks as a part of maintenance routine before installing the operating system and updates, software, or as a preventative measure.
If Mac OS X startup has failed, running risk repair is the best solution for bringing your computer back to life. However, on macOS Sierra/High Sierra, you can run a disk check for errors:
Follow these steps to fix corruption of the directory on your system's startup disk:
Note: running disk repair on a startup disk won’t work, so you will have to boot up from your installation disk or another drive.
The Disk Utility messages will read as one of the following:
On the latest macOS versions, the Disk Utility will report something like your disk is OK or ‘your disk has been repaired.’ If disk repair fails, the message will read ‘The underlying task reported failure.’
When running a disk repair procedure on your MacBook Air/Pro or iMac, repairing disk permissions is also a good idea. The above applies to the Mac OS X versions before El Capitan. As for macOS Sierra and High Sierra, these OS versions no longer include disk permissions repair.
Error: The underlying task reported failure on exit.
Error Code -9972.
Failed to repair the disk.
Disk permissions repair can take some time depending on how fast and capacious your hard drive is.
Running sequential permissions check on several hard disks or volumes is possible. The procedure is over when the ‘Permissions repair complete’ message appears.
In the event the Disk Utility failed to repair the directory corruption it has discovered, follow the below troubleshooting instructions:
To run the verify utility on El Capitan, type in the following command in the Terminal app:
$ sudo /usr/libexec/repair_packages --verify --standard-pkgs /
In case the utility finds issues, run the repair utility in Terminal to eliminate the problem:
$ sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
Whenever your Macintosh HD corrupt needs to be repaired, Disk Utility can help you out. It checks the startup disk and other volumes on your Mac for errors and fixes them on time. Mac OS X El Capitan and earlier OS X versions verifying and repairing disk permissions using Disk Utility or Terminal commands. In macOS Sierra and High Sierra, the Disk Utility has a slightly reduced functionality. The latest Mac OS versions can repair disk permissions automatically.
The best apps don’t have to come with an overpriced subscription. Make your Mac better with MacFly Pro for less than the price of a cup of coffee $4.99 per month or save $19.9 with an annual package
Requires MacOS 10.10 (Yosemite) or later