Thanks for all the advice everyone. What fixed things for me is booting from the windows 7 cd, then clicking repair.

Then I ran command line
bootrec.exe /FixMbr
bootrec.exe /FixBoot
bootrec.exe /RebuildBcd

In my case I used an old gparted by accident, and then shrunk my windows 7 partition with Gparted. It would not boot, I googled the problem and found this forum. Fixed in 5 minutes.

I don't really think gparted was the cause, but Microsoft has this handy KB article.