Mix the chopped potatoes with the olive oil, onion, salt and pepper. Place on a baking dish and garnish with rosemary.
Bake at 180°C/350°F for 30 minutes.
Poke holes in the sausages with a small knife.
Place the sausages on top of the potatoes and bake for a further 30 minutes.