Cook the pasta in boiling salted water for ten minutes. You want the pasta to be slightly undercooked, as the noodles will continue to cook and soften when the pasta bakes in the oven.
Meanwhile, while the pasta water is boiling and cooking, make the sauce.
Heat the olive oil and butter in a large saucepan over medium heat. Add the chopped onions, season with salt and pepper, and stir.