Just boot with the Linux install CD, remove the Linux partitions from the drive, THEN proceed with the XP installation.
For whatever reason, the Windows setup program is too stupid to be able to deal with unknown partition types, and so it just tends to lock up as if that were somehow useful.
ok so, i have my desktop computer that is currently running linux. Although lately, i have been wanting to play some games on it and maybe take it to a few lan parties. So i decided to go ahead and install windows xp on it, although when i put the disk in and go to boot from it . The computer screen flashes "Setup is inspecting hardware configuration..." and then it disappears leaving a never ending black screen. Does anyone know of a solution to this problem. Any help would be much appreciated.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic