Skip to content

Instantly share code, notes, and snippets.

@developish
Created January 9, 2013 22:47
Show Gist options
  • Save developish/4497717 to your computer and use it in GitHub Desktop.
Save developish/4497717 to your computer and use it in GitHub Desktop.
How to destructively remove unnecessary "Boot OS X" record from a drive by completely reformatting
# where /dev/disk3 is the disk you want to reset
# GPT is the GUID partition table
# HFS+ is the Apple HFS format
diskutil partitionDisk /dev/disk3 GPT HFS+ newDiskName 100%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment