Need help, my drives aren't being recognized

Roman98

Commendable
Sep 22, 2016
5
0
1,510
Hello guys thank you for reading this in advance. My computer used to run smoothly until I switched the psu and the motherboard and now it won't recognize any HDDs or SDDs and I've tried them on friends computers and they work just fine. I've tried switching back the psu and motherboard but it doesn't work. I've tried to install Windows through the disk but it tells me no drives are connected and the bios tell me no drives detected and it loads up a EFI Shell version 2.31 but I don't know anything about that and I've also tried swapping the power and sata cables by nothing works. Is there anything I could do to fix this?

PC
Mobo: MSI 970
CPU: AMD FX 6300
GPU: AMD Radeon R7 240