View Full Version : HOW TO: Uninstall Ubuntu without the XP CD.

October 6th, 2008, 11:13 PM
How To: Completely remove Ubuntu manually (no XP disc required)

The following tutorial assumes that you are running Windows XP and that Ubuntu is dual booted along side of Windows XP.

It’s a common scenario. You want to uninstall Ubuntu from your hard drive and return to the comfort of XP, but there’s a problem. It seems the dog ate your XP disc (stupid dog). You call up a friend to borrow his XP disc but it turns out your dog ate his XP disc too! (hungry, why wait?)

Fortunately, there’s a solution and it’s not as complicated as you might think! In this tutorial, we’re going to completely remove Ubuntu manually (and I’m not talking about sticking our hands up Fido’s butt, either. Gloves or no gloves, that’s dirty).

We’re going to need to be in XP. If you aren’t already in XP, restart your computer and boot into XP.

STEP 1 – “No, I don’t want no Grub”

First, we’re going to need a very tiny program called “MbrFix” which can be found at http://www.download.com/MbrFix/3000-2094_4-10485990.html

Download the .zip file and extract the files to your desktop.

That was simple. Ready for some fun? Great!

Now, press the start button and go to “Run”. Type “CMD” in the box and click “OK”. Bet you didn’t think you’d have to see one of these again.

Drag the MbrFix.exe file from your desktop into the MSDOS box.

type in “ /drive 0 fixmbr /yes” and hit enter. (note: “drive 0” is usually the “drive” that XP is installed on. If you have any doubts, type in “ /?” to see a list of help features or type in “ /drive 0 driveinfo” for information on “drive 0”).

Restart your computer. If you followed these instructions correctly, You should not see the “Grub” screen at the beginning. That was painless.

STEP 2 – “It’s so hard to say Goodbye to what we had…”

Now, we’re going to remove Ubuntu from your hard drive. So, head on over to the start menu and click “Run” again. This time, we’re going to type “compmgmt.msc” into the box and click “ok”.

Go to “Storage” then “Disk Management”. Try to navigate the partition that Ubuntu is installed on. Usually, it’s anything that doesn’t say “NTFS” after it. Right click on the partition(s) that Ubuntu is stored on and click “Delete” until you have a single box/partition. Then right click the box/partition and click on “Format”.

Restart your computer.

Step 3 (Optional) – “How do I merge the Ubuntu partition with the C:/ drive or a second drive?’’

One way to accomplish this task is to use Partition magic, which I’m unfamiliar with so I’m not going to go into too much detail.

If you have a “second hard drive” that you want to merge with the new partition (for example a DATA (D:/) drive) then there’s a simple solution. Make sure all the data you want to keep in your second hard drive is backed up to your C:/ drive or your desktop. Go back to your “Computer Management” screen > Storage > Disk Management and right click on the “DATA (D:/)” drive. Then click “delete”. Do the same with the new partition that once had Ubuntu on it. This should make it come up as “Unallocated space”. Right click on the “unallocated space” and click “Format”. Then it will ask you if you want it to be a “primary drive” (or something like that). You do want it to be. Click next. Choose the letter that you want the drive to be (“D”) and make sure it’s a “NTFS” file system. Click next. Write in “DATA” in the text field if you want it to mimic your old drive and click next. After it’s done formatting, restart and you’re finished.

Step 4 (Optional) – “The Ubuntu Live CD left behind an option in my Windows boot menu”.

This is once again a simple fix.

Go to “My computer” and click on “C:/”. Go to Tools > Folder Options > View. Make sure that ‘Show hidden files and folders” is selected and that “hide protected operating system files (Recommended)” is unchecked.

Find “boot.ini” in the “C:/” (note: It would be safe to make a back-up of this file in case you mess something up. Screwing up here could cause Windows to not even load, so be very careful to read these instructions carefully) Right click on the file and go to properties. Make sure that “Read only” is not checked. Open the file (with notepad if asked) and delete the line that says “C:/wubilder.mbr = “Ubuntu” (or something similar to that). It’s usually the very last line. File > Save, Close and Restart.

Step 5 – Enjoy Windows, Traitor. (Extremely Optional) Just Kidding, but seriously, hope this helps.