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?

I have installed Ubuntu alongside Windows XP on a different partition and I want to delete Ubuntu while retaining the Windows XP. I don't want that my Windows gets damaged in the process. How can I do this?

Screenshot of partitions in Windows tool

share|improve this question

marked as duplicate by Flimm, qbi, Eric Carvalho, Ringtail, Eliah Kagan Jan 20 '13 at 9:08

This question was marked as an exact duplicate of an existing question.

It looks like you have installed Ubuntu on the 4.28 GB partition (no letter assigned, according to your image). Can you confirm it? In that case, you'll have to ask in a Windows forum how to delete a logical partition. – Ed Villegas Jan 19 '13 at 16:13
Whatever you do, please please please back up all your important data first, both in Windows and Ubuntu ... – Clive van Hilten Jan 19 '13 at 16:19
yes Ubuntu on the 4.28 GB partition and 1.25 GB it is Was created after the installation of Ubuntu Now How do I delete Ubuntu? – Ahmedsaber Jan 19 '13 at 16:20
I do not format the disk C It contains windows, and I can not install it again with Ubuntu it requires a lot of time Is there any solution? – Ahmedsaber Jan 19 '13 at 16:24
If i do delete logical drive Ubuntu from Windows the usual way will go Ubuntu and windows will remain??Or there is a special way to delete these tablets? – Ahmedsaber Jan 19 '13 at 16:33
up vote -1 down vote accepted

From the picture it seems you have Windows on the C: (NTFS) partition, as it is labeled "System". Then Windows and Ubuntu are on separate partitions. To delete Ubuntu you just have to format both partitions labeled as "Unknown", and no harm to both your C: and D: partitions will be done.

share|improve this answer
ok i will do and tell you what i do – Ahmedsaber Jan 19 '13 at 17:06
Is there a special way to format logical drives or conventional way? – Ahmedsaber Jan 19 '13 at 17:17
The only logical partition seems to be C:, while the others are inside an extended partition (green marker). You do not want to format the logical one, as it holds your Windows installation. In the "Disk Management" section from where you took the screenshot, just right-click on it and choose "Format" each of the partitions. If you want you can even "Delete" each of them and then expand D: to the rest of the HDD. – João André Jan 19 '13 at 17:21
Delete both of them then. If you want to create new partitions you can then format the remaining space, or you can just expand D: – João André Jan 19 '13 at 18:29
Thanks ALl Four help me :) ALL THINK IS DOne :) – Ahmedsaber Jan 19 '13 at 18:37

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