First, do not boil the potatoes, including the skin, too soft, then peel them off and let them cool.
Peel and dice onions and garlic. Fry in a little hot oil with the ham or bacon cubes. Cut the cooled potatoes into cubes (size as desired), add to the pan and fry all around until crispy. Add marjoram and caraway seeds and mix in (the amount can also be varied depending on your taste). Then salt and pepper. Finally add the fresh parsley.