When you install a Linux OS on your system, the Master Boot record (MBR) gets replaced by GRUB (GRand Unified Bootloader). If you decide to uninstall the Linux OS and go back to your Windows system, you need to fix your MBR. You have to follow these steps for that :
- Put the Windows 7 installation disc in the disc drive (or a bootable Windows 7 USB), and then start the computer.
- Select a language, a time, a currency, a keyboard or an input method, and then click Next.
- Click Repair your computer.
- Click the operating system that you want to repair, and then click Next.
- In the System Recovery Options dialog box, click Command Prompt.
- To restore the MBR, simply type : bootrec /fixmbr