Hi is the CD ROM working ok check the IDE cable and power connection.
Can you play any music on the CD ROM is set at master.
Do you want to completely wipe all that’s on your Hard drive? if so downloads KILLDISK from
and onto a floppy disk, reboot your PC with the floppy in the drive and follow on screen instructions this will completly remove all on the hard drive.
Then reformat the drive, XP should do that for you NTFS.
You say you have been given XP is it new, if not I am not sure how you will load it onto the drive if you don’t know the history of that disk.
I have my own XP and had to load it 3 times onto the same PC for different reasons and you have to get in touch with Microsoft for a new key I also was asked how many times it had been used in the past.