Put potatoes in a saucepan, add a little salt and boil for about 20 minutes.
Add the butter to the pan and fry the onions for 5 minutes until soft and golden.
Drain the potatoes, add the corned beef, onions, salt and pepper and mash together.
Put into a dish, drizzle with a little oil and place under the grill until crispy.