In a large flat-bottomed pan, heat oil and fry onions till light brown. Add ginger-garlic paste and fry for 1 minute.
Add sliced potatoes, green chillies, salt and turmeric powder. Cover with a lid and cook on very low flame for about 15 minutes. To prevent it from burning at the bottom, sprinkle a little water and put the pan on a thick tawa/ griddle.
Once cooked, stir in the fresh coriander and flatten the potatoes. Make slight depressions a few inches away from each other and break an egg into each.
Cover with the lid and cook on a low flame for another 5-7 minutes or till the eggs are steamed.