do a google search for : Gateway [your model] recovery manager, or post the make and model here so you can be instructed on how to boot into the recovery manager. (that is, if you have a recovery partition) if you have an install disc that came w/ the laptop when you purchased it, insert it into the drive > reboot. soon as you see the gateway logo / splashscreen start tapping F8 key (i think) to get boot options and select boot from the disk drive option.
although i would be a little skeptical to proceed and install if i ever got an error of that sort. what if the drive is failing?
there might be a tool that you can run to test it but youd have to wait to see if thats a step others might think would be a good idea. if so they'll post a link to something that might help.
few listed right here ....