Does "bed" mean the same thing in these two sentences?

Slices of hard-boiled egg on a bed of spinach.

He worked in the coal beds.
different meanings