Create a Bootable USB Flash Drive of the OS X Mavericks Installer

1
Create a Bootable USB Flash Drive of the OS X Mavericks Installer

USB Flash drive being inserted into a Mac Book Pro
For this guide, we're going to concentrate on creating a bootable USB flash drive to hold the OS X Mavericks installer. Getty Images | kyoshino

OS X Mavericks is the third version of OS X to be sold primarily as a download from the Mac App Store. This has several advantages, the biggest of which is almost immediate delivery. With just a click or two, you can download and install the software from the online store.

As with previous downloadable OS X installers, this one assumes that you're ready to go; it launches the OS X Mavericks installation app as soon as the download is complete.

That's all well and good for many Mac users, and very convenient as well, but I like to have a physical copy of the installer, just in case I need to reinstall the OS, or wish to install it on another Mac I own, without going through the download process again.

If you would like to have a physical backup of the OS X Mavericks installer, our guide will show you how to create it.

Two Methods of Creating a Bootable Mavericks Installer

There are two different methods that can be used to create a bootable Mavericks installer. The first one makes use of Terminal and a hidden command that is deep within the Mavericks installer package that can create a bootable copy of the installer on any mounted bootable media such as a flash drive or external drive. 

It's only real disadvantage is that it doesn't work directly to burn a bootable DVD. It does, work very well when a USB flash drive is a targeted destination. You can find out more about this method in the guide:

How to Make a Bootable Flash Installer of OS X or macOS

The second way and the one we will take you through here is a manual method that uses the Finder and Disk Utility to create the bootable installer.

What You Need

You can create the physical backup of Mavericks on a number of different types of media. The two most common are probably USB flash drives and optical media (a dual-layer DVD). But you're not limited to these two options; you can use any type of bootable media, including external drives connected via USB 2, USB 3, FireWire 400, FireWire 800, and Thunderbolt. You can also use an internal drive or partition if your Mac has more than one internal drive installed.

For this guide, we're going to concentrate on creating a bootable USB flash drive to hold the OS X Mavericks installer. If you prefer to use an internal or external drive, the process is similar, and this guide should work just fine for you.

  • A valid copy of OS X Mavericks purchased and downloaded from the Mac App Store. If needed you can re-download OS X Mavericks
  • A USB flash drive that's at least 8 GB in size; a larger flash drive is fine, too.

2
Finding the OS X Mavericks Installer Image

The Show Package Content option in the Finder
Right-click or control-click the Install OS X Mavericks file and select Show Package Contents from the pop-up menu. Screen shot courtesy of Coyote Moon, Inc.

In order to create a bootable copy of the OS X Mavericks installer, you must locate the InstallESD.dmg file that's hidden in the OS X Mavericks installer you downloaded from the Mac App store. This image file contains a bootable system and the files necessary to install OS X Mavericks.

Since the installer image file is contained within the OS X Mavericks installer app, we must first extract the file and copy it to the Desktop, where we can then easily make use of it.

  1. Open a Finder window and navigate to your Applications folder.
  2. Look through your list of applications and locate the one named Install OS X Mavericks.
  3. Right-click or control-click the Install OS X Mavericks file and select Show Package Contents from the pop-up menu.
  4. The Finder window will display the contents of the Install OS X Mavericks file.
  5. Open the Contents folder.
  6. Open the SharedSupport folder.
  7. Right-click or control-click the InstallESD.dmg file, and then select Copy "InstallESD.dmg" from the pop-up menu.
  8. Close the Finder window, and return to your Mac's Desktop.
  9. Right-click or control-click on an empty area of the Desktop and select Paste Item from the pop-up menu.
  10. The InstallESD.dmg file will be copied to your Desktop. This can take a bit of time because the file is around 5.3 GB in size.

When the process is finished, you'll find a copy of the InstallESD.dmg file on your Desktop. We'll use this file in the next series of steps.

3
Copy the Mavericks Installer Files to Make a Bootable USB Flash Drive

Disk Utility Restore used to clone OS X Mavericks installer.
Drag the BaseSystem.dmg file from the OS X Install ESD window to the Source field in the Disk Utility window. Screen shot courtesy of Coyote Moon, Inc.

With the InstallESD.dmg file copied to the Desktop (see page 1), we're ready to create a bootable version of the file on a USB flash drive.

Format the USB Flash Drive

WARNING: The next series of steps will erase all data on the USB flash drive. Before proceeding, make a backup of the data on the flash drive, if any.

  1. Insert the USB flash drive into one of your Mac's USB ports.
  2. Launch Disk Utility, located in /Applications/Utilities.
  3. In the Disk Utility window that opens, use the sidebar to scroll through the list of storage devices connected to your Mac and locate the USB flash drive. The drive may have one or more volume names associated with it. Look for its top-level name, which is usually the name of the drive's manufacturer. For instance, my flash drive's top-level name is 30.99 GB SanDisk Ultra Media.
  4. Select the top-level name of your USB flash drive.
  5. Click the Partition tab.
  6. From the Partition Layout drop-down menu, select 1 Partition.
  7. Click the Format drop-down menu and ensure that Mac OS X Extended (Journaled) is selected.
  8. Click the Options button.
  9. Select the GUID Partition Table from the list of available partitioning schemes, and then click the OK button.
  10. Click the Apply button.
  11. Disk Utility will ask for confirmation that you wish to partition the USB flash drive. Remember, this will erase all of the content on the flash drive. Click the Partition button.
  12. The USB flash drive will be erased and formatted, and then mounted on your Mac's Desktop.

Reveal What Is Hidden

The OS X Mavericks installer has a few hidden files that we need to be able to access in order to make the USB flash drive bootable.

  1. Follow the instructions in View Hidden Folders on Your Mac Using Terminal to make the hidden files visible.

Mount the Installer

  1. Double-click the InstallESD.dmg file that you copied to the Desktop earlier.
  2. The OS X Install ESD file will be mounted on your Mac and a Finder window will open, displaying the contents of the file. Some file names will appear dim; these are the hidden files that are now visible.
  3. Arrange the OS X Install ESD window and the Disk Utility window so that you can easily see both of them.
  4. From the Disk Utility window, select the USB flash drive's name in the sidebar.
  5. Click the Restore tab.
  6. Drag the BaseSystem.dmg file from the OS X Install ESD window to the Source field in the Disk Utility window.
  7. Select the USB flash drive volume name (untitled 1) from the Disk Utility sidebar and drag it to the Destination field.
  8. If your version of Disk Utility contains a box labeled Erase Destination, make sure that box is checked.
  9. Click Restore.
  10. Disk Utility will ask for confirmation that you wish to erase the destination volume and replace it with the contents of BaseSystem.dmg. Click Erase to proceed.
  11. Supply your administrator password, if required.
  12. Disk Utility will start the copy process. This can take a bit of time, so relax, play a game, or explore some of the other articles on About.com: Macs. When Disk Utility finishes the copy process, it will mount the USB flash drive on the Desktop; the name of the drive will be OS X Base System.
  13. You can quit Disk Utility.

Copy the Packages Folder

So far, we've created a bootable USB flash drive that contains just enough of a system to allow your Mac to boot. And that's about all it will do until we add the Packages folder from the InstallESD.dmg file to the OS X Base System you just created on your flash drive. The Packages folder contains a series of packages (.pkg) that install various pieces of OS X Mavericks.

  1. Disk Utility should have mounted your flash drive and opened a Finder window labeled OS X Base System. If the Finder window isn't open, locate the OS X Base System icon on the Desktop and double-click it.
  2. In the OS X Base System window, open the System folder.
  3. In the System folder, open the Installation folder.
  4. Within the Installation folder, you'll see an alias with the name Packages. Right-click the Packages alias and select Move to Trash from the pop-up menu.
  5. Leave the OS X Base System/System/Installation Finder window open; we'll be using it in the next few steps.
  6. Locate the Finder window called OS X Install ESD. This window should be open from a previous step. If not, double-click the InstallESD.dmg file on the Desktop.
  7. In the OS X Install ESD window, right-click the Packages folder and select Copy "Packages" from the pop-up menu.
  8. In the Installation window, move your cursor to a blank area (make sure you're not selecting any item already in the Installation window). Right-click in the blank area and select Paste Item from the pop-up menu.
  9. The copy process will take a bit of time. Once it's complete, you can close all of the Finder windows, and eject the OS X Install ESD image and the OS X Base System flash drive.

You now have a bootable USB flash drive that you can use to install OS X Mavericks on any Mac you own.

Hide What Should Not Be Seen

The last step is to use Terminal to hide the special system files that shouldn't normally be visible.

  1. Follow the instructions in View Hidden Folders on Your Mac Using Terminal to make these files invisible again.