Error unmounting disk

I have been unsuccessfully trying to erase the disk of my macair before giving it away. I got an error message, so I went through command line as instructed elsewhere on this forum. However, I get the following message:



MacBook-Air-6:~ alexandraverini$ diskutil unmountDisk force /dev/disk0


Forced unmount of disk0 failed: at least one volume could not be unmounted


Unmount was dissented by PID 0


MacBook-Air-6:~ alexandraverini$ 


What should I do now?

Posted on Aug 10, 2019 1:04 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 10, 2019 2:53 AM

What happens if you run disk utility in recovery mode? Because it appears to me you are trying to erase the system disk while MacOS is running. That's not going to work.


About macOS Recovery - Apple Support

Similar questions

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Error unmounting disk

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.