Cook hamburger, onion, and garlic; drain.
Stir in everything but spaghetti and cheese.
Boil separately 25 minutes.
Cook spaghetti; combine with above.
Pour one half in casserole dish, add mozarella cheese, add remaining mixture and top with parmesan cheese.
Bake at 375° for 30 minutes.