Possible Duplicate:
How to I remove windows but keep Ubuntu?

So basically I started with Windows Vista then decided I want Ubuntu. Now I have Dualboot using both of them, and want to delete Windows without starting over. And because I've tried the USB boot to replace Windows but got an error, that I couldn't find an answer to.

Is it possible at all?

Simplified version: I start with A add B so I got AB now now I want to delete A and only have B


OS Uninstaller will remove your Windows partition and fix your Grub bootloader.

enter the following int he terminal:

sudo add-apt-repository ppa:yannubuntu/os-uninstaller
sudo apt-get update
sudo apt-get install -y os-uninstaller && os-uninstaller

The program will install and start, it will look something like this:

enter image description here

Just select Windows Vista in the menu and the click ok.

enter image description here

Click Apply The program will do the rest.

You can read more about OS-Uninstaller HERE

P.S. this is how I removed my Windows 7 from my computer, so I know it works.

| improve this answer | |
  • thank you wow, that was 10x easier than anything i expected – Damian Jul 25 '12 at 3:57
  • glad I could help, I was amazed at how easy it was myself. – TrailRider Jul 25 '12 at 20:57
  • 1
    For 14.04 sudo add-apt-repository ppa:yannubuntu/os-uninstaller did raise Cannot add PPA error. Replacing it with sudo add-apt-repository ppa:yannubuntu/boot-repair worked for me. – Herpes Free Engineer Nov 19 '18 at 18:22
  • Does this work for 18.04? – ablmf Dec 22 '19 at 14:50
  • @ablmf OS-Uninstaller works for any os you have on your system. the link in my answer is still good the instructions should still work, the page I linked to hasn't changed so they procedure should still be the same – TrailRider Dec 24 '19 at 0:03

You should be able to boot into the live CD and run gparted to delete the Windows partition and move your partitions around. You'll want to back up before doing this. sudo update-grub should then remove Windows as a boot option.

| improve this answer | |
  • would also have worked, other persons was just a bit easier. thanks though – Damian Jul 25 '12 at 3:57
  • Absolutely. Never heard of OS-Uninstaller. Pretty cool :) – Michael Mior Jul 25 '12 at 4:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.