Disk Unmount error

I am trying to erase my mac ssd using terminal in recovery mode. I tried :

  1. diskutil erasedisk APFS MACOS GPT /dev/disk0 : this command shows -

Starting erase on disk0

Unmounting disk

Error: -69888 : Couldn't unmount disk

Then I tried force unmounting disk0 by - diskutil unmountDisk force /dev/disk0, but this also shows :

Forced Unmount of disk0 failed: atleast one volume could not be unmounted


i had erased my mac before using disk utility but there now its showing it as unformatted and i am stuck.

Can someone help ?

Thanks.

MacBook Air

Posted on Jun 4, 2019 3:25 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 4, 2019 9:07 PM

Try booting into Internet Recovery Mode to erase the drive. You are booting into local Recovery Mode from the SSD itself which is why it cannot unmount the drive. You are also attempting to erase the whole drive (disk0) and not just the "Macintosh HD" volume which would be something like "disk0s2" or perhaps "disk1s2".

2 replies
Question marked as Top-ranking reply

Jun 4, 2019 9:07 PM in response to alpha_gohan7435

Try booting into Internet Recovery Mode to erase the drive. You are booting into local Recovery Mode from the SSD itself which is why it cannot unmount the drive. You are also attempting to erase the whole drive (disk0) and not just the "Macintosh HD" volume which would be something like "disk0s2" or perhaps "disk1s2".

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.

Disk Unmount error

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