Problem description: I've just built myself a new computer. It was my first time ever building a computer from scratch, although I have played around with the innards of my old one and replaced most things aside from the motherboard and cpu so I had a pretty good idea of what I was doing. I got everything put together with no issues, but when I hooked up the computer to a monitor and powered it on to install the OS I started to have problems. After setting the BIOS stuff to the recommended optimal settings as the motherboard guide instructed, I think opened up the DVD drive and put in my copy of Windows 7 Home Premium 64 bit. After resetting the computer I got a black screen with a white bar and a message saying "opening windows files." The bar filled up twice and then my computer restarted. The same thing showed up, but this time it made it past that screen without error. The windows logo emerged out of four dots, and then the system froze. It now freezes on that screen every time I restart the computer, although one time it did show a blue screen after the windows logo before freezing. Sometimes it reboots instead of freezing.
Attempted fixes: Switching the boot order, making sure I'm booting from the DVD drive, changing which SATA port the hard drive and DVD drive were plugged into, removing all USB devices, and that's basically it. I really have no clue what's going wrong, if I screwed up building the computer or what.
Operating system: Trying to install Windows 7 home Premium 64 bit, using an OEM for system builders version bought online.
System specs: MSI P55M-GD41, i5 750 2.66gHz, Powercolor HD5770, 4GB DDR3, Corsair 450w, Seagate Barracuda 1TB 7200rpm, LG x16 OEM DVD drive