-
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.