We describe a method protocol for the GC-based analysis of the aldonitrile acetate derivatives of glucosamine and muramic acid extracted from soil. For elucidation of the chemical mechanism, we also present a strategy to confirm the structure of the derivative and the ion fragments formed upon electron ionization.