Boil the spaghetti in a liter of water with some salt.