

Unmount was dissented by PID 1 (/sbin/launchd) Unmount of disk0 failed: at least one volume could not be unmounted Then I read about the force unmount to solve it but appear this message: Gpt remove: unable to open device '/dev/disk0': Resource busy I read some posts, but when I try to run the function: Next, I installed macOS on the Ubuntu partition and I am trying to repair the lost partition from the terminal. I tried to fix with Disk Utility on cmd+r, but it did not work.

When I restart the MacBook and pressed option, nothing appeared. After deleting my Ubuntu partition, I lost my principal partition of macOS x. I have an issue with my MacBook mid 2012.
