I want to restore OS X after installing Windows in a single boot configuration. So Windows is occupying the whole disk. Now I want to erase the hard disk and restore Mac OS X Mavericks. How do I do this?
It should be easy. Follow these steps:
- Create a bootable drive using a USB for OS X Mavericks.
- Plug in your bootable USB drive and Restart your Mac while holding the Option key.
- When it restarts, you'll have a few options.
- Select the Disk Utility option.
- In the window, at the top of the left bar, select your Mac's Main Drive and proceed with the installation.
This procedure automatically erase the content of your HD and so remove the Windows installed.
EDIT: In this page you can find information to create a bootable drive USB for instal OS X Mavericks. Moreover, if you don't have access to a Mac computer you can follow this question to proceed with a Windows computer.
You can restore OS X in Internet Recovery Mode if you have a newer Mac:
Boot to Internet Recovery Mode by pressing altcmdR. The prerequisites for an Internet Recovery are listed here: Recovery/Internet Recovery. In a few words you need the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated for a successful internet recovery.
On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot to the Recovery Netboot image which is loaded from an Apple/Akamai server.
Open Disk Utility and partition your internal disk: GUID partition scheme (use the "Options..." button at the bottom of the main pane for this), one partition, journaled HFS+.
Sometimes Disk Utility won't allow you to erase the internal disk: open Terminal and enter
diskutil umountDisk /dev/disk0and
dd if=/dev/zero of=/dev/disk0 bs=512 count=1. Then retry to erase the disk with Disk Utility.
- Close Disk Utility
- Open Restore OS X and restore the original OS X. This will restore the OS X version your Mac came with.
- After rebooting and configuring your Mac open App Store, download and install Mac OS X Mavericks (if an older OS X version was installed previously).
If you are stuck in Disk Utility not formatting your drive. Go back to Windows OS installation USB and format/delete all partition (during the process of installing Windows) after you only have one unpartitioned drive showing, quit the Windows install and restart the machine. Start the Internet recovery now by following http://support.apple.com/kb/HT4718 pressing Shift-Option-Command-R while you start. After opening the Disk Utility this time you should only see the Mac drive. Erase and the reinstall your Mac OS.
The key here is that Windows drive had to be unpartitioned by Windows installation process. This worked for me.