Due to their narrow homogeneous linewidths, rare-earth ions in inorganic crystals at low temperatures have recently been given considerable attention as test materials for experiments in coherent quantum optics. Because these narrow linewidth transitions have been buried in a wide inhomogeneous line, the scope of experiments that could be carried out in these materials has been limited. However, here we present spectroscopic techniques, based on spectral hole burning and optical pumping, which allow hyperfine transitions that are initially buried within an inhomogeneously broadened absorption line to be studied with no background absorption from other transitions. A sequence of hole-burning pulses is used to isolate selected transitions between hyperfine levels, which makes it possible to directly study properties of the transitions, e.g., transition strengths, and gives access to information that is difficult to obtain in standard hole-burning spectroscopy, such as the ordering of hyperfine levels. The techniques introduced are applicable to absorbers in a solid with long-lived sublevels in the ground state and where the homogeneous linewidth and sublevel separations are smaller than the inhomogeneous broadening of the optical transition. In particular, this includes rare-earth ions doped into inorganic crystals and in the present work the techniques are demonstrated in spectroscopy of Pr