Spread the love! TechSpot Tech Gift Shortlist 2017

How to erase Ubuntu partition while leaving Windows as it is?

By narlina ยท 8 replies
Oct 1, 2009
  1. hi
    last few weeks i've installed kubuntu on my pc. however it caused me several problems, and now i'm thinkin of not using it. how do i erase the partitions but at the same time leave my windows as it is?
  2. Adhmuz

    Adhmuz TechSpot Paladin Posts: 1,823   +630

    What version of windows are you using? You should simply be able to format the partition from within windows safely using Disc Management or even easier just open up my computer and right click on the partition and click format.
  3. narlina

    narlina TS Rookie Topic Starter Posts: 25

    i have both 32bitXP and 64bitXP, im using the 64bit one as my main OS.

    so it is safe for me to just format the partition by formatting it from my computer?
  4. brucethetech

    brucethetech TS Enthusiast Posts: 229

    i don't think that will work if you have grub loaded. You may have to do some startup repair work if you do it that way.
  5. narlina

    narlina TS Rookie Topic Starter Posts: 25

    startup repair work such as..?
  6. Adhmuz

    Adhmuz TechSpot Paladin Posts: 1,823   +630

    Are you using a boot-loader program that allows you to switch between OSs when your computer is starting up? However you did say that you have both 32bit and 64bit installed which means you will still need this application, that is if you have such an app. Knowing this would be helpful to proceed.
  7. captaincranky

    captaincranky TechSpot Addict Posts: 12,759   +2,431

    You do need to tread very carefully, if you just remove the Linux partition, you will also remove GRUB, at which point the machine won't boot into either OS. Plus, Windows doesn't recognize the Linux partition.

    You might find some more knowledgeable assistance at one of the Linux sites.

    Try running "fixmbr" or "fixboot"from the recovery console.
  8. SNGX1275

    SNGX1275 TS Forces Special Posts: 10,742   +419

    You can just delete it from within Windows, Grub probably won't work right if at all after that, but then you just boot from the XP disk and do the fixmbr thing and all is well.

    After deleting, create a new partition there so you can get that hd space back.
  9. Bluemouse

    Bluemouse TS Rookie Posts: 195

    Pretty what has been mentioned above.

    1) Delete/format the ubuntu partition (However you want, either from within windows or bootdisk)
    2) Insert the XP boot disk, press R to go to recovery
    3) in the console, do a /fixmbr

    It should reinstall the xp boot loader. Of course, this is assuming that you had windows installed and just installed kubuntu overtop and had it overwrite the boot loader with GRUB.
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...