What brand HDD is it? It should show on the label of the drive the correct positions for the jumpers. If not, you can look the drive up on the manufacturer's site for the jumper positions. If it's on it's own cable, or on the end of the IDE cable, it should be set as master. If it's attached to the secondary connector on the cable, it would be slave.