According to the Virginia Regimental Histories Series book,
John Josiah Eakin was in the 28th Virginia Infantry, Co. B.
The posting reads as such.
b, 11.25.36: Co. B (5/15/61): Craig, farmer, 1Sgt to Color Sgt. 12/29/62, to Ensign 5/23/52: Wounded in Action 7/3/63 at Gettysburg, (Carried regt. colors there); in hospital until 11/63; present 12/64; d.3/7/17 in Craig County.
Book is by Frank E Fields, Jr