Question Says Drives causing boot loop

Sep 7, 2019
22
0
10
Whenever I have either of my drives connected to my mobo it's boot looping. Once I disconnect the sata cable for both my Drives it boot into bios perfectly. What could this be ?
 
Sep 7, 2019
22
0
10
and the drives are new?
No, PC I've build last year all been working fine.
PC was plugged out by accident and since then it was stuck in boot loop.
When I was checking I noticed it boots fine when I plug out the data connections to the drive. If I plug any of the drives in now. Straight back to boot loop
 
Sep 7, 2019
22
0
10
Yeah it was powered on when it was accidentally unplugged. I've booted it up with a external hard drive and it seemed to be working fine and setting windows up like normal.
So problem either with the sata drives or the bootloader. I've just ran windows repair but problem still happening