Preheat oven to 350.
Cook spaghetti according to package instructions and drain.
Stir butter, Parmesan, and eggs into the noodles.
Shape this into a crust in a buttered 10 inch pie pan.
Brown the ground beef with the onion, drain fat.
Stir in tomatoes and tomato paste, sugar, oregano, garlic salt, heat thoroughly.
Spread cottage cheese over crust of the noodles.
Cover with beef mixture.
Can refrigerate at this point or bake for 20 minutes. If refrigerated bake for 30-35 minutes.
Sprinkle with cheese and bake 5 minutes longer.
Cut into wedges.