Recently I discovered this site to an amazingly easy (and yummy!) way to roast your own garlic, by wrapping it up in aluminum foil. Also I have a book that teaches how to roast garlic a slightly different way, by putting it in a pan with olive oil. . So here I will be illustrating the two ways to roast garlic.
Technique #1 will be on the left, and will be the pan-roasted version.
Technique #2 is on the right, and is the aluminum foil version.
With #2, wrap in aluminum foil.
Roast in 400 degree oven for 30 minutes.
Here is one of the recipes I've made with the roasted garlic.