Skip to content

Instantly share code, notes, and snippets.

@dreamyguy
Last active January 6, 2016 23:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dreamyguy/7389727fa6c47117aae6 to your computer and use it in GitHub Desktop.
Save dreamyguy/7389727fa6c47117aae6 to your computer and use it in GitHub Desktop.
OSX's fresh install from external media
  • Download the latest OSX from App Store.

    • The installer will open itself after its download. Do not proceed with install - close it!
    • Once downloaded the installer will be available on Applications folder.
  • Run the following command, taking care to rename the OSX version accordingly and to specify the name of the volume (make sure the command is typed in a single line):

sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/<name-of-volume> --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction

  • The prompt will ask for system password...

Password:

  • Once the password is entered, the command will run:
Erasing Disk: 0%... 10%... 20%... 30%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
  • Connect the OSX installer drive and reboot the Mac
  • Hold down the Option key during boot to bring up the startup disk menu
  • Select the Install OS X El Capitan (for the sake of this example) media to boot from the installer volume, if it’s a USB drive it will have an orange icon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment