I dont understand the question, Will it only boot to the Instalation off of the cd or only boots from the hdd when the XP cd is inserted.
If it only boots off of the cd drive then you should check to see if the hdd is set as the first boot device. It shouldn't have to be but I've had that problem.
Also you should check to see if the hdd is even being detected. The jumpers might need moved.