My computer stopped working a few months back, and I figured it had something to do with the cpu (it was way outdated so I was meaning to replace it anyhow), so I purchased a new motherboard and cpu. When I tried to boot back into my hard drive after placing the new pieces into the computer, it would show the windows loading logo, blue screen, and then restart, presenting the black screen with the system repair or start windows normally options. I tried reinstalling windows, yet even when I assign the primary boot device as the optical drive or flash drive (I've tried installing windows off of both) It redirects to attempt to boot off of the hard drive, and when I try to boot onto only the optical or flash drive it says reboot and select proper boot device or insert boot media in selected boot device and press a key. I thought it wouldn't load off of the hard drive due to conflicting motherboard and cpu drivers, but when I wiped the hard drive through the console and I still had the same issue. I have tried a few things since then but I am overall stumped, can anyone help me figure this out??