1. Disconnect the negative battery cable.
2. Remove the headliner.
3. Remove the glass panel.
4. Disconnect the front and rear drain hose from the sunroof frame.
5. Remove the bolt A, and then remove the rear set bracket.
6. Remove the bolt B and nuts, and then remove the sunroof unit.

7. Install in the reverse order of removal.
8. Adjust the glass panel. (See GLASS PANEL ADJUSTMENT.)
Rear drain hose installation
Sunroof unit disassembly/assemblyMazda 6 Service Manual: Pcv valve inspection
1. Disconnect the negative battery cable.
2. Remove the intake maniforld.(see INTAKE-AIR SYSTEM REMOVAL/INSTALLATION.)
3. Remove the PCV valve.
4. Blow through the valve and verify that air flows as specified.
If not as specified, replace the PCV valve.
Specification
...
Mazda 6 Service Manual: Outside Mirrors
WARNING
Be sure to look over your shoulder before changing lanes: Changing
lanes without taking into account the actual distance of the vehicle in the convex
mirror is dangerous. You could have a serious accident. What you see in the convex
mirror is closer than it appears.
Mirror type
Flat ...