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.
On a 4 year old gateway amd64 desktop, the original hard drive failed and I'm trying to put vista on a new seagate hard drive. Windows Vista Installer and a Windows PE flash disk I had both recognize the new hard drive, so I don't believe this is a driver issue. However, whenever I try to run a vista install off a 4GB flash drive, the installation hangs at 42% or 43% for "Copying Windows Files". I got the install disk from the official digital river source and have tried redownloading the installation files and placing them on different flash drives, but I still get the same problem. I have disabled the BIOS virus protection as well. I've tried reformatting and repartioning the new drive as well, but have had no luck. Does anyone here have any idea how to make Vista install.