MacOS – restore Mac OS Mountain Lion to factory settings without discs or time machine backups

backupbootmacosrestore

I installed XCode 3 on Mac OS Mountain Lion 10.8 and now I am getting the Apple BSODs.

Can I do a system restore without having the discs as I seem to have nothing to use, also I have no Time Machine backups setup.

I cannot get into the machine (as it gets stuck in a infinite boot loop) unless I hold SHIFT and go into Safe Mode. Cmd + R doesn't work, so I can't get into recovery mode.

Thankfully I have little to no data on the disk that I want to keep, so i'd happily return to factory settings – but I don't know how, or even if this is possible.

Here is the screen I am getting on my iMac:
enter image description here

Best Answer

OK,

Reading you question lets clarify few things first.

You say Control-R! but it has to be the Command-R.

Then you say you can get in to the Safe mode!. If so:

With your Mac running in Safe Mode, you can troubleshoot the issue you were having, such as by deleting an application that's causing problems, removing a startup or login item that's causing issues, or launching Disk First Aid and repairing permissions.

If you get in the CMD-R mode use the option 4 first to see if it can be repaired.

enter image description here

If your Mac problem is a little less common — your hard drive has failed or you’ve installed a hard drive without OS X, for example — Internet Recovery takes over automatically.

enter image description here