Win7, Ubuntu dual system uninstall Ubuntu system correctly

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.