Gerris2
L1
I was delighted to see a prepupa and several pupae in my Zophobas morio colony. In order to keep them from cannibalizing the pupae I gave them materials into which they could burrow to pupate. One material I enjoyed using was dense pieces of styrofoam. They burrow in and make all kinds of chambers in which they successfully pupate. I also put paper towel tubes filled with newspaper or paper toweling. The larvae will also burrow into this material but you don't hear crunching sounds they make in the styrofoam.

Zophobas morio ”Superworm” by Gerris2, on Flickr

Zophobas morio ”Superworm” by Gerris2, on Flickr