OSX Tips:  Using Disk Utility

1.  Format,  Erase,  or  Reformat  a  Drive

     Previous               Home             Using Disk Utility: Contents              Contact            Next

 

This procedure will format or reformat an entire hard drive, erasing all the contents.


Note:  to format a disk for use with Time Machine backups, see Time Machine FAQ #5.


To erase or reformat a single partition without disturbing any other partitions, see Erase or Reformat a partition.


You can use Disk Utility to format an entire internal or directly-connected external hard drive, but not the same drive you’re running from.   To erase or format a drive connected to a network, you must connect it directly to your Mac via USB or Firewire.

Partitions to be used by Boot Camp must be added and managed by Boot Camp Assistant only.  See Mac 101: Using Windows on your Mac via Boot Camp for details.

To format, erase, or reformat an internal or external HD that’s NOT the one you’re running OSX from, start the Disk Utility app in your Applications/Utilities folder.  Then see the blue box below.

To format, erase, or reformat your Startup volume (the OSX volume on your internal HD),  you must start your Mac up from a different source: 


  1. On Lion or later, the Recovery HD or OSX USB thumb drive.

  2. On Snow Leopard or earlier, your OSX Install disc (or OSX USB thumb drive on a MacBookAir).

  3. Or, a different disk that has OSX installed on it.  Be sure you use a compatible version of OSX -- if you’re running Leopard, use a Leopard disc;  if you’re running Snow Leopard, use a Snow Leopard disc.

(If you're not sure what version of OSX you're running, see OSX Versions).


To start up from your OSX Install disc, insert it in the SuperDrive (or insert the Software Reinstall drive on a MacBook Air).   Then:


  1. Either wait for the Mac OS X Install DVD window and double-click the Install icon;  or power down, then start up while holding down the "C" key.  Either way, that takes a few minutes.

  2. Select your language when prompted.



  1. On the next screen, select Utilities in the Menubar, then Disk Utility.


 

 

The sample below shows how to format an external HD (a LaCie, in this case).  The same steps are used to format your Startup volume  (internal HD) -- just select the one you want.


The sample shows making 2 partitions;  the same steps work for 1, 3, or more.



  1. a.When Disk Utility starts, select the top line for the drive in the sidebar (the line with the size and make/ID).


  1. b.Select the Erase tab, then confirm.  This will erase the entire disk. 


  1. If you want, you can select Security Options to physically erase the entire disk by writing over everything.  This will take quite a while, and usually isn’t necessary, especially on a new disk, and can’t be done on an SSD.  See the green box below for details. 


  1. This may not work if the drive is already set up with a non-Apple Partition Map Scheme, such as is used on Windows.  If that happens, just continue with item c.



  1. c.Select the Partition tab, then set the number of partitions from the pop-up  menu below Volume Scheme  (use 1 partition unless you need more). 


  2. Sometimes you can't change a MBR drive to GUID or APM and change the number of partitions at the same time; if that happens, make a single partition with GUID or APM first, then re-format with the desired number.


  1. d.For each partition, click on it (it will then be outlined in blue), then supply a name (this is the name that will appear on your desktop and/or Finder sidebar) and size (either by typing in the box or dragging the dividers in the diagram), and select the desired Format from the pop-up.  In most cases, you’ll want Mac OS Extended (Journaled).  See Disk Formats for details.



  1. e.Click Options, then choose either
    GUID or Apple Partition MapGUID is required for an OSX volume on an Intel Mac;  Apple Partition Map for a PPC Mac.


  1. f.When you've got everything the way you want it, click Apply.  You’ll see a confirmation prompt, explaining exactly what’s about to happen.  Read it carefully;  if data is erased, it will be very difficult and expensive to get some of it back. 


  1. It will only take a few moments for

  2. the process to complete.

 

    Previous              Home                 Using Disk Utility: Contents               Contact               Next

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

If you get a message saying "Could not unmount disk," some other process is using (or trying to use) the disk: 

  1. If you're running any anti-virus software, exclude the disk from it or turn it off.

  2. Exclude it from Spotlight indexing, via System Preferences > Spotlight > Privacy.

  3. If you installed any software that came with the disk, uninstall it.

If it still won't unmount, start your Mac up from an alternate source, per the yellow box above, and use that copy of Disk Utility.

Security Options can overwrite the disk with zeros, to prevent recovery of erased files.


The windows below are different, but the function is the same.

In most cases, a single pass is plenty. 

                Lion 10.7.x and later                  Snow Leopard 10.6.x and earlier