Insert your Windows XP compact disc (CD) into your CD-ROM drive or DVD-ROM drive, and then restart your computer.
At the first post screen start tapping the Del key to enter system bios
Find the Advance Options or Boot Sequence screen
You will need to change the boot sequence so that the cdrom is first and the hd is second
Press F10 to save and exit, press ok to accept
The system will now reboot
When the "Press any key to boot from CD" message is displayed on your screen, press a key to start your computer from the Windows XP CD.
When you see the following message displayed on the Welcome to Setup screen, press ENTER:
To setup Windows XP now, press ENTER.
At this point an option to press R to enter the Recovery Console is displayed. Do not select this option.
On the Windows XP Licensing Agreement screen, press F8 to agree to the license agreement.
Make sure that your current installation of Windows XP is selected in the box, and then press the R key to repair Windows XP.
Follow the instructions on the screen to complete Setup.