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

By narlina
Oct 1, 2009
Topic Status:
Not open for further replies.
  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: 893   +98

    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 Newcomer, in training 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 TechSpot Enthusiast Posts: 301

    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 Newcomer, in training Topic Starter Posts: 25

    startup repair work such as..?
  6. Adhmuz

    Adhmuz TechSpot Paladin Posts: 893   +98

    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: 10,350   +821

    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: 12,409   +280

    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 Newcomer, in training Posts: 405

    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.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.