This is an unofficial mirror of pondini.org by James Pond, who is unfortunately no longer with us.

All rights belong to James' beneficiaries.

No guarantee is made about the accuracy or completeness of this mirror.

 

OSX Tips:  Using Disk Utility

4.  Deleting  and  Resizing  Partitions

     Previous               Home             Using Disk Utility: Contents              Contact            Next

 

   Previous              Home              Using Disk Utility: Contents               Contact             Next

You can usually delete a partition, leaving an empty space, without affecting others.

Effective with Lion (10.7.x), if a disk contains an encrypted partition, no partitions on that disk can be added, resized, or deleted by Disk Utility.  If you're familiar with UNIX and Terminal, you may be able to do this with the diskutil command.  OSX Versions will show what version you're on.

You cannot resize a partition that isn't journalled.  To turn it on, select the partition and click the Enable Journaling icon in the toolbar, or select File > Enable Journaling from the menubar.

If you're running BootCamp, do not use Disk Utility to modify partitions on your startup drive.  Use Boot Camp Utility instead.

In some circumstances, you may be able to change the size of a partition.  There are some restrictions:

  1. You can reduce the size of a partition, if there’s no data in the area being eliminated.  You may see different values for Used and Available space in different places.   Usually, they will be the totals, regardless of where the data is physically located on the partition.  But on the Partition tab, Used includes all the empty space in the area where there’s data, so it’s the smallest you can make the partition.

  2. You can expand a partition, but only by moving the "bottom" of it down in the diagram, into empty space.  You cannot move the "top" of a partition.

  3. You can expand or shrink the partition you're running from, but you can't delete it.

So to expand one partition, you’ll normally have to delete the one below it in the diagram.

Start the Disk Utility app (in your Applications/Utilities folder).  Select the line for the drive in question (the top one, with the make and size), and click the Partition tab. 

If your disk doesn't appear in the sidebar, see If a disk doesn't appear in the sidebar.

The diagram shows all the partitions currently on the disk.


The light blue shading represents the total amount used in each partition (but doesn’t indicate what portions are occupied).


To delete a partition, simply click it in the diagram. 


It will be outlined in blue;  click the minus sign at the bottom.


Then click Apply.






You’ll then see a confirmation prompt.  Read it carefully, then click Remove.












The result, showing a "hole:"




And the partition has disappeared from the sidebar.

 
To expand the partition above the one just removed to fill the empty space, just drag the lower right corner down all the way.


Or if you don’t want to take up all the space, put it where you want it or enter the desired size in the box at the right.


To reduce a partition, drag the corner upwards or enter a smaller amount in the size box.


Then click Apply.





You’ll then see a confirmation prompt.  Read it carefully, then click Partition.



 

The diagram will change, but before the actual resizing starts, Disk Utility will do a Verify Disk on the partition being resized.   If you're resizing a partition on your startup disk, your Mac may respond very slowly while that's in progress.  If a problem is found, you'll get a message to the effect that the verify failed, and the disk won't be partitioned.


If it fails, run Repair Disk (not permissions) on it, per item #6, then try again.