Bacteria dividing with no deaths follow simple doubling growth. The flask starts with $100$ cells and we want to know roughly how many doublings, or generations, are needed to reach $10^5$ cells.
So counting doublings rather than working with logarithms directly, ten generations of division take the flask from $100$ bacteria to around $10^5$ bacteria.
Let's summarize:
The population reaches $10^5$ cells after about $10$ generations.
\[ \boxed{10} \]