I try to format my
lots of reasons for this,
bad hdd, tops list.
XP from microsoft or HP? or from hackers?
is this disc real or from CD-r recordable made by whom?
does PC work ok with battery out, they love to short.
does BIOS work ok? seems yes.
did you take out the CD when the OS setup.,exe installer told you to?
the first big step in the install. that first reboot, take out the CD
or the cd can go back to step 1, run the CD, endlessly. doing that.
that Disk check, is in BIOS, right, and we all know its like a toy right?
I use knoppix linux live boot stick and run full HDD tests off it.
100x better that. and the smart status screen
if it SHOWS< no more spare SECTORS, that means the HDD IS AT THE END OF LIFE, as all HDD do. every one.
all HDD self heal , until the bandaids run out. and ends.
end of life.
if knoppic runs and disk test passes
then what is wrong, bad install media.
or worse, there is always worse on old Pcs like.
bad RAM
bad CD or DVD reader. (very common)
and even a weak power pack.. good, bad, or weak they can be.
ever run USB memory sticks, time to do that.
it installs the OS way faster and needs no working CD to do that.
no cd no drive, is best,
like new PCs, have no cd drive.
is yours with DVD drive? that too helps the helper.
looking in the hp parts surfer, DVD drive was an option
take the CD, make and ISO from it.
and ISO file then use RUFUS (free) to burn the ISO to USB stick
now boot that stick . to load XP
good luck with XP the virus magnet.... and zero support now for 3 long years.