I once moved a hard disk from a K6 into a 486DX4 with Windows98SE on it. It took about 6 reboots ("Windows has found new hardware..."), no intervention from me other than clicking OK, and it worked a charm.
Once you're done add an environment variable (Start, Control Panel, System, Advanced...