Preheat oven to 240C. Grease a 10cm round 1 cup-capacity cast iron baking dish with half the butter. Slice potato thinly with a mandolin.
Layer potatoes, onion, salt, pepper, thyme, rosemary and butter evenly through each layer. Overfill by 2-3cm and press layers down firmly as you go. Finish with a knob of butter on top. Fill to 3/4 full with stock. Bake in oven for half an hour with lid on, then another 40 minutes with lid off until golden.⏱ 70 min