Disk Utility plays a vital role in fixing the disk errors and issues on Mac OS. Mostly you can rely on Disk Utility but sometimes it fails to solve the disk issues and throws different errors. One such error message is ‘Disk Erase failed with the error: Couldn’t unmount disk’ or “Disc erase failed couldn’t unmounts disc’.
This error message generally occurs when trying to repair, format, partition, or modify the boot drive or internal disk using Disk Utility on a Mac device.
No doubt, it is one of the most annoying issues users came across on Mac but luckily you can fix this error with some quick tips that are mentioned below in this post.
So, if you want to fix the below-shown error then read this article till the end and get rid of this problem effectively.
In addition, here you will also get the best Hard Drive Recovery Tool for Mac to recover deleted data after solving couldn’t unmount disk mac OS error.
What Does It Imply When It Says “Couldn’t Unmount Disk Mac OS”?
If you get an error message saying can’t unmount disk mac terminal, it usually means a process on your Mac is attempting to modify your boot disk but is unable to do so because macOS won’t allow the disk from which it booted to be unmounted.
For example, you won’t be able to erase or partition your boot disk in Disk Utility because macOS will not unmount the disk. Essentially, your Mac’s erase process has failed.
Why Failed To Unmount Macintosh HD?
There are numerous reasons that can trigger the ‘failed to unmount because it is currently in use’ issue.
But below I have shortlisted the three major factors behind the occurrence of this problem.
- When the boot drive is corrupted
- If the driver is used by other applications or processes
- Virus and malware sneak into the Mac drive.
As you have known the common causes, now it’s time to deal with the above-mentioned error by applying some quick fixes.
How To Fix Couldn’t Unmount Disk Mac OS?
You should backup disk data before attempting to fix can’t unmount disk mac terminal problem with the help of the below solutions. There is the risk of losing data, and the only way to protect your data is to create a full backup.
Let’s move on to troubleshoot this issue:
- Resolve The Issue By Using A USB Boot Drive
- Using The Recovery Partition
- Using The Command Line
- Macs With Old Hardware
- Ask Specialists
Method 1: Resolve The Issue By Using A USB Boot Drive.
If the disc to be edited is the boot drive, the most straightforward way is to boot the Mac system from another drive and then run Disk Utility on the disc. You can use a USB boot device in this manner.
- To begin, connect the USB boot drive to your Mac and restart it.
- Then, in the meantime when the computer is booting, hold down the “Option” key to select the associated boot disc.
- Select “Disk Utility” from the boot menu.
- Then go to “First Aid” and double-check the disc.
- Finally, on the original disc, complete the original task.
Method 2: Fix Couldn’t Unmount Disk Mac Issue Using The Recovery Partition
The above issue can also occur when doing first aid or formatting a non-boot partition. In this situation, the problem is solved using the Recovery Partition, which is included with all subsequent versions of Mac OS X.
This does not apply to the use of partitions or formatting to change the boot disk’s configuration. The solution is then found in the prior approach. Otherwise, we proceed as follows:
- The Mac is restarted while holding down the OPTION key, and the Recovery Partition is selected.
- The Disk Utility is selected from the Boot Menu Verification, and the disc is repaired using the “First Aid” option.
You can also try to
- For disc formatting, “Erase” is employed.
If the disc causing the issue is the same as the primary boot partition, this will not work. The right way to fix the issue is to use a separate USB device.
You May Also Read: 8 Solutions To Fix Macintosh HD Not Mounted
Method 3: Using The Command Line
You can also try to fix the couldn’t unmount disk mac OS problem by using the command line to force the disc to be unmounted.
Follow the steps below to get started:
- To begin, you must open the Terminal application.
- After that, type “diskutil list” to get a list of all the discs on the Mac.
- You should now locate the disc that you want to unmount forcefully.
- Finally, type “sudo diskutil unmountDisk force /dev/diskx” on the command line. “/dev/diskx” should be replaced with the correct disc number, such as “/dev/disk1.”
If this solution doesn’t work, try the next one.
Method 4: Macs With Old Hardware
The couldn’t unmount disk external hard drive mac error on older Macs that don’t have a T2 security chip:
- Insert a disk containing a bootable installation of macOS.
- Select System Preferences from the Apple menu.
- Select the Startup Disk option.
- Enter your admin username and password by clicking the padlock.
- Choose the disk that you just connected.
- Restart your Mac after quitting System Preferences.
- Launch Disk Utility after your Mac has restarted and try whatever you were trying to do again.
Method 5: Ask Specialists
If the above DIY fixes fail to resolve failed to unmount Macintosh HD, then it might possible that your boot drive or mac disk is totally damaged. In such a situation, you need to visit a nearby disk repair shop or you can contact online disk repair facility for help. They will definitely help you to tackle the situation as soon as they can.
When An External Disk Has Failed To Unmount Macintosh HD, What Should You Do?
When you receive an error message stating then an external disk cannot be ejected. It might possible that there’s an application is running which uses a volume that you are trying to release.
In such a case, you will have to do the following things:
- Select Force Eject from the drop-down menu. This will override the error and remove the disk, but the data on it may be damaged.
- Locate which application is using the disk and close it before attempting to eject it again.
You May Also Read: Fix Your Computer Restarted Because Of A Problem Mac
Recover Data From Macintosh HD After Fixing Can’t Unmount Disk Mac
Imagine being unable to access videos, documents such as spreadsheets, or thousands of photos and your external drive fails to mount on Mac. It is really very frustrating, isn’t it? Well, there is nothing to concern, you can easily recover deleted data from a hard disk on Mac using Hard Drive Data Recovery Tool.
The best thing about this utility is that it has enough capability to retrieve files from internal as well as external hard disks on macOS Catalina, Mojave, Big Sur, and other macOS/OS X variants.
It also supports Mac photo recovery on external hard drives with the following file systems:
APFS, HFS, HFS+, NTFS, FAT, and ex-FAT.
So, just download and install this program on your macOS and follow the below steps to know how to run this software.
Step 1: Select Type of Data
First of all, you have to select the type of file you want to recover and then click on 'Next' option.
Step 2: Select Location
Next, you have to select the storage drive from where you have lost the data.
Step 3: Scan & Recover
After selecting the storage drive, you have to Scan, then Preview and after that Recover the files from Mac storage disk.
The macOS is generally good in avoiding issues, so “couldn’t unmount disk macOS” may not be a common error on your Mac PC.
Nevertheless, users can still come across this problem while repairing, formatting, and partitioning the boot drive using Disk Utility.
So, from the next time whenever you encounter ‘failed to unmount because it is currently in use’, all you need to apply the solutions mentioned above in this post.
If our recommended methods worked for you, then share this post with your friends, family, and relatives.
Alex is an expert technical writer with 7+ years of experience. His in-depth knowledge about data recovery and fascination to explore new DIY tools & technologies have helped many. Alex has a great interest in photography and loves to share photography tips and tricks with others.