I'd check with Gateway for BIOS update

I'd go to Gateway's web site, put in the model, and see if there's an update for your BIOS. Since you have the drive partitioned, try installing to a different partition. It could be that the drive has a bad sector or two. Is the computer overheating? Make sure all the fans are running, and check the temps in the BIOS when you boot.

Good luck.