The chemical reactions and pathways resulting in the formation of keto-3-deoxy-D-manno-octulosonic acid, an acidic sugar present in lipopolysaccharides of the outer membranes of some Gram-negative bacteria.