Dice the bacon piece, put it in a pan and fry on a low heat stirring frequently. Peel 3 onions, dice them and add to the bacon to let them fry together.
Peel the potatoes and grate them on a fine mesh grater (just like when making potato pancakes) and put them in a large bowl. Add the crumbled cheese, flour, eggs and fried bacon with onions. Season to taste with salt and pepper. Mix thoroughly (it’s best to put on a disposable glove and knead the dough with your hand).
Prepare the baking mould. Put half of the potato dough in the mould. Put the white sausages and cover them with the rest of the potato dough. Press gently, then prick with a fork to remove excess air, so that the dough covers the sausages thoroughly. Put bacon slices and chopped onion on top. Put in an oven preheated to 170°C and bake for 60 minutes. Then cool down in the oven.