This question already has an answer here:
I am using an Intel board made in 2009, model P5KPLAM-IN series but today I've upgraded it to a DDR4 supported Mother manufactured by ASUS with Intel I3 7th generation and I deployed the same hard disk and I don't have old motherboard for some reason.
Nnow whenever I boot up the old HDD in the new motherboard Windows 7 booting logo starts loading but before fully loaded on screen Windows 7 reboots automatically.
I tried booting with Windows7 bootable DVD but mouse doesn't works at Windows 7 installation GUI, I also tried loading driver from USB and rescan drivers but nothing happens, Windows don't find drivers in it.
I connected the hard disk to another running pc with Windows7 it shows a single 470GB c: drive .
If somehow I load ASUS motherboard drivers in the attached HDD then I hope everything starts work normal.