How to install OS X on a Windows only Mac? I tried to use Boot Camp Assistant to install Windows on my MacBook Air. Long story short, due to installation issues, I wiped my MacBook Air drive.

I couldn't get my Mac to recognise a bootable disc of Yosemite made using this guide. After some more fidling I managed to install Windows 7 on my Mac but now I need to find a way to install OS X.
Turn your Mac off.
Turn it on, but hold down the Option key until you see images of two hard drives on screen.
Use the arrow keys to select "Recovery", press enter when you have selected it.


If you wish to erase Windows and your Windows data, if not, skip to step 9:


Click Disk Utility.
Click the partition under whatever your internal SSD is called, typically the brand name followed by some seemingly meaningless characters.
Select Erase in the toolbar
Confirm you wish to erase the drive
Upon completion of the wipe of your drive, close the window.
Select Install OS X and follow the on-screen instructions.