Skip to main content
3 of 4
deleted 14 characters in body
Michael Mrozek
  • 95.7k
  • 40
  • 245
  • 236

How to force drop all partitions and erase disk from terminal?

My question is in fact related to OS X, however I'm using Linux tools to resolve my problem.

I'm trying to delete all the partitions on my SSD drive and create new GUID (HFS+) partition table. Native Disk Utility is unable to eject disk to re-partition it. From the terminal, which is included in the OS X install, I've ran diskutil and here is the output:

enter image description here

diskutil unmountDisk force /dev/disk0...12 also can't unmount disks.

I've started Ubuntu 12.10 from USB, tried to delete all partitions with GParted (except the recovery partition); it seems to be ok, but the disk is still unavailable for creating partitions with Apple Disk Utility. And certainly I can't create HFS+ partitions in GParted, cause I don't have hfsprogs installed, and there is no way to install 'cause I don't have Internet connection (Ubuntu can't work with Mac Book Retina wifi adapters).

So, the main question is what are these 12 partitions and how to delete them and create one HFS+ partitions?

upad: enter image description here

Ilya Rusanen
  • 131
  • 1
  • 1
  • 4