Macs built prior to August 2011 shipped with Snow Leopard. If yours shipped with Lion, no Apple ID is required to reinstall it. Boot OS X Internet Recovery by holding ⌘ option R (three fingers) when you start your Mac. Updating to Mavericks is free in either case. For complete instructions read What to do before selling or giving away your Mac
When i start up my computer as I've managed to remove everything including my operating system it takes me to the same screen as it would if i hold cmd + r. Once in that screen i click on reinstall osx at then end of this it still asks for my apple id to which it replies this account hasn't bought lion. The other options are restore from timeline (which i do not have) get help online or disk utility. As reinstall osx doesn't work is there any other way to get an operating system on my mac.
The way i see it the only problem seems to be that i haven't purchased lion with my account. Is this the case? If so how can i purchase it?
The way i see it the only problem seems to be that i haven't purchased lion with my account. Is this the case?
Yes. Any 2011 iMac that did not have Lion already installed shipped with its predecessor Snow Leopard, and included system and applications restore discs.
If your Mac did not ship with Lion already installed, there is no need to purchase it since you can upgrade directly from Snow Leopard to Mavericks. Upgrading to Lion or Mountain Lion are options as well, but they are not free.
Boot from its original grey System Install DVD. Install that OS, install all applicable Software Updates from Apple, then upgrade to Mavericks by downloading it from the App Store. Follow these instructions: Mac OS X v10.6 Snow Leopard: How to Erase and Install
Easy fix. Go to your Mac App Store. Find Mavericks. Click download. It will give you some crap about you already have it whatever. Click continue to download the installer. In the top menu bar click purchases. You will see it downloading. Click pause. Click restart. Hold command R at the startup chime. Click reinstall OS X. Since you use your Apple ID to download the full installer, you just use your Apple ID to purchase OSX. For free. Problem solved.
I literally just had to do this