I suspect that you had already installed XP on a drive, have seperately installed Windows 7 on a seperate Drive, then tried fitting the drive with XP in the computer where you now have Windows 7 installed, is this correct?
The reason I say this is because it sounds like Windows 7 was not...