Bring 3-4 l salted water (1 teaspoon salt per litre) to the boil. Peel onions and garlic and dice finely. Drain the dried tomatoes and collect the oil. Cut the tomatoes into strips.
Wash cherry tomatoes and beef tomatoes. Cut the beef tomatoes in half, remove the seeds and remove the green stalk. Cut the flesh into small pieces.
Cook the pasta in boiling salted water according to package instructions until al dente.
Heat olive oil in a frying pan. Fry the onions, garlic, dried tomatoes, cherry tomatoes and tomato pieces for about 5 minutes. Deglaze with vinegar. Bring to the boil and simmer for about 3 minutes. Season to taste with salt and pepper.
Drain the pasta, let it drain. Add tomato sauce and drained tomato oil to the pot, mix. Add grated cheese to taste.