Preheat oven to 425-degrees.
Cut the heads off the garlic (approximately 1" down from the top).
Drizzle the cut garlic with olive oil and season with salt and pepper.
Wrap the garlic in aluminum foil and roast in the preheated oven for 30 minutes. Set aside to cool slightly.
Place the bread cut side down on a baking sheet and bake in a preheated oven for approximately 10-12 minutes. Remove the bread from the oven when golden.
Squeeze the roasted garlic onto the toasted bread and spread the garlic evenly over the bread.
Top the garlic bread evenly with the shredded mozzarella and Parmesan cheeses and sprinkle with minced rosemary and black pepper.
Return the garlic cheese bread to the oven and continue baking until the cheese is golden and bubbly (approximately 15 minutes).
Slice and serve hot or at room temperature
Tools and equipment;
baking sheet, parchment paper (optional), box grater, cutting board, chef's knife, aluminum foil, serrated knife, offset spatula (optional).