I installed Ububtu 12.04LTS as dual boot along with my Windows 7. I need to remove Grub and restore Windows MBR but without uninstalling Ubuntu
To install a Windows bootloader, boot Windows and create a Repair CD. Boot from the repair CD (or from your original Windows DVD) to a repair prompt and run:
(If you use Windows XP then the command is:
If you can't boot Windows and can't create a repair CD, you can install something like
Note, when you install lilo it will popup a big warning. You can ignore this (as it's not relevant when installing a Windows-style bootloader) - Tab to OK and hit enter. Also, if you don't boot from
If you're planning to continue to boot Ubuntu after replacing the Windows bootloader you can use easyBCD. Otherwise you'll need to boot a live CD/USB to reinstall Grub later.
Install EasyBCD 2.2 go to advanced options, select which partition has Win7/xp installed and in the MBR configuration options select as per the OS you have installed. Click on write MBR and restart..Voila..Go to disk management and restore the linux partitions by deleting and formatting them.