|Is the CD drive an internal model? |
Are you connecting it to the same cable as the hard drive?
If so, you may have the jumpers on the back of both drives set incorrectly. You need to have both set to CS (caple select), or the Master and slave settings.