Question: How do I setup my hard drive in the BIOS of my P4 motherboard for a Windows XP installation?
Answer: If your motherboard is not recognizing your hard drive then you need to make sure all your cables are hooked up correctly and that your hard drive is not faulty. Since you said you have a Pentium 4 motherboard you most likely have an IDE cable connection to your hard drive so make sure the cable is good and that it is connected correctly since they can only go in one way to work properly. You can also try the other IDE port to rule out it being related to a bad port.
Also make sure the jumpers on your hard drive are set right as to their master and slave settings depending on how you plan to use this hard drive.
You also want to make sure the drive is getting power and that it's spinning up when you turn the computer on so check the power connection or try a different one as a test.
If that doesn't work then you can see if you can manually enter your hard drive settings into your BIOS and see if the drive works that way. It may be a case of a faulty drive or motherboard because most modern motherboards have an auto detect feature which should work to find and configure your drive.