As allen said, you cannot simply take a drive out of a computer (with an OS installed) and expect it to work on another computer. Number one, you have MS licensing issues if the OS is an OEM version, second (only if it is a purchased copy of windows), a repair installation will have to be done if the hardware is too different, after the drive is installed.
At any rate, the other method is by modifying the boot.ini file directly or, booting off of a Windows XP Recovery Console CD, and using the bootcfg /rebuild command, which will modify the file for you.
Just make sure that the boot.ini file that you modify is on the drive that is set first in the boot order.