The title may seem vague, but I've tried so many things that I'm not even sure what to label the issue as.
I got a new PC so stored my old PC parts away. I then got a new case so thought I'd put together my old PC again. The problem is I cant get it to boot into any OS.
The parts are all exactly the same as previously, and the SSD in the PC is the same as it had before, not tampered with. The drive had Ubuntu on it. When booting, I get to the grub menu and if I select Ubuntu it just goes to a black screen and nothing seems to happen.
So I downloaded the latest Ubuntu, put it on a USB thumb drive and tried to install from that. Although it gets to the Ubuntu setup menu, when I press "try Ubuntu without install" or "install Ubuntu" it goes to a screen and the cursor just blinks constantly. My old graphics card is a Radeon 5770; which is in the machine. I have also tried my new GTX 970 card and got the same issue.
I also downloaded an arch Linux disk, and tried to install with that- I got the same issue that I got with Ubuntu. So I tried changing the HDD and still got the same issue.
I then tried an old Ubuntu liveCD I had (which has worked previously on this PC); assuming it could be the ISO I downloaded or the USB drive. I still got the same issue.
I also tried a Windows 8 and Wndows 10 install on both DVD and on USB. They both froze on the splash screen with the spinner circle spinning (the circle stops spinning when it freezes and it stays like that forever).
I have done a memory test on the Linux live disk, and everything was fine there.
I'm really at a loss as to what the issue can be. Any ideas on what I can try to diagnose and fix this? I have tried some kernel options as mentioned by other posts,
radeon.modeset=0, etc. They all cause other issues, or have the same issue with the blinking cursor or blank screen.
I would assume that if it was a kernel or Linux driver issue, then windows would work fine.