Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. # Disk should be /dev/disk0
  2. # use diskutil list to confirm and replace /dev/diskN below
  3.  
  4. dd if=/dev/zero of=/dev/diskN bs=512 count=1
  5. diskutil partitionDisk /dev/diskN GPT JHFS+ "Macintosh HD" 0b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement