Skip to content

Instantly share code, notes, and snippets.

@jk
Forked from cobyism/osx-install-media.md
Created October 17, 2013 14:07
Show Gist options
  • Save jk/7025537 to your computer and use it in GitHub Desktop.
Save jk/7025537 to your computer and use it in GitHub Desktop.

Creating a bootable OS X Mavericks USB installer

  • First, plug in an 8GB (or bigger) USB drive, and use Disk Utility to erase it
  • If you use the default settings, you should wind up with a blank drive at /Volumes/Untitled.

With that volume in place, and with the Mavericks installer sitting in /Applications/Install\ OS\ X\ Mavericks.app, run the following command in your terminal to create a bootable install media:

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction

You should see output like the following—it might take a while to finish.

Erasing Disk: 0%... 10%... 20%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.

To boot from the installer, reboot your Mac and hold down the alt/option key, and it will let you choose to boot from the USB disk.

Enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment