Acquiring Din's Fire

To get this spell, Link must first have completed Dodongo's Cavern and acquired bombs. Go to the area outside Hyrule Castle and follow the road until it splits. On the right side there is a sign saying "Dead end". There is also a boulder in front of Link. Throw a bomb at the boulder and go inside. Play Zelda's Lullaby on the Triforce symbol on the platform. The Great Fairy then appears and bestows Din's Fire upon Link.