I did my first century on a 35 lb Ross mtb with knobbies and road pedals on it. My road bike broke the week before and that was all I had.
It was fine except by the end my shoulders hurt a lot. I'd have liked more than one hand position. Consider bar ends.
Some other riders get ticked off when you pass them on climbs on a mountain bike.