-1

My root (/) partition is full and i want to extend my root file system by freeing extra memory present in other partition which is ext4.

How to free some space with ext4 allocation and how to extend that freed memory to root(/) part.?

Here is image showned by gparted. image

And here is the output of df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        19G   15G  2.9G  84% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            2.0G   12K  2.0G   1% /dev
tmpfs           396M  1.1M  395M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G  416K  2.0G   1% /run/shm
none            100M   40K  100M   1% /run/user
/dev/sda6       662G  132G  497G  21% /home

Please guide in doing this. Thanks in advance.

0

1 Answer 1

1

Resize sda6, then move it to the right ( this will take a very long time, and if you lose power in the middle your data is lost, so make sure you have an updated backup ), then move sda5 to the right, then move the start of sda2 to the right, and finally you will have free space following sda1 that you can expand it into.

To manipulate these partitions requires that they not be mounted at the time, so you will have to boot from a cd instead of that disk.

4
  • beginner here. can you be little more explain your answer? plz
    – Aparichith
    Feb 18, 2015 at 17:24
  • when i select resize/move (=>) it doesn't activate "resize" button.
    – Aparichith
    Feb 18, 2015 at 17:27
  • check image s18.postimg.org/xqh0tmp6h/rsz.png
    – Aparichith
    Feb 18, 2015 at 17:31
  • you have to click and drag. Drag to the left: shrink. drag to the right, extend.
    – Fabby
    Feb 19, 2015 at 12:17

Not the answer you're looking for? Browse other questions tagged .