Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I downloaded Ubuntu 12.04 LTS to my Dell Dimension 4600 with Windows XP installed. I now have a neat dual-boot system, but I want to get rid of the XP OS and keep Ubuntu as my only OS. How do I do this?

share|improve this question
add comment

3 Answers

back up your data and use instructions here

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  hhlp Nov 14 '12 at 16:09
add comment
  • Boot using the Ubuntu Live USB.

  • Open a terminal (Ctrl+Alt+T), and run the following commands:

sudo add-apt-repository ppa:yannubuntu/os-uninstaller
sudo apt-get update; sudo apt-get install -y os-uninstaller && os-uninstaller
  • After the commands have run successfully, you'll see this:

enter image description here

  • Choose the OS you want to remove and press OK.

  • A confirmation window will appear:

enter image description here

  • Click "Apply" to start the removal.

Source: https://help.ubuntu.com/community/OS-Uninstaller

share|improve this answer
add comment

Assuming you DID NOT install Ubuntu using WUBI (Windows Ubuntu Installer) and you did it via the LiveCD, LiveDVD or LiveUSB (Live whatever), then follow this steps:

  1. Open DASH and look for Disks

    enter image description here

  2. Open the Disks utility and select the Hard Drive you want to use (Hard Drive selection is on the Left panel)

    enter image description here

  3. After selecting the Hard drive, select the Partition you want to delete. Depending on the Disks version, you can right click the partition and choose DELETE, click on the Minus sign below the partition selection, click on a Cog above the partitions and choose DELETE. There are several ways of doing it. The only thing is that you need to have the partition UNMOUNTED and already have done ANY BACKUP you need from that partition before blowing it up into extinction.

    enter image description here

  4. After you have deleted the partition you can create a new one (Learning curve for Disk is very low, very easy to use). The important part about step 4 is that you need to update grub so it notices that you no longer have Windows with you. So open up a terminal and type the following sudo update-grub:

    enter image description here

    It will say that it has detected X kernel versions but no Windows partitions. So the next time you boot the PC, no Windows partitions will appear.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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