Possible Duplicate:
How to uninstall Windows?

OK, I am kind of illiterate when it comes to computers. I have a Gateway 6018GZ laptop which I loaded Ubuntu 11.10 on....It has 2 partitions; one has windows xp and the other ubuntu-how can I delete windows xp from it completely?

marked as duplicate by Nitin Venkatesh, Lekensteyn, Jorge Castro, jrg, RolandiXor Feb 10 '12 at 18:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


GParted would probably be your easiest solution. Just delete the NTFS partition and run update-grub. Both would be need to run as root/via sudo.

  • This is definitely the best way to go, but the answer might be more helpful if you lay it out step-by-step and add some screenshots. – Michael Martin-Smucker Feb 10 '12 at 17:16

Run Ubuntu from an USB-Stick, run GParted and delete the Windows Partition. Then extend the Ubuntu Partitioin to the maximum size. Probably you confused your bootloader with this, so you have to repair him by using the following commands:

sudo su
mount /dev/sda1 /mnt
for i in dev proc sys dev/pts; do mount --bind /$i /mnt/$i; done
chroot /mnt
grub-install /dev/sda

While you should replace sda1 with sda2 or three, depending where Ubuntu is installed (you see that in gparted)


have you used it for long? If there is nothing you need on both OS you can just re install as only OS (insert disk or cd, boot, and click on install. One of the choices(for me) was along the lines of delete old OS and install over it)

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