Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mingsai/1a8335f4a4f073a6130e to your computer and use it in GitHub Desktop.
Save mingsai/1a8335f4a4f073a6130e to your computer and use it in GitHub Desktop.
If you have a Time Machine backup, you need this support page:
https://support.apple.com/kb/PH18848?locale=en_GB
If not, then you'll need to make a Yosemite USB installer of at least 8GB. (a USB3 one will be much quicker).
First download the OS X 10.10 Yosemite installer from the Mac App Store in the Purchases section (you may need to hold alt/option while selecting Purchases. Once it's downloaded, just quit the installer and set the downloaded file's name to InstallOSXYosemite.app (make sure only .app, not .app.app)
Plug in your USB drive into the computer and open Disk Utility (in Applications).
Select the USB drive from the left sidebar and click on Erase tab.
Choose Mac OS Extended (Journaled) in the format box and set the name be YosemiteInstaller
Now click on Erase button and wait until the format process completes.
Then choose Partition tab and select 1 Partition from Partition Layout dropdown menu. Click on Option and ensure GUID Partition Table is selected as the partition scheme, with its name set to YosemiteInstaller.
Launch the Terminal app (in Applications/Utilities) and copy-paste the following command in, and then hit Enter:
sudo /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/YosemiteInstaller --applicationpath /Applications/InstallOSXYosemite.app --nointeraction
This will create the bootable USB flash drive. This takes between 10-20 minutes. Do not interrupt the Terminal or eject the flash drive during the process. Once the process completes, you will see the message "Copy Complete. Done."
The OS X Yosemite bootable USB flash drive will be ready for use and you can start the clean installation process.
How to Clean Install OS X Yosemite on Your Mac
Ensure the bootable USB flash drive is plugged into your Mac and restart the computer. As soon as the start-up chime plays, press the Option key (Alt).
Choose the USB drive on the start-up drive selection screen and hit Enter/Return on the keyboard.
Wait until the Yosemite installer appears on screen. This could take a few seconds or minutes.
Click on Disk Utility and then hit Continue.
Click on Macintosh HD from the left hand-side pane and then hit Erase tab on the top-right portion of the window. Leave all the settings at their default values and then hit Erase button at the bottom right. This will wipe all files stored on your startup hard drive.
When the erasing process is complete, return to the first screen where you selected Disk Utility. Now click on Install OS X and then hit Continue.
Choose the Macintosh HD partition you erased in step 5 and then click Install.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment