Upvote:2
If you are issued both boarding passes at Karachi, then your luggage will be checked through as well.
There are no visa requirements to transit between any terminal at Dubai International. You will simply walk from one end of the terminal to the other; or if you are transiting from Terminal 2, there will be a bus.