As I understand it a Pantry Boy worked in the kitchens/galley of a ship as one of the cook's assistants. He would have done all of the menial tasks, lots of peeling and cleaning. Many later became stewards. If you google "pantry boy merchant navy" you'll find a good few examples.
jds1949