Partition Issues

I had Ubuntu 6.0 , Ubuntu 7.10, and Windows XP Home Edition on my Laptop's HD which  is a 80 HD. My HD was partition in this way (Ubuntu 6.0 “37GB”, Ubuntu 7.10 “4GB”, Windows C drive “12 GB”, Windows D drive “11 GB”).  I had managed to delete Ubuntu 6.0 with the Ubuntu 7.10’s partition software.   This is the question. How to up the space on the other O.S. since Ubnutu 6.0 is gone know?  I don’t have enough space to function in the way I need to operate.  I want to give have of the space to ubuntu and the other to window. Please Help Thank you.

Gparted

Will Gparted do the job? To expand into 37Gb looks a big task. http://gparted.sourceforge.net/

Gparted

Gparted will do the job of resizing without reformatting the data on the partition.  What I would suggest is using a live CD (one you probably used to install Ubuntu in the first place) and just 'sudo gparted' to change the size of the partitions.  The reason I suggest using a live CD is due to the fact that if you don't you'll be resizing a mounted partition, and that could cause problems.  Another problem you may run into is that ext3 can only be expanded forward, so if your old linux partition is directly before your Ubuntu 7.10 partition you won't be able to expand it with gparted.I'd also recommend cleaning up windows extremely well before doing this (defrag'ing, etc).