boil pasta according to the package--cook to al dente -- if you over cook pasta for this dish, the butter clings to all the extra starch making it mushy like
drain pasta, add butter, garlic, onion and pepper to pot,(put back on burner with heat off), stir together with pasta, add parmesan cheese and toss and serve