Reallocation of hard disk space

Asked by Dennis Horne

I am new to Linux so I installed the dual boot deal with Windows Xp on half of my hard drive and Ubuntu 9.10 on the other. Now after a few months I'd like to get rid of windows all together and just allocate the whole hard drive to Ubuntu. My question is :

1.Could I just delete the windows partion and re-allocate the space to Ubuntu without any serious problems and if so how could I get rid of the Grub boot loader and have it just boot straight into Ubuntu.

I would like to get around doing a fresh install of Ubuntu since I have lots of software added and have it configured the way I like.

All info/suggestions are welcome....Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
delance
Solved:
Last query:
Last reply:
Revision history for this message
Runa (arundhati-bakshi) said :
#1

Yes, just use gparted to delete w\the windows partition and then remove the grub entry and you're done. (I did this a few years ago and never regretted it.)

Revision history for this message
delance (olivier-delance) said :
#2

If Windows XP is on your first partition, removing XP partition and extended Ubuntu's one will probably overwrite the boot sector installed bu grub, at start of disk.

What you can do is:
   1) backup /home/horne in an external disk (or USB key if small enough)
   2) install Ubuntu on the whole disk
   3) restore /home/horne from external disk
You will recover all your personal settings.

Another solution will be to reduced Windows XP partition to smallest possible partition size (I presume it's simply one sector) and extend Ubuntu to the remains. For this, solution is to use Live CD (Ubuntu CD with option "no install") and use System->Administration->GParted

Revision history for this message
Best delance (olivier-delance) said :
#3

If question is closed, could you mark it as "solved" ?

Revision history for this message
Dennis Horne (dennis-h427-dec) said :
#4

Thanks delance, that solved my question.