Win7, Ubuntu dual system uninstall Ubuntu system correctly
If Ubuntu is not installed in Wubi mode, be careful when uninstalling Ubuntu, not simply by deleting Ubuntu's partition, or you will find that your Windows system is not getting in. That's because if you install Ubuntu, you write grub to the MBR, which is/DEV/SDA, (if you turn on the Gurb menu every time you boot, write to the MBR). So when you uninstall Ubuntu, you rewrite the MBR to remove the Ubuntu gurb.
The correct way to remove Ubuntu is as follows:
Step 1th, repair the MBR
1. Enter Win7, download a software mbrfix, put in C:windowssystem32 folder
2. Click Start "All Programs" attachment "command Prompt"
3. At the command prompt, enter mbrfix/drive 0 fixmbr/yes
4. Now that the MBR has been repaired, restarting the computer will find that there is no Linux boot option, directly into Windows
Step 2nd, remove Ubuntu
Under Win7, right-click on the computer (Computer)-> Management (Manage)-> Disk Management (diskmanagement):
There are 2 without the volume label name (the volume label name is the drive letter, such as c:,d:,e:,...) The primary partition (Primarypartition) is the Ubuntu partition,
The window color of the primary partition is dark blue.
One is the swap (swap) partition, which is about the same size as the machine's physical memory, and the root partition, which is the same size as the one you assign it to.
Right-click on the 2 partitions, select Delete Volume (Deletevolume), after the volume is deleted, the partition window color becomes green and merged into a single window.
If you don't want to install Ubuntu, you can create an extended partition on this unknown partition, format it, allocate the label, and use it for Win7.
If you want to install Ubuntu, do not have any action after you delete the partition.