By the time of the October Revolution, the Mensheviks were actually a majority, and were a significant faction in the Russian Provisional government. The Bolsheviks were not.
The Bolsheviks were a minority, but controlled key elements of the army. After months of civil unrest and violence, they staged an armed coup.