Super User is a question and answer site for computer enthusiasts and power users. 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

i need to uninstall ubuntu from my machine where i have a dual boot with windows xp, i know what to do but problem is to do that i don't have my windows xp cd with me now! now how can i uninstall ubuntu from my machine and reset the windows loader by removing the grub boot loader? is there any such method?

regards, Rangana.

share|improve this question
up vote 0 down vote accepted

There are two things you need to do.

  1. Restore your master boot record. The best thing to do is to find your XP cdrom and read Microsoft KB article 314058. Else you will need to create a bootable cd/floppy/usb with fdisk on it (see You boot and you do fdisk /mbr. Some info about this here:
  2. Get rid of your ubuntu partition. The simplest and safest thing to do is to reformat your Ubuntu partition from Windows. If you want to merge two partitions together you'll have to find a good software to do that. Parted Magic could help you here.

There is always some degree of risk when doing these things. Backup any important stuff before going forward. You are on your own from here!

share|improve this answer
I recommend GParted to remove the Linux partition and resize the Windows one. – Kevin Panko Jul 29 '10 at 17:11
Or go into Windows and delete the "unknown" partitions. Boot up XP CD and rebuild MBR and fixboot. – anon31097 Jul 29 '10 at 17:13
thankyou very much for your help guys! – Rangana Sampath Jul 29 '10 at 17:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .