Follow these steps to resolve the XP installation problem.
1.Restart computer, Press F2 or delete key to goto Setup
2.Go To Boot menu and set it to boot from CD.
3.Put Windows XP CD into drive, save your settings and exit from Set UP / BIOS
4.During booting process press any key for the message “ Press any key to boot from cd”
5.Press enter after welcome to setup screen comes and then F8 for accepting Microsoft License agreement
6.Press escape key when repair an installation prompts
7.Select the partition to reformat and press D to delete
8.Press C to create a new partition. If you do not specify size and press enter then it creates the maximum size that you can have. So if you want to create multiple section make then create new partition.
9.Select the NTFS file system to do a full format. When the format gets complete, setup will continue.
10. The system will restart again and it will ask to press any key to boot from CD, Do not press anything and setup will continue.
After setup is finished you will get your Windows back and remove the CD from CD drive.