NO computer stated, make COmpaq,. no model vast sold all old.
NO OS stated.
wow, must we guess the moon ,stars and sky?
HP owns Compaq, and compaq is mostly a dead product now and for support (free) why mess with relic iron and OS>?
the newer PC's have hot key, F10 or F11 (changed at VISTA)
its job is reload the OS, called HP restore.
if those keys fail the hdd is not good..
HDD not Original
not HP, hdd, with HDD restore partition on board.
or HDD is bad.or someone corrupted these partitions.
or someone loaded, MS OS on it. do not load Microsoft disks her.
or was never there new, as was true on first compaq.(unstated by u)
if the hdd is bad it its bad, the bios test is just toy, we have vastly better tests disk, endless topic, can take all day to test any HDD.
the HP disk sets are not sold by HP but are 3rd party
you can read just like me, look your disk by self
https://restore.solutions/dv/laptop/compaq/
if the HDD is good, (may be not)
there are only 2 pathes.
HP install disks
or hope F10 works, I cant read you book to you ,and would but you never once disclosed the service tag data.
see this crude example that is a service tag.
it tells the helper what you own..
HP will ask for serial #, as that also tells options I cant ever guess.