I have a 17" MacBook Pro. I had Mavericks installed on it and I am trying to format it in order to install a fresh copy of the OS.
Here are the things I've done and the results:
I erased Macintosh HD in Recovery Mode by using Command+R in the boot stage. That worked.
I pressed on Reinstall OS in the OS X Utilities window in Recovery Mode, everything went smooth until it reached the Mavericks installation process. It got stuck and I had to turn it off because it stayed at "6 minutes remaining" for like 2 hours.
I read in many places that I needed to use the Internet Recovery option. So I booted using Command+Option+R. It takes me to the Wi-Fi selection and after several hours, it took me to the macOS Sierra page which failed and gave me an error (no Mavericks OS was found anymore).
Then I read that it might be caused because of an unstable Internet connection. I tried my home Wi-Fi, I tried my phone's 3G hotspot, both options gave me a 3001f error.
I tried a wired network and it instantly gave me 1006f error.
Step 4 and 5 were both initialized with Command+Option+R.
Right now, I am downloading macOS Sierra from the App Store from another Mac and will try to boot it from a USB in order to install it. I am not sure if that will work. Let me know if it is a waste of time or it will work!