I am using Ubuntu 10.04 and Windows 7 on the same computer. I want to uninstall Ubuntu and just use Windows 7. I'm afraid if I uninstall Ubuntu, it will remove Windows 7 as well.

How can I uninstall Ubuntu without affecting Windows 7?

    A quick solution is to insert at boot your USB stick (or CD) with Windows on it and make a "repair startup", this way, grub will be substituted by the windows boot, then use a tool like Gparted or Partition wizard to delete all linux partitions.

    That should do it. Hope it helps.

    Remember Always to have a decent Backup!!

    Also you could even delete your linux partitions using the windows partitions management

    • 1
      This is the easiest way to do it. Don't have to go messing around with GRUB.– Chris StaufferJan 25 '13 at 21:57

    I'm guessing your using GRUB to boot into Windows as well, in which case you will need to make sure you have a Windows CD/DVD on hand. As long as Windows is the first installation(this is the most common) you should have no issues.

    First off any activity such as this is risky, make sure you have a good backup even if you do everything properly a chance of an issue could arise!

    When in Windows right click on Computer and click on manage. You should then go to Disk Management. You will see an Unknown partition type, you can delete and format this. THIS WILL REMOVE ALL LINUX DATA!!!!

    Now you have also killed your boot loader so you will need to repair it.

    Instructions can be found at this howtogeek.com page.

      Your Answer

       
      discard

      By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

      Not the answer you're looking for? Browse other questions tagged or ask your own question.