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
Written by Mikkel Malmberg
Related protips
1 Response
after executing the above it says "could not find disk for "
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#