Skip to content

Instantly share code, notes, and snippets.

@latish
Forked from cobyism/osx-install-media.md
Created October 22, 2013 20:25
Show Gist options
  • Save latish/7107520 to your computer and use it in GitHub Desktop.
Save latish/7107520 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