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.
If you didn't install Ubuntu from within Windows, here's what you'll need to do:
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 ..
For anyone searching an answer and is running Windows 10, You need not the install media. Simply:
Once inside the Recovery window, Select
under "Advance Start-up"
When the PC restart, there will be three options:
(the option that does not turn the pc off or does not go back into Windows 10).
After doing Follow the on screen options Until you arrive at advance options. Select the command line option and restart.
When the system restarts, boot into windows form the GRUB options.
From there the command line pops up... enter:
Press enter and the type
The system will restart into windows and GRUB is now gone. Remember to remove any live disk, if any.
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