[ubuntu-in] How to increase /root partition size in Ubun tu 8.04

Onkar Shinde onkarshinde at gmail.com
Thu Jul 30 10:49:08 BST 2009


On Tue, May 19, 2009 at 1:16 PM, Leena<leena at itforchange.net> wrote:
> Hi all,
>
> Is there any way I can increase /root partition's size after
> installation, using gparted?
> or anyway to change directory for default installation files from /root
> to /home"
> I have Ubuntu 8.04 in a system having Hard disk of size 40GB.
> I used manual partition option and following is how I have parted the disk
> /root: 3GB or 3000mb
> swap: 1.6GB
> /home: remaining (say @36GB)
>
> Now after installation I ran updates. now when I try to install new
> program, system giving me following error: "There is no space in /root
> and you need to delete some files to save new"
>
> any help on this please....

1. It looks like the packages which were downloaded as updates filled
up the / partition.
First thing you can try is cleanup these packages with command 'sudo
apt-get clean'.
2. You can not change package installation path from / to /home.
3. It is not possible to resize the partition when you have booted in
same OS. It is possible to resize partition with a Live CD. Either use
Ubuntu live CD or gparted live CD. You will have to boot from live CD,
decrease the size of /home partition on your hard disk and then
increase of / partition. At no point of time you should format the
partition or change the partitioning structure.

Hope this helps.


Onkar



More information about the ubuntu-in mailing list