iMac not working after erasing hard drive
Hi! I have an iMac which I bought in 2010. I haven't used it for a while and decided to use it today. After making sure it was still working, I decided to erase the hard drive as I'm planning of giving it away. After erasing the mac OS, when I turn it on, there's flashing folder showing.
After reading possible solutions to it, I tried pressing command + R after turning on. It does the internet recovery for a few minutes however after the time has lapsed, what I can see is a white background with an apple logo in the middle. There's no option to install the mac OS which I have a DVD of it.
I tried pressing the options + command + R and it still does the same.
Does anyone know how to help me with this please? Thanks