Ask Your Question
0

How to increase fedora-root partition

asked 2018-07-16 08:16:12 -0600

yrsurya gravatar image

updated 2018-07-16 11:06:59 -0600

hhlp gravatar image

Hi I am using dual-boot installed fedora on my windows machine where I allocated 200 GB out of 2TB hard disk but only 50 GB was allocated as root volume where it's getting filled up frequently.Is there any way I can repartition and allocate 500 GB to fedora and increase root volume. Here are details

 Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 5.8G     0  5.8G   0% /dev
tmpfs                    5.9G  248M  5.6G   5% /dev/shm
tmpfs                    5.9G  2.3M  5.9G   1% /run
tmpfs                    5.9G     0  5.9G   0% /sys/fs/cgroup
/dev/mapper/fedora-root   49G   27G   21G  57% /
tmpfs                    5.9G   76K  5.9G   1% /tmp
/dev/sda7                976M  188M  721M  21% /boot
/dev/mapper/fedora-home  140G   60G   73G  46% /home
/dev/sda1                256M   34M  223M  13% /boot/efi
tmpfs                    1.2G   12K  1.2G   1% /run/user/42
tmpfs                    1.2G   56K  1.2G   1% /run/user/1000
edit retag flag offensive close merge delete

Comments

3 Answers

Sort by ยป oldest newest most voted
1

answered 2018-07-17 10:58:02 -0600

boyd gravatar image

updated 2018-07-17 18:13:25 -0600

Looks like you are using LVM (which makes things easier). But since you are working with the root partition you will still have to boot from a livecd. From there the general steps are:

gparted (reduce the size of the wiindows volume) (increase the size of the linux physical volume within the vgroot volume group) or add a new partition and then run pvcreate on it and add it to the root volume group

vgdisplay will show Free PE / Size in the volume

lvdisplay (show your logical volumes) lvchange -an, (make sure the root volume is not active lvextend (-l or -L) to move the free space into the rootlv

edit flag offensive delete link more
1

answered 2018-07-16 11:22:01 -0600

genodeftest gravatar image

You may want to reboot from a live medium (such as the one you've installed Fedora from) and use gparted, gnome-disks or the low-level tools for your partition to resize the partitions.

edit flag offensive delete link more

Comments

If there is NTFS involved in the windows partitions you need to shrink, I would shrink them from windows and later resize your Fedora partitions from within Fedora or a Fedora Live System. Procedure incl. software and commands has been described many times in this forum. Can you find it?

florian gravatar imageflorian ( 2018-07-16 17:01:56 -0600 )edit

Question Tools

Stats

Asked: 2018-07-16 08:16:12 -0600

Seen: 2,908 times

Last updated: Jul 17 '18