Tuesday, November 9, 2010

Remove Ubuntu and Grub from dual boot with Windows 7

I found this very easy.

I had set up my laptop to dual boot between Windows 7 32 bit Ultimate and Ubuntu 9.x 32 bit. The way I set it up was to first install Windows 7 first, then Ubuntu. In this way I replaced the Windows 7 boot loader with Grub.

I ran my laptop for a year like this but lately I wanted to change it up a bit. I want to run all 64bit both Windows and Ubuntu. Yet, I do not want to lose my Windows 7 Configuration because I had made that my primary boot and used it extensively and had a lot of personal software on it. I wanted to move my current Windows install to a smaller hard drive, and then use my larger faster hard drive for 64 Windows. I had a hard time cloning the Windows partition to another drive because of Grub and Ubuntu.

I decided I wanted to get rid of Ubuntu so I would be left with just Windows and that should be easily cloned to another hard drive, or use my Windows Server backup and restore to move it to a smaller hard drive.

Steps to remove Ubuntu and Grub:

1. In Computer Management, then Disk Manager, select the Ubuntu partition and delete it.
2. Boot with your original Windows 7 installation Disk.
3. Select Repair, and get to the menu where you can select the Command Prompt.
4. Type bootrec.exe /FixMbr
5. Reboot.

NOTE: Step 4 above. The first time I used bootrec.exe /FixBoot ... this still did not work and Grub was there so I rebooted with the Windows 7 install disk, and used the /FixMbr. I belive just selecting /FixMbr should work, I did not have opportunity to select it first so if you have any problems, use /FixBoot first, the /FixMbr.

Delco

No comments: