Frequently Asked Question
MacOS USB Recovery Media
Last Updated 7 years ago
Use the 'createinstallmedia' command in Terminal
- Download the OS X installer from the Mac App Store. Quit the installer if it opens automatically after downloading. The installer will be in your Applications folder.
- Mount your USB flash drive or other volume. You could also use a secondary internal partition.
- Open the Terminal app, which is in the Utilities folder of your Applications folder.
- Use the
createinstallmedia
command in Terminal to create the bootable installer. Examples of this command are in the next section. For detailed usage instructions, make sure that the appropriate Install OS X app is in your Applications folder, then enter one of the following paths in Terminal:
Path for El Captain
/Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia
Path for Yosemite
/Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia
Path for Mavericks
/Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia
Examples
This is the basic syntax of the command. Replace<var>volumepath</var>
with the path to your USB flash drive or other volume, and replace <var>installerpath</var>
with the path to the Install OS X app. Example for El Captain
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app
Example for Yosemite
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ Yosemite.app
Example for Mavericks
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ Mavericks.app