What were the Buddha's meditation methods and practices during his pre-enlightenment wandering years in India? I am not clear about one important phase of the Buddha's life: when he was a wandering aspirant, after leaving his two earlier teachers of yoga. There is not much reliable information available about how the Buddha conducted his practices of meditation and thought control.

The best I know is some fragment of a text wherein the Buddha talks about how he sought to control his thoughts by jamming his tongue to the roof of his mouth. At best, that description sounds like a struggle, not a practice or a method.
Is there any sermon where he talks about his struggle? Or a sutra which gives an account of his efforts?

Can you throw some light? Thank you.
The Buddha talks about this in MN 36: Maha-Saccaka Sutta. It's quite a long and detailed passage, in which he describes how he went to different teachers who taught him the Jhanas and starved his body to the extreme. His story sums up the extreme ways of practicing, that one should avoid using The Middle Path: First living in sensual indulgence &amp; luxury while growing up in a powerful family, then leaving this live behind and almost starving himself to death. 


  "I thought: 'Whatever brahmans or contemplatives in the past have felt painful, racking, piercing feelings due to their striving, this is the utmost. None have been greater than this. Whatever brahmans or contemplatives in the future will feel painful, racking, piercing feelings due to their striving, this is the utmost. None will be greater than this. Whatever brahmans or contemplatives in the present are feeling painful, racking, piercing feelings due to their striving, this is the utmost. None is greater than this. But with this racking practice of austerities I haven't attained any superior human state, any distinction in knowledge or vision worthy of the noble ones. Could there be another path to Awakening?'