How to fix your Windows 7 boot

some times by installing linux or some problems you lose your boot menu for windows. to solve this problem the only thing that you have to do is to boot your system using Windows 7 DVD, in installation menu choose repair, and in repair menu choose command prompt. Then using bootrec.exe command in windows\system32 directory and using these switches: