|"Mains" = the main power source. In other words, pull the plug.|
You don't happen to have a SATA HDD, do you? If you do, you're either going to have to create a new XP disk with the SATA drivers slipstreamed into it, or you're going to have to enter the BIOS & change the HDD controller setting to IDE mode.
Are you 100% sure your XP disk is good?
If you don't care if you lose your data, start the installation over again. Boot off the disk, "press any key" when prompted, wipe out the partition, create a new partition, format with NTFS, then continue with the install.
"It dosn't recognize the D: drive"
What is the D drive? Is it your CD/DVD drive or a 2nd partition on the HDD? If it's a 2nd partition, why are you trying to install to D?