This question already has an answer here:
Because I am selling my old MacBook Pro (13-inch, 2011) and, for this reason, restore it to the factory settings. I have followed the steps for this. First the discs were erased which only partially succeeded. In the next step "reinstall macOS" I now get a gray screen and I can't get out (even after I turned off the laptop).
How can I proceed from here?