How to Reinstall OS X, Wipe Your Drive And Create USB Installation Media On Mac
Macs can automatically download and reinstall their operating system. This process normally keeps your personal files, but you can choose to erase them. You can also create USB installation media to speed up installing OS X on multiple Macs.
This is normally a simple process â just boot to OS X Recovery and select Reinstall OS X. Be sure to erase your personal files if youâre selling or getting rid of your Mac, though!
Reinstall From OS X Recovery
Note: Your files and user settings will be preserved when you reinstall OS X in this way.
First, youâll need to restart your Mac. Click the Apple menu at the top of your screen and select Restart. After your Mac restarts and when you see a gray screen, press and hold down the Command (â) and R keys at the same time. Youâll enter OS X Recovery and the first thing youâll see is a âchoose your languageâ screen.
Select the Reinstall OS X option after choosing a language and youâll be walked through the process of reinstalling OS X on your Mac.
When youâre asked which drive you want to install OS X on, select your current disk â it will probably be the only disk available here. The wizard will walk you through the process.
Erase Your Personal Files and Settings
If itâs time to sell your Mac or just pass it on to someone new, you may not want to keep your personal files. You may want to erase them and perform a complete âfactory reset,â resetting the Mac to a like-new state without any of your personal data. You can do this from the OS X Recovery screen.
Before reinstalling Mac OS X on this screen, open the Disk Utility and select your Mac OS X startup disk. Click the Erase tab and use the options here to erase the entire disk. All your files â including the Mac OS X operating system itself â will be wiped away.
If you have a modern Mac, it probably uses a solid-state drive so your data wonât be recoverable. if you have a Mac with a mechanical hard drive, be sure to click the Security Options button. This allows you to perform a secure wipe, overwriting the drive with junk data so your files canât be âundeleted.â
You can now reinstall Mac OS X from the Recovery Mode screen like you would above. Youâll end up with a like-new system without your personal files.
Create and Install From USB Installation Media
You may want to create USB install media instead of downloading Mac OS X on the fly. This is especially useful if you plan to reinstall or upgrade Mac OS X on multiple computers.
Weâre covering Mavericks here because itâs the latest version. Itâs available free to all Mac users on the Mac App Store, so everyone can create installation media with this trick. Future versions of Mac OS X should work similarly.
First, youâll need to download the OS X Mavericks installer from the Mac App Store. Open the Mac App Store app, search for OS X Mavericks, and click Install App. Confirm the download â we need the installer itself to create recovery media.
Insert your USB drive. Youâll need a USB drive 8 GB or larger in size. You can also use an SD card or another type of external drive.
Close the installer when it appears â it doesnât have a built-in, graphical way to create USB installation media. To do this with a graphical interface, install the free, third-party Disk Maker X application and launch it. It will walk you through the process.
To do this with Appleâs official tools, youâll need to use the terminal. To open the Terminal app, press Command + Space, type Terminal, and press Enter.
Run the following command, replacing Name with the name of the USB drive youâve inserted. For example, if you see that the USB drive is named âDriveâ on the Mac desktop, youâd replace Name with Drive.
To speed things up, press Tab to use tab completion while typing this command or copy-paste it directly into the terminal.
Feel free to delete the Install OS X Mavericks app from the Applications folder in Finder afterwards. This will free up nearly 8 GB of space.
If you have a Mac OS X installer USB drive or DVD, you can always insert it into your Mac and boot from it to reinstall Mac OS X. To boot from an external device on a Mac, restart the Mac and hold down the Option key at the start of the boot process. Youâll be able to choose between connected boot devices.