How to Remove Grub loader and get windows 7 boot loader back (uninstalling Linux)
After installing Linux distributions, the Linux bootloader (GRUB) takes over the booting sequences of the operating system and sometimes dual boot with windows and Linux not possible, in these conditions MBR shows only Linux distribution to open and window is removed.
In order to get windows MBR you need to follow following steps, these steps will override GRUB and windows will take over the starting sequences and the Linux distribution will be omitted from the booting sequence. Your system will boot with previous windows installation directly.
- Put the Windows 7 installation/Upgrade disc in the disc drive, and then start the computer (set to boot from CD in BIOS).
- Press a key when you are prompted.
- 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 (Windows 7 in this case), and then click Next.
- In the System Recovery Options dialog box, click Command Prompt.
- Once in the command prompt, type exactly Bootrec.exe /FixMbr and then press ENTER. You will see “operation completed successfully.” (Doesnt even take a second. Dont be alarmed )
- Reboot and set BIOS to boot from the HDD again.
GRUB will be overwritten in step 7 and Windows bootloader will once again take control of loading your OS(s).