I allocated 36GB to my root and 200 GB to Home but it seems that everything is getting saved in root. How do I switch the allocation?
This is my disk allocation:
What is the workaround?
I allocated 36GB to my root and 200 GB to Home but it seems that everything is getting saved in root. How do I switch the allocation?
This is my disk allocation:
What is the workaround?
Root Linux directories follow well-known conventions as to what files get placed where. /home
ONLY contains files that are unique to your user (documents, photos, downloads, etc). Any packages you install via apt
or apt-get
never install to /home
and, typically, any data files they create go into /var
. It appears a majority of your usage falls outside of files that are created in /home
.
Without resorting to really ugly hacks, the only way to "fix" your partitioning is to use a program like gparted
to resize your partitions to shrink /dev/nvme0n1p9
(/home
) and give the space to /dev/nvme0n1p7
(/
). Although gparted
works flawlessly a majority of the time, there is always a chance something goes wrong and you incur data loss.
/
partition unless something mounts "over" a particular directory. In this case, you have a partition "mounted over" /home
. Anything stored in /home/*
gets stored in /dev/nvme0n1p9
and every other file in your system gets stored on /dev/nvme0n1p7
Sep 2, 2020 at 6:39