When planting rosemary in a pot, it's crucial to choose a well-draining soil mix. A combination of potting soil, coarse sand, and perlite is excellent for ensuring good drainage and preventing root rot. Too much grit is better than not enough, so ensure you have an appropriate balance in your mix for healthy growth ^source^.