Last Updated: February 07, 2017
· 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 ·