Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed Ubuntu as another OS on my laptop, and my default OS is Windows 7. I just want to know how to remove (or uninstall) Ubuntu without harming the other OS.

PS: Ubuntu and Windows 7 are both installed on one drive.

share|improve this question
    
Related (possible duplicate): askubuntu.com/q/83403/18612 –  Christopher Kyle Horton Mar 6 '12 at 7:35
    
    
regarding the duplicates.. one is specific to a netbook.. which isn't the case here.. the other has instructions for an older windows version.. and might not apply.. as windows 7 as a better way to fix inconsistencies.. (boot recovery..) –  marc-andre benoit Mar 6 '12 at 16:44

3 Answers 3

If you didn't install Ubuntu from within Windows, here's what you'll need to do:

  • Boot up your Win 7 disk.
  • Go to Boot Recovery and let it do it's thing
  • Boot back into Windows and go to Disk Manager
  • Delete the two Ubuntu partitions
  • Resize your NTFS filesystem to take up the disk.

That easy!

share|improve this answer

is your ubuntu installed using wubi ? if so .. in W7 just go to "Control Panel" ,then in "Programs and Features" let the list of software load.. when it is loaded.. just click ubuntu and click remove...

if not.. just go to the grub menu.. choose to boot into you W7 partition..and do like told in the answer above ..

share|improve this answer
    
Doesn't sound like a Wubi install. But thanks for that info, I've never done a Wubi install so now I know how to answer this question in the future. –  Githlar Mar 6 '12 at 7:14
    
well.. since your answer only said what to do if ubuntu isn't installed from windows.. i gave the complementary answer.. for those that did install from windows... the wubi install is pretty forward.. it creates a folder at the root of the C drive and creates a disk file that it (thanks to fuse) enables as a hard drive.. and installs the ubuntu install onto it..then changes to a grub menu you can load from.. removing it from the control panel removes the grub and deletes the folder..one common mistake is just to delete the folder.. which can potentially make problems and make the system slower –  marc-andre benoit Mar 6 '12 at 14:59

this link describes a method for removing linux and restoring your disk to MBR from GPT: http://www.sevenforums.com/tutorials/20864-mbr-restore-windows-7-master-boot-record.html

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Marco Ceppi Mar 15 '12 at 14:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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