If you have only started having these problems since fitting the 'new' hard drive, then I would suspect the drive.
But you could double-check the actual fittings, cables etc and the jumper settings, just to make sure that all are as they should be.
Best phone camera 2017
Stunning new film posters by Hattie Stewart, Joe Cruz & more
iPad Pro 10.5in (2017) review
28 astuces pour profiter au mieux de votre iPhone