Windows reboots everytime/ freezes on repair/ bluescreens ocasionally

So, after a lot of trouble with my computer, I wiped the HDD and tried to reinstall Windows 7 Premium 64x. When I tried to reinstall, the setup told me it couldn't create a new partition or find an old partition to install onto (I also couldn't use my mouse because it would give me the BSOD). I formatted and created a new partition but still nothing. Eventually, I put my HDD in my friend's computer and it allowed me to install Windows.

For a moment, all was well.

Then I tried to put the HDD in my computer again but when it would get to the load screen it would restart. Then, when I tried to run the repair, it would always lock up.

I've been thinking that it may be my motherboard. I made my computer in 2006 and that is the only part that hasn't been replaced (ASUS M2N-SLI Deluxe). Anyway, suggestions? Please?

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.