How Do I Reformat My Hard Drive In OS X Mountain Lion?
Restart your Mac and hold Command+R during startup to enter Mountain Lion Recovery. From there you can launch Disk Utility. Click the Erase tab, select your hard drive, and then erase the disk. Quit Disk Utility and continue with a reinstall of OS X Mountain Lion.