Problems with resetting and old MBP "An error occurred during installation..." I'm trying to factory reset an old MBP, not sure how old but somewhere between 2009-2012. Weird things happen when I try to reset it though. I have tried twice and I get this error after download of the image is done, in other words, when the installation is about to start. 

I have deleted and repartitioned the HDD, and there are no other partitions except "disk2" - and a partition under it called "Mac OS X Base System Image". I have tried correcting the date in terminal, as it was a couple of hours off. This didn't work. The authentication in the beginning of the download goes through just fine. I have tried searcing for similar issues, but people seem to get errors before the download starts, which the date-fix ultimately corrected.

Tldr; Download of OSX-image finishes, weird error occurs when installation is about to start, then exits, undoing everything.

Any suggestions on what to do next?

The text reads: "An Error occurred while preparing the installation.  Try running this application again."
I solved it by creating a bootable USB from another Mac with Sierra on it. The MBP works like a charm now!