Brown beef; drain. Add tomato sauce, paste, spaghetti sauce mix, and garlic. Simmer about 15 minutes. Pour over cooked pasta. Add ricotta and stir to mix well. Grease a large casserole dish. Pour half the pasta mixture into bottom. Top with 1 c mozzarella. Pour in remaining pasta. Top with remaining mozzarella and parmesan cheese. Bake at 350 degrees for about 40 minutes.