0

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

Ahmedsaber
  • 13
  • 1
  • 8
  • 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
  • You have to ask in a Windows forum 1) how to delete a logical partition and 2) how to resize a partition – Ed Villegas Jan 19 '13 at 16:34
  • where is the window forum ? – Ahmedsaber Jan 19 '13 at 16:35
  • @Ed Villeges: uninstalling Ubuntu, even from Windows, is on-topic. See this question on meta: http://meta.askubuntu.com/questions/5596/what-windows-questions-are-ok-to-ask – Flimm Jan 19 '13 at 20:57
  • I edited your question to indicate that Ubuntu and Windows are on different partitions, as is obvious from the screenshot. In the future, I recommend using Wubi if you're just trying Ubuntu, it makes uninstalling Ubuntu very easy. See this question: http://askubuntu.com/questions/615/whats-the-difference-between-wubi-and-a-regular-installation – Flimm Jan 19 '13 at 21:02
  • @Flimm You are right, this question is an absolute dupe of that one. – Lucio Jan 19 '13 at 23:10
  • @Flimm This question is different from the one you provide, because this user is able –as far as I can see– to run Windows as well as Ubuntu. However, some answers there solve it, namely, the OS-Uninstaller option. – Ed Villegas Jan 20 '13 at 00:09

1 Answers1

-1

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.

João André
  • 1,300
  • 3
  • 17
  • 23
  • 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
  • @Ahmedsaber: if this answer satisfies you, please accept it by clicking the tick symbol next to the post. You'll get two reputation points for doing so. – Flimm Jan 19 '13 at 21:32
  • @JoãoAndré And what happens with the GRUB after delete the Ubuntu partition? – Lucio Jan 19 '13 at 23:08
  • @Lucio: If he was using GRUB as the bootloader (which he never mentioned), then he would be would have to restore MBR to be able to boot into XP again. However, that was not the topic's question. Anyway, there are plenty of ways to do that from within an Windows XP installation like this. – João André Jan 20 '13 at 02:54