Skip to content →

Create a Bootable Mac OS X Yosemite Installer USB Flash Drive by Command Line

With OS X Yosemite, you can create a bootable OS X installer which can be used to install a Fresh copy osf OS X on your mac.

Before you create a bootable OS X¬† Yosemite installer, you’ll need to get the following first:

  1. The OS X Installer app from the Mac App Store.
  2. A removable media such as a USB flash drive(Minimum 8GB of space), or a secondary internal partition.
  3. A Mac running OS X Yosemite.

Okay,Now that you’ve got everything we need, Now Open up terminal app, Use the following command in Terminal for Yosemite
Installer:

sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources
/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications
/Install\ OS\ X\ Yosemite.app

It will prompt for your computer password don’t worry, Just type in the password. You’ll not see the passport as you input, its hidden so that no one can see Your password ūüôā

Now, For example, assuming you have a volume mounted at /Volumes/FlashDrive and the OS X installer app is at /Applications/Install OS X Mavericks.app you could erase “FlashDrive” and convert it into a bootable installer with this command:

sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources
/createinstallmedia --volume /Volumes/FlashDrive --applicationpath /Applications
/Install\ OS\ X\ Yosemite.app

Important Notes:

  • You may need to replace the path of OS X installer app and/or your removable media device’s name in the command.
  • Check the difference between two commands You’ll Understand what you need to change.
  • createinstallmedia¬†is an advanced option for system administrators and as such, requires some knowledge of the command line in order to be used properly. It is only intended to be used with the version of the OS X Installer app it came with.

Published in Mac OSX Operating Systems Tutorials

Comments

Leave a Reply