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 have a dual boot system with xp and Ubuntu. Now i wish to remove Ubuntu from the system. I checked run->compmgmt.msc->Disk Management. There it shows the primary partitions and I am able to identify the one containing Ubuntu (with option to delete that partition)My doubts are:

  1. Can i directly delete the partition containing ubuntu (without needing the CD)
  2. can I use a tool like partition magic (without losing the data on XP)
share|improve this question
up vote 2 down vote accepted

If you delete Ubuntu partitions, you will have to reinstall Windows bootloader to your hard disc's MBR (MBR is first 512 bytes of your booting hard drive), where currently there is a GRUB bootloader used by Ubuntu. You can reinstall Windows bootloader by running Windows Repair from Windows installation disc. I suggest you do that before deleting any Ubuntu partitions and see whether it works - if it does, you should not be able to enter Ubuntu. Only then it is safe to delete Ubuntu partitions.
This is the only possible solution involving deletion of Ubuntu partitions. Otherwise GRUB in MBR will be looking for its configuration files in /boot folder on Ubuntu partitions, which do not exist.

share|improve this answer
what about partition magic? Is there a way out without using the CD? – Shurmajee Dec 24 '12 at 12:44
Not really. You will have to reinstall MBR anyways, because GRUB, which is currently in MBR, will require Ubuntu partition for a successful boot. But you can try reinstalling MBR from Windows XP without CD:… – Ernestas Dec 24 '12 at 12:44

You must log in to answer this question.

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