500g/1lb 2oz floury potatoes, coarsely grated
1 small onion, thinly sliced
salt and freshly ground black pepper
sunflower oil, for frying
2 free-range eggs
2 rashers smoked back bacon, cut into small pieces