as the master on the primary IDE cable?
Put the WinXP CD in the drive, start the computer, and press F8 as it does its POST. Select the option to start with a command prompt.
When you have the prompt, type the drive letter for your CD drive, followed by a colon (E:) and press the enter key. When you're at the drive letter prompt, type: setup.exe and press enter.