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've had Ubuntu dual booted with Windows XP for awhile now and I think it's time to get rid of windows. How do I do this correctly so I don't mess up my hard drive?

share|improve this question
    
What do you want to do with the space allocated for XP? –  mikewhatever Feb 22 '12 at 2:57
    
I'd like to add it to the space i have for Ubuntu if that's possible –  Loagn Feb 22 '12 at 17:50
    
The question is too general to answer beyond the usual: have a backup, make sure you know what you do before doing it. If you want a more detailed answer, please post your current partition layout. –  mikewhatever Feb 22 '12 at 22:11

2 Answers 2

The general process for this process is:

  • Ensure you have all of your files backed up
  • Open GParted
  • Identify your Windows partitions, often they will show as being mounted under /media or in a custom location if you specified so in your /etc/fstab.
    You can also match their sizes up to what you expect from what Windows reports
  • Delete the partitions by right-clicking on there listings
  • Expand your Ubuntu partion (will be mounted as /) by right-clicking it

We can provide better directions if we know more about your setup.
Supplying us with sudo fdisk -l will allow us to try to identify your windows partition better

share|improve this answer
    
What do you mean by "match their sizes up.." in your 3rd bullet? Thanks! –  itsols May 25 at 1:42
    
If Windows reports your C: drive to be 60 GB, then GParted should report a partition with roughly the same size. They will be off slightly because one uses 1000MB=GB and the other uses 1024MB=GB –  Huckle May 30 at 22:07

Open the disk utility and find your windows partition format it to ext4 partition enter image description here

Then open the the terminal and type

sudo update-grub
share|improve this answer
    
This seems pretty easy. But what happens to the unused space ? Should we use GParted or something like it or is there another way? Thanks! –  itsols May 25 at 1:41
    
unused space? this method. simply format winxp partition –  Tachyons May 26 at 7:00

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.