Cannot Erase Hard Drive 2008 Mac Pro
I just got a new iMac and am trying to erase my Mac Pro hard drive and install Yosemite so I can sell it. Tried the Command-R but it will not boot to the Recovery partition because apparently I don't have one. I put the original Mavericks Install disc 1 and booted pressing the C key. It took a while and eventually I got a black screen with a message that says I needed to restart the computer. Held down the power button to turn the machine off the tuned it back on. Goes to the very same screen. Restarted holding the Option key. Selected the Install disc. Same screen. Booted again with the Option key, this time selected the MacOX disc. Same problem. I booted while holding the eject key and got the disc out.
Can anyone please help me get to where I can erase and reformat the hard drive?
Thanks
Alan
MacBook Air, macOS High Sierra (10.13.1)