Disk Utility Can Create a Bootable OS X Yosemite Installer

MacBook Pro with OS X Yosemite is on the table


Prykhodov/Getty Images 

OS X Yosemite is a free download that comes to your Mac from the Mac App Store in the form of an installer that starts up automatically. If you follow the onscreen instructions, you'll end up with an upgrade install of OS X Yosemite on your startup drive. The process is quick, easy, and has a minor flaw.

What if you want to perform a clean install, completely erasing your startup drive? Or perhaps you'd like to have the installer on a bootable USB drive, so you don’t have to keep downloading it every time you wish to upgrade one of your Macs?

The answer is you can't, at least not if you follow the onscreen instructions. The problem is that the installer is deleted as part of the upgrade process. This means you can't upgrade another Mac without downloading the installer again. It also means you don't have an easy method of performing a clean install because you don’t have a bootable copy of the installer.

To correct this basic flaw, all you need to do is quit the installer when it automatically starts up after the download is complete, and then use one of two methods for creating a bootable USB flash drive that contains the OS X Yosemite installer.

of 04

Use Disk Utility to Create a Bootable OS X Yosemite Installer

USB flash drive with laptop

bluehill75/Getty Images

There are two methods for creating the bootable installer. Although we prefer using a USB flash drive as the destination for the installer, you can use either method to create a bootable version of the OS X Yosemite installer on any bootable media, including hard drives, SSDs, and USB flash drives.

The first method we covered makes use of a hidden Terminal command that can perform all the heavy lifting for you, and produce a bootable copy of the installer using a single command.

There is also a manual method of performing the same process, using the Finder and Disk Utility. This article will take you through the steps to manually create a bootable copy of the OS X Yosemite installer.

What You Need

  1. OS X Yosemite installer. You should have already downloaded the installer from the Mac App Store. You'll find the download in the /Applications folder, with the file name Install OS X Yosemite
  2. A USB flash drive or another suitable bootable device. As mentioned above, you can use a hard drive or an SSD for the bootable device, although these instructions will refer to a USB flash drive.
  3. A Mac that meets the minimum requirements for OS X Yosemite.

One final note: If you already installed OS X Yosemite onto your Mac, you may still wish to create a bootable copy of the installer as a troubleshooting tool, or to make additional Yosemite installations easier. In order to proceed, you'll need to re-download the Yosemite installer from the Mac App Store.

All set? Let's get started.

of 04

How to Mount the OS X Yosemite Installer Image so You Can Make Copies of It

OS X Yosemite Installer's Package Content

Coyote Moon, Inc.

The process for creating a bootable copy of the OS X Yosemite installer follows these basic steps, which we'll describe in more detail below:

  1. Mount the installer on your desktop.
  2. Use Disk Utility to make a clone of the installer.
  3. Modify the clone to allow it to boot successfully.

Mount the OS X Yosemite Installer Image

Deep within the Install, OS X Yosemite Beta file that you downloaded is a disk image that contains all of the files you need to create your own bootable installer. The first step is to gain access to this image file.

  1. Open a Finder window and navigate to /Applications.
  2. Locate the file named Install OS X Yosemite.
  3. Right-click the OS X Yosemite file and select Show Package Contents from the pop-up menu.
  4. Open the Contents folder.
  5. Open the Shared Support folder.
  6. Here you will find the disk image that contains the files we need to create a bootable installer. Double-click the InstallESD.dmg file.
  7. This will mount the InstallESD image on your Mac's desktop and open a Finder window that displays the contents of the mounted file.
  8. You may notice that the mounted image seems to contain only a single folder, named Packages. In actuality, there's an entire bootable system on the image file that is hidden. We need to use Terminal to make the system files visible. If you don't know how to do this, you can use the instructions in the article below to make the files visible: View Hidden Folders on Your Mac Using Terminal.
  9. When you've done that, we can continue.
  10. Now that the files are visible, you can see that the OS X Install ESD image contains three additional files: .DS_Store, BaseSystem.chunklist, and BaseSystem.dmg. We're going to use this Finder window in subsequent steps, so leave this window open.

With all the files we need now visible, we can move on to using Disk Utility to create a clone of the OS X Install ESD image that we mounted on the desktop.

of 04

Use Disk Utility's Restore Feature to Clone the OS X Install ESD Image

Screenshot of Using Disk Utility to Create a Clone of OS X Yosemite Installer

Coyote Moon, Inc.

The next step in the creation of a bootable copy of the OS X Yosemite installer is to use Disk Utility's Restore capabilities to create a clone of the OS X Install ESD image you mounted on your desktop.

  1. Launch Disk Utility, located at /Applications/Utilities.
  2. Make sure the target USB flash drive is connected to your Mac.
  3. Select the BaseSystem.dmg item listed in the left-hand pane of the Disk Utility window. It may be listed near the bottom, after your Mac's internal and external drives. If the BaseSystem.dmg item is not present in the Disk Utility sidebar, you can drag it there from the Finder window that appeared when you mounted the InstallESD.dmg file. Once the file is present in the Disk Utility sidebar, be sure to select BaseSystem.dmg, not InstallESD.dmg, which will also be in the list.
  4. Click the Restore tab.
  5. In the Restore tab, you should see BaseSystem.dmg listed in the Source field. If not, drag the BaseSystem.dmg item from the left-hand pane to the Source field.
  6. Drag the USB flash drive from the left-hand pane to the Destination field.
    1. The next step will completely erase the contents of the USB flash drive (or any other bootable device you dragged to the Destination field).
  7. Click the Restore button.
  8. You'll be asked if you're sure you want to erase the USB flash drive and replace its contents with BaseSystem.dmg. Click the Erase button.
  9. If requested, supply your administrative password and click OK.
  10. The restore process will take a bit of time. Once it's complete, the Flash drive will mount on your desktop and open in a Finder window named OS X Base System. Keep this Finder window open, because we'll be making use of it in subsequent steps.

We're done with Disk Utility, so you can quit this app. All that's left to do is modify the OS X Base System (the flash drive) to make the OS X Yosemite installer work correctly from a bootable device.

of 04

The Final Step: Modify the OS X Base System on the Flash Drive

Screenshot of Copying Packages Folder in Mac OSX Yosemite

Coyote Moon, Inc.

So far, we found the hidden image file within the Yosemite installer. We created a clone of the hidden image file, and now we're ready to copy a couple of files that will make the bootable version of the OS X Yosemite installer work correctly.

We're going to be working in the Finder, with the two windows we asked you to keep open during the previous steps. It can get a bit confusing, so read through the following steps first, to make sure you understand the process.

Modify the OS X Base System on Your Flash Drive

  1. In the Finder window named OS X Base System:
  2. Open the System folder.
  3. Open the Installation folder.
  4. Within this folder, you'll find an alias named Packages. Delete the Packages alias by dragging it to the trash, or by right-clicking the alias and selecting Move to Trash from the pop-up menu.
  5. Leave the Installation window open, because we'll use it below.
  6. Open the Finder window named OS X Install ESD. (If you didn't leave this window open from the earlier steps, follow the instructions in Step 2 to bring the window back.)
  7. From the OS X Install ESD window, drag the Packages folder to the Installation window you left open above.
  8. From the OS X Install ESD window, drag the BaseSystem.chunklist and BaseSystem.dmg files to the OS X Base System window (the root level of the USB flash drive) to copy them to the flash drive.
  9. Once the copying is complete, you can close all of the Finder windows.

There's one last step. Earlier, we made invisible files and folders visible. It's time to return those items to their original invisible state

Your USB flash drive is now ready to be used as a bootable OS X Yosemite installer.

You can boot from the Yosemite installer you just made by inserting the USB flash drive into your Mac, and then starting your Mac while holding down the option key. This will present the Apple boot manager, which will let you select the device you wish to start up from.