You are not logged in.
Back when I installed Arch, I was stupid enough to allocate only 30GB to / thinking would be enough. Well, now I have only 5.5GB left on /, and it's getting smaller by the day.
However, I do have ~408GB free on /home, and I would be ok with allocating say 50GB to / from /home. This is the output of $ fdisk -l (irrelevant details redacted):
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 62914559 61863936 29.5G Linux filesystem
/dev/nvme0n1p3 62914560 79691775 16777216 8G Linux swap
/dev/nvme0n1p4 79691776 976773119 897081344 427.8G Linux filesystem
Is there a way to allocate those 50GB to / from /home without having to copy files from one place to the other (except making a backup of my system, of course)?
Last edited by pelegs (2020-10-19 17:28:08)
Offline
Shrink and move the home and swap partition appropriately, resize root.
This is quite trivial to do visually with something like a GParted live disk. But yes it is an invasive operation that you should have made a backup for beforehand.
Last edited by V1del (2020-10-18 14:36:39)
Online
Back when I installed Arch, I was stupid enough to allocate only 30GB to / thinking would be enough.
Usually it's plenty.
Well, now I have only 5.5GB left on /, and it's getting smaller by the day.
After cleaning caches and logs?
Offline
You could also overmount or symlink folders to a different drive/folder.
sys2064
Offline
Shrink and move the home and swap partition appropriately, resize root.
This is quite trivial to do visually with something like a GParted live disk.
This was indeed trivial. Thanks, it worked perfectly!
But yes it is an invasive operation that you should have made a backup for beforehand.
Of course, I backed-up my entire system before playing with the partitions.
Offline