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:

My disk allocation

What is the workaround?

  • 1
    Please don't provide pictures of text, the text can be formatted using {}
    – guiverc
    Commented Sep 2, 2020 at 5:38
  • Many package systems have fixed locations they load to, so you can either have those locations on a different partition (eg. /snap/ on it's own partition, or have it use the /home/ partition too but that's messy and I'd avoid that as you risk problems come release-upgrade time or sometime in the future), or allocate more space. If you grab from source, you can often control where the code compiles and resides, but I'd opt for a partition scheme solution myself.
    – guiverc
    Commented Sep 2, 2020 at 5:40

1 Answer 1


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.

  • But my computer space is shown as root and /home is under root and even downloads are getting saved under root. Commented Sep 2, 2020 at 6:35
  • Linux mounts can be a bit confusing. All directories fallback to storing their data on your / 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 Commented Sep 2, 2020 at 6:39

You must log in to answer this question.

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