If so that's the problem. The HD needs to be master on the end of the cable and the optical drive needs to be slave on the middle connector. Another option is CS (cable select) on both drives but the HD needs to be on the end connector. But I've found this type of connection iffy if the board doesn't support it.
If you're using one cable each, then they must be master but the HD needs to be plugged into the controller port 0 and the optical drive plugged into port 1.
My friend and I builded a new computer with new parts, except for the hard drive and DVD drive. The two drives are both master drives. When I turned on the computer Windows XP does not start. Am I doing something wrong with the jumpers or I need to do something with the old hard drive?