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 installed Ubuntu, on my work PC, a couple a years ago(2007?) on a separate partition. Typical setup that comes with the installation CD. The primary partition has WinXP. Due to new policies (and lack of use) I want to eliminate Ubuntu from my machine.

How can I do this without breaking my machine?

I was planning to just use GParted to reformat the partition th NTFS, but I fear there's a lot more to do. Does GRUB stop working?

share|improve this question
add comment

2 Answers 2

Your question indicates you no longer need Ubuntu on this machine and that space will be reclaimed for the use of windows XP.

You can eliminate the partitons from windows XP itself. As a precaution, take a backup of windows data before doing the steps.

Go to 'Settings -> Control Panel -> Administrative Tools -> Computer Management -> Storage -> Disk Management' from windows xp and simply delete and reformat the ext2/3/4 partitions which will be Linux partitions and create and format new windows partitions.

I assume the primary partition is windows XP and it is the one with boot flag.

Now you will need to fix MBR to remove grub and re-instate pure windows XP MBR. Refer http://helpdeskgeek.com/how-to/fix-mbr-xp-vista/ (I personally did not use this in the past, but after reading it and remembering my past experience this documentation looks correct).

Now you should have PC without old Ubuntu.

share|improve this answer
add comment

Grub will not stop working if it's installed on your primary partition(your xp).

share|improve this answer
add comment

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.