watch They are unable to erase or partition the drive.
The error, which is thrown, is the: The error occurs in such situations like formatting Mac as well as partitioning and verification and repairing of Mac disk. The reason for this error is the modification of the boot drive, or it is being used by some other process or application. If the internal drive is causing the issue because the OS X Recovery exists as a partition on the physical disk, unable to modify or unmount the internal drive, then the preference must be given to a network drive or an external drive.
Disk Utility can be run from the external drive. The version of the OS X does not matter, by at least must be The one and only requirement are that Disk Utility must reside on the drive. Formatting the hard drive or partition scheme will recreate new HFS file structure on the hard drive, which will be free from cryptic errors.
This is the most recommended method to repair the error. Any OS X boot drive is needed to complete the task. But, the important point to remember is that the installer or the recovery drive must reside in the drive, separate from the primary boot disk with the installed OS on it. The above steps offer a resolution of the problem. The errors could have been unresolvable without a boot drive. Therefore, a bootable thumb drive was a good option. For the older Mac OS X like The above error may also be triggered due to first Aid or while formatting a non-boot partition.
In this case, a resolution of the problem occurs with the Recovery Partition, which comes with all the newer versions of the Mac OS X. However, this is not applicable for the modification of the boot disk with the help of partitions or formatting. Then the resolution lies in the previous method. Otherwise, we follow the steps: This will not work with the disk that is throwing the error is the same as the primary boot partition. The solution lies only in using a separate USB drive for fixing the error.
Vishal is a data recovery expert Stellar addressing several data loss scenarios on a macOS system. He loves to read autobiographies and his personal favourite is of Steve Jobs.
View More. Please help me recover as the SSD contains important projects and documents. I suggest you to install Stellar Data Recovery Professional for Mac to recover your important documents and to avoid any data loss risk. The software scans your unrecognized SSD and list all the recoverable files. To save the files, you need to register the software. Leverage Stellar Mac Data Recovery and you can recover data from unmounted disk conviniently. Thanks for another informative blog.
Where else could I get that kind of info written in such a perfect way? Would you recommend some solution for data recovery? Yes, we have solution for unmounted data recovery on MacOS. You can watch the tutorial video and then download Stellar Mac Data Recovery to recover your files. Recently i bought it from my friend.
Then i upgraded it to Mac OS high sierra successfully. I installed it and tried many times to upgrade to Mac OS high Sierra.
But failed to installed. After 5 hours of download, the installation requires the system to restart but the restart is failed. I am very depressed and stuck with the mountain lion. Did you try erasing the Apple hard drive via recovery mode? Once in Recovery Mode, you can go to Disk Utility and erase the complete hard drive to a single partitioned drive.
And if Spotlight is the culprit, save yourself some repetition: Ze'ev 1, 9 35 Paul Gilfedder Paul Gilfedder 2, 1 12 I found this as well, but I hoped someone has a non terminal solution. I'd suggest you to improve your suggested command as: Oh excellent, I did lsof without sudo which gives a totally different set of results. Yep, sudo is definitely needed in a lot of cases. As the manpage points out: Jason Robinson Jason Robinson 3 5. I believe I tried this and it did not work. But next time I'll try it again and update my post accordingly.
Your example has quotes, not apostrophes. Which is a good thing. Thanks for pointing that out, I made corrections to the answer.
Good catch! Spotlight indexing your disk. Nicolas Barbulesco Nicolas Barbulesco 1, 7 28 I also found that mds service using it. About What's Keeping Me? This looks like valid software, but I really prefer OS X native solutions.
By native you mean something Apple provides? There's nothing like that on the GUI front. Plus, WKM has been around for several years. Thanks for your addition. Native is not the correct word, what I meant was 'non-third party'. WKM is a nice solution, but personally I prefer lsof. Just tested the app in High Sierra and it still works. It's also bit. Hobbes Hobbes In my case, the system was not corrupt. Seems unlikely. More likely Spotlight, or some other app or service has a lock on the disk.
It is an external HDD with an Apple file system. February 26, at 6: You could try the donationware application " What's Keeping me? Thanks for pointing that out, I made corrections to the answer. In this case, a resolution of the problem occurs with the Recovery Partition, which comes with all the newer versions of the Mac OS X. On trying to repair it, I received the message "Couldn't unmount disk".
In detail: With Finder as usual. This creates a little more force, but likely it will still fail. This eventually worked after Finder's delete attempts have failed. Both the command line solution and What's Keeping Me work great. To recap, command line in terminal is: Screenshots of both with the same search going on.
Foliovision Foliovision 5 Did you see this solution work? Try to relaunch the Finder. Here it works. Alain Alain 11 1. Not sure why this was downvoted; In my case, QuickLook and mds both had a hold on it despite no active finder windows open. A relaunch of the finder cleared it up and I was able to eject the volume.
I restarted my Mac and that fixed it: Genius Genius Linked Related 4. Hot Network Questions.