Photo: Jennifer Causey; Food Styling: Catherine Steele; Prop Styling: Thom Driver
1. Preheat oven to 350°F. Coat a 9- x 5- x 3-inch loaf pan with cooking spray.
2. Combine first 6 ingredients in a bowl; toss.
3. Add about 3 tablespoons milk to prepared pan. Arrange 1 layer of potatoes, shingle-style, over milk. Sprinkle with Parmesan. Repeat layers with remaining milk, potatoes, and Parmesan until pan is full. Top with Gruyère.
4. Cover pan with foil; bake 35 minutes. Uncover; bake until browned and bubbly and knife slides easily through potatoes, about 30 more minutes. Cool for 45 minutes before serving.