LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Increase size of '/' in ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/increase-size-of-in-ubuntu-862260/)

noony123 02-12-2011 11:33 AM

Increase size of '/' in ubuntu
 
Hi all. Finally i have installed ubuntu 10.10 on my home PC. Its working so so good i cant really imagine :-). At the time of partition due to my immaturity, i selected the size of '/' to be 10 Gb. Now i want to increase it without reinstalling ubuntu. Is there any safe way of doing it ? i did some research and came to know that Gparted might be of some help, but i will really be grateful if any of you can guide me.

Pls if you advice the use of livecd for example, can i use liveusb instead ? i was thinking of making liveusb of centos 5.5. Pls let me know if this could be of any use in this ?

Currently i have 3 partitions

'/' 10 GB
'/boot' 99 MB
'Date' 50 GB

on rest, its my windows xp.

bigrigdriver 02-12-2011 11:51 AM

In order to increase the size of the partition, you need two things: a liveCD, liveUSB, or another Linux installed on the computer for one, and room before or after the partition in question for the other. The partition you want to change size must be unmounted, and any partition before or after must also be unmounted.

Assume your free space is after the Ubuntu partition. Running gparted from liveCD/liveUSB, you would select the disk on which the Ubuntu partition resides. If the space after the Ubuntu partition is also partitioned for some purpose, you must select that partition, then you must move the front end back to create free space for Ubuntu. Then select the Ubuntu partition and move the back end of the Ubuntu partition to take up the free space.

Commit the changes to rewrite the partition table, then reboot into Ubuntu with the new partition table and the added room in the partition.

Inkit 02-12-2011 12:19 PM

Hi noony123,

I too run linux on a 10 GB partition, and there is really no problems with it. If you check your root partition you will have around 6 GB free and unless you are really going to load your system with applications, this is more than enough. Just make sure that whatever files you want to save, you save in some other partition. You can even access your XP partition and save files there without any problem. I'm not an expert by any stretch of the imagination, but am just contributing my two cent's worth.


All times are GMT -5. The time now is 06:11 PM.