When you say if it works, I assume you're implying sometimes it still doesn't work?I'd guess you have faulty hardware if that's the case then
As for it asking about which copy of WinXP, did you install it on top of itself? If you did, it's probably as simple as fixing the boot.ini file in the root of the drive, using something like Notepad and removing the duplicate lines causing the double entry.