it really depends on how much of the same hardware is in both, e.g. mobos/video/sound, etc. it would be the same thing as moving a hd with XP and putting it into a completely different system.
linux is pretty good at doing a hardware scan and check and it should.... run, can't guarantee 100% compatibility with the change of hardware.