XP will not overwrite an old operating system and keep data like some older systems would, you need to slave it to a functioning hard drive in your PC and copy/paste data over.
Dont forget to either set the jumpers to slave or leave the jumper off so it defaults to slave (provided the old drive isnt completely knackered and is accessible).
Bri Dowd, April 2007