Mohammad Ashraful hit an unbeaten half-century to help Bangladesh close day two of the first Test on 135-2 in reply to Sri Lanka's 570-4 declared.
The former Tigers skipper reached stumps in Galle with 65 to his name from 108 deliveries, putting on an undefeated alliance worth 70 with debutant Mominul Haque (35 not out).
The pair had come together following the departure of Anamul Haque, the debutant having been bowled by spinner Ajantha Mendis for 13 to leave the score at 65-2.
Bangladesh had already by then lost Jahurul Islam after the opener edged a catch through to wicketkeeper Chandimal when trying to avoid a delivery from Shaminda Eranga.
Sri Lanka had earlier piled on the runs at the International Stadium, Lahiru Thirimanne and Dinesh Chandimal both hitting maiden Test centuries before skipper Angelo Mathews decided enough was enough.
Mathews (27) himself was the only home wicket to fall, becoming Abul Hasan's first Test scalp when the seamer held a return catch from the all-rounder.
From then on Thirimanne and Chandimal dominated the Bangladesh bowling, putting on an unbroken fifth-wicket stand of 203. The latter did enjoy a couple of reprieves early in his innings before accelerating in the afternoon session, taking just 45 balls to go from 50 to 100.
Having been on 74 overnight, Thirimanne completed his ton in his ninth Test in the morning; the left-hander would finish up unbeaten on 155 from 256 deliveries with 14 fours.
Chandimal, who was 116 not out when the declaration came, reached three figures with three runs off spinner Mominul Haque, becoming the third centurion of the innings following Kumar Sangakkara's 142 on day one.