Last Updated: September 27, 2021
·
63.05K
· mikker

Erase a Mac hard drive from the Terminal (when Disk Utility fails)

I wanted to do a clean install of Mac OS X 10.8 Mountain Lion but after trying to delete the existing partition scheme, I was left with no partitions and a Disk Utility that didn't want to create some. Terminal to the rescue.

$ diskutil eraseDisk JHFS+ Name /dev/disk0

1 Response
Add your response

after executing the above it says "could not find disk for "

over 1 year ago ·