I believe some of your guys may experience the following error when trying to reinstall Mac OS X in recovery mode.
There are two possible reason cause above error.
Reason 1:- Wi-Fi connection is not stable and keeps disconnecting.
Reason 2:- System time on your Mac is incorrect.
To fix system time issue in recovery mode
- Open up a Terminal from the utilities menu
- Enter the following command
ntpdate -u time.apple.com
- Try to install your Mac OS X again. It should work as expected.