Soak the beans in cold water overnight, making sure they are completely covered. Also soak the salted ribs and bacon in cold water overnight.
Drain the beans and put them into a large saucepan of cold water. Bring to the boil over medium heat, then simmer for 30 minutes until tender.
Rinse the soaked salted ribs and bacon well, add to the beans and cook for 30 minutes over a medium heat. Heat a very large saucepan and pour in the olive oil so it covers the bottom. Add the onions and garlic and cook until softened. Add the sausages, smoked ribs and bacon, pepper and bay leaves. Pour in the cooked beans and meat and top up with water. Simmer for about 1 hour, until the meat falls off the bone.
Serve the Feijoada with boiled white rice, slices of orange, and very finely sliced spring greens fried in olive oil with finely chopped onion and garlic.
(c) Jamie Oliver 2003