Last active
January 13, 2016 06:22
-
-
Save borestad/481f2cab32554cfd35f0 to your computer and use it in GitHub Desktop.
Bootable USB Drive for OS X El Capitan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# This script assumes 2 things | |
# 1. One have already downloaded the El Capitan ( /Applications/Install OSX El Capitan.app) installer through Appstore or at leaast put "Install OSX El Capitan.app" into the /Apps folder | |
# 2. A fresh 8 GB+ USB Memory is inserted and have the name "Untitled" | |
# | |
# Installation instructions: | |
# 1. Insert a USB stick into your computer (it will be totally erased - make sure you backup your important files on that USB) | |
# 2. Open up a terminal (Terminal.app, iTerm etc) | |
# 3. Fire up Disk utilities | |
# - I.e `open /Applications/Utilities/Disk\ Utility.app` | |
# 4. Erase your USB and create a OSX Journal partition called "Untitled" (this is important). Wait for it to be completed. | |
# 5. Run the following command below: | |
########################################################################## | |
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction | |
########################################################################### | |
# You should now see something like: | |
# sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction | |
# Password: | |
# Erasing Disk: 0%... 10%... 20%... 30%...100%... | |
# Copying installer files to disk... | |
# Wait and drink a cup of coffee | |
# If you want to know some stats (Read/write speed), you can fire up another terminal (or tab), i.e <Apple button>+T and run this command: | |
iostat -d 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment