Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to remove Ubuntu and put Windows back on?

A few days back I installed Ubuntu 12.04 alongside windows. When I put the CD in, the setup said that I should boot from CD and then I can choose from demo to install Ubuntu alongside Windows, I followed the instruction and selected Install alongside Windows 7 from the setup wizard. My Win 7 drive is originally 60 GB but after installing Ubuntu it appears as if it were 43 GB.

Now I want to UNINSTALL Ubuntu and get just Win 7 back on. Please guide me how to do this. Presently, at start-up I get a choice to Boot either into Win 7 or Ubuntu. I am new to Ubuntu and Linux both!

This is the partition layout as seen on Win 7 :

enter image description here

share|improve this question

marked as duplicate by izx, fossfreedom Jun 25 '12 at 11:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Have you tried the search function here on the website? Here's a result that may help you. – Tom Brossman Jun 22 '12 at 16:06
up vote 2 down vote accepted

Disk management shows 4 NTFS partitions (C: D: E: and F:), these 4 are windows partitions that you have created, and there are 2 other partitions for which the file system is not listed here, these belong to your Linux system, the one with 12.01 GB is where your root directory (/) is mounted, in other words that is your Ubuntu OS, the other partition is your SWAP partition, this is used by the system in a way similar to virtual memory in Windows.

If you want to uninstall Ubuntu, there are different ways to do this, the way i'll do this task is as follows:

You'll have to use Windows to delete the Ubuntu Partitions.. seems an easy task but be careful, when you installed Ubuntu, the boot manager (GRUB for Ubuntu) was also installed and is the purple screen you see at boot time with the OS Options to select from, so if you remove your Ubuntu partitions this will also go away and your computer will not boot... don't panic!

You'll then have to use your Windows installation disk to repair the MBR (Master Boot Record) so that Windows can boot again.

Uninstalling Ubuntu may not be the best solution, there are many great websites that provide excellent help on how to resolve issues that you may find in your way. We are a great community eager to help and to share the things we have learned.

You can find more information about dual booting and boot managers here:

It's a graphical explanation about partitions, boot managers and installation of different OS's that may help as well.

Hope this helps.

share|improve this answer

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