Which of the following are covalent solids:

KBr
Mg
S(subscripted 8)
B (subscripted 12)
CO(subscripted 2)...carbon dioxide

KBr is an ionic solid.

Mg is a metal and has metallic bonding.