When you say a "bootloop", I am not sure how far it is going, but if it is getting to the point of trying to read the hard drive, I usually boot to a Live Linux DVD or USB stick, and run it for a while in Linux. Might need the old hard drive disconnected. If it runs Linux solidly, then you know it is probably a Windows or hard drive problem. Open a browser with lots of tabs to use lots of RAM.
If Linux crashes or has bootloops, then it could be a hardware issue.