How to install mac os on new hard drive?
So my iMac is old, and the hard drive is failing. So I've taken out the 2tb 7200rpm 3.5inch hdd and i was going to put in my 1tb 2.5 inch hdd, but my external hard drive enclosure snapped before i had the chance to install mac os x on it.
The 20 inch iMac is from early 2008
core 2 duo 2.66GHz
6GB RAM
was running el capitan
So I put my new hard drive into my mac and every time I try to load recovery mode, command r, shift command r, option command r, shift option command r, d, c, command d, option d, I've tried loads of combinations for things I've seen online to try and format the hard drive while in the mac as if i load it normally I just get a flashing question mark on a folder in the centre of the screen. Anyone know what I can do to install Mac OS back onto my mac without taking it apart again to take the hard drive out?
I don't think I can do internet recovery either because it's too old of a machine. Any help would be much appreciated.
iMac, OS X 10.11