|If you have Windows 95 or 98, it will be a lot easier. XP needs to match the motherboard.|
With XP, you can remove the drivers & do as mentioned the repair. You will then probably need to reactivate XP.
Before you move the HD - uninstall as many drivers as you can in Device manager, especially chipset, ethernet (LAN), video and sound.
When that's done - shut the computer down (do NOT restart) and move the HDD.
Now Windows should start with the new motherboard.
Upgrading A Motherboard Without Reinstalling
Changing a Motherboard or Moving a Hard Drive with XP Installed
Repair Install to SET XP to New Motherboard
You receive a Stop 0x0000007B error after you move the Windows XP system disk to another computer