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 bought a new laptop with no OS and decided to try to Linux (Ubuntu) for the first time in my life. It was a clean install, my laptop had no other OS present in it, not even DOS.

While installing, it asked for partitioning. Out of the 320GB of free space I created a new partition of 20 GB and installed Ubuntu in it. The rest of the 300GB is still available as free space.

Soon I realized that I can't use the 300GB of space and that only 20GB is available to me for use.

Can anyone tell me how I can take away some free space away from the 300GB and add that to my 20GB partition?

I have installed the Gparted Partition editor from the Ubuntu Software Center but have no idea how to go ahead with it.

Thanks :)

share|improve this question

4 Answers 4

up vote 3 down vote accepted

Start your laptop with Ubuntu Live CD and run Gparted from there. Then select your 20 GB partition, right click on it and click resize. Resize it to use all the free space and click apply. Reboot your system after removing the CD and thats it.

share|improve this answer
    
I booted from the Live CD and edited the partition. It worked like a charm. Thanks a lot :) –  Rakesh Kumar Apr 3 '12 at 12:02
    
@RakeshKumar: You are welcome. Remember to accept the answer if it worked for you :) –  binW Apr 3 '12 at 13:20

Your best using a live cd as you can't resize a mounted partition. gparted have a live CD here, download and burn it to cd, boot from it then select partion edittor you should then see a visual layout of your hard disk I think if you right click on your 20gb partition you should get the object to expand it.

There is a good video tut here

share|improve this answer
    
It worked for me! Thanks :) –  Rakesh Kumar Apr 3 '12 at 12:01

You could use Gparted from the Live CD/USB and expand the 20GB Ubuntu partition. You have to do it from CD/USB. Trying to modify a system partition from from within the installation won't work because the partition won't be editable. Gparted is preinstalled on all Ubuntu CDs.

Another option is reinstall, and let Ubuntu have all of the space. Make a backup first, in case there is stuff to backup.

share|improve this answer
    
Thanks! I did it and it worked! –  Rakesh Kumar Apr 3 '12 at 12:01

20GB if fine for Ubuntu. You could create another partition in the remaining space and move all your data there. The idea is to separate data from operating system. I like to encrypt the data partition. Use Ubuntu's disk utility -- it's a great tool. Link your data (docs,pics etc) to your home directory and your done.

share|improve this answer

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.