being able to boot from hd only when xp install disk is placed in cdrom drive is classic symptom of missing files usually ntldr might also be ntdetect.com
if your drive is highly fragmented, you may experience this problem.
if you have been diddling with or suspect corruption of these files you can manually replace them they are hidden system read only in the root level of system partition.
i will look for a good link in mskb for you but meanwhile here is snippet from what is think is relavant article
RESOLUTION
To resolve this behavior, replace the Windows XP Ntldr and Ntdetect.com files. Follow these steps: 1. Start the Recovery Console, type fixboot at the prompt, and then press ENTER.
2. If the Recovery Console does not appear, follow these steps:a. Use one of the following methods to start the computer so that you can access the file system of the boot partition:? Specify another operating system on the Boot menu.
? Start from the Windows XP CD-ROM, and then at the Windows Setup screen, press "R" to use the Recovery Console to repair the Windows installation.
? Use a Windows NT 4.0 boot disk that also contains the Windows XP boot files.
? If your boot partition is a basic disk that is formatted with the FAT file system, use an MS-DOS boot disk.
b. Copy the Ntldr and Ntdetect.com files from the I386 folder on the Windows XP CD-ROM to the root folder of your boot drive. The boot drive is typically drive C.
If you are using MS-DOS to perform this file replacement, you may have to remove the System attribute, the Read-only attribute, and the Hidden attribute from the files by using the attrib command. To do this, type the following lines at the MS-DOS command prompt, and then press ENTER after each line:
attrib ntdetect.com -r -s -h
attrib ntldr -r -s -h