No it was Sonic 1. The versions levels were different to the MegaDrives version, and when they were the same they were reworked. Sonic 2 for the Master System was where Tails had been stolen, I didn't like that one.
Plus the Sonic model for the 8-bit era was way cooler.
Oh I have the GameGear version of Sonic 1 (Master Syetem) also.