I’m not a fan of the new Disk Utility in El Capitan.  I had a drive with 3 partitions and I needed to make it a single partition drive. Disk Utility would not allow me to delete one of the partitions no matter what I tried.

So I used the following Terminal command:



diskutil partitionDisk /dev/disk2 GPT JHFS+ New 0b



To break it down:

1.  diskutil - is a command line tool used for formatting disks.

2.  patitionDisk -  is an option that can be used in diskutil.

3.  /dev/disk2 -  is the location of the disk that you want to format.  You can use the diskutil “list” option  to find this information.

4.  GPT -  is the GUID Partition Table.

5.  JHFS+ - is the default filesystem type that OS X uses.

6.  New - This is the name of the partition.  You can name it whatever you like.

7.  0b - This tells the command to use all available free disk space.

Marianne Carroll

Marianne began her professional career as a musician, recording and touring as a violinist with the 70’s disco sensation CHIC. She then moved into music management as the Executive Director of the Aston Magna Foundation for Music, which sponsored a Summer classical music festival and NEA-funded cross-cultural educational Academy in the Berkshires as well as a concert series at the Metropolitan Museum.

Speak with an Apple Certified expert today

We’d love to discuss your business challenges, even if you’re not sure what your next step is. No pitch, no strings attached.

Let's Talk