How do I remove/delete a (possibly corrupt) partition from macOS High Sierra?
Solution 1:
I solved this by using the command:
diskutil eraseVolume "Free Space" %noformat% disk0s2
I solved this by using the command:
diskutil eraseVolume "Free Space" %noformat% disk0s2