Palladium-catalyzed oxidation of isopropyl N-acetyl-α-d-glucosamine (GlcNAc) is used to prepare the rare sugars allosamine, lividosamine, and related compounds with unprecedented selectivity. The Passerini reaction applied on 3-keto-GlcNAc provides an entry into branching of the carbon skeleton in this compound.