Disk Unmount error
I am trying to erase my mac ssd using terminal in recovery mode. I tried :
- 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