Low Disk Space Remaining on Newly Installed Linux Partition.

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
VinX
Level 1
Level 1
Posts: 1
Joined: Sun Mar 26, 2023 3:06 am

Low Disk Space Remaining on Newly Installed Linux Partition.

Post by VinX »

During install of Linux Mint 21.1, I created a 20GB root partition for the OS, a 2GB Swap partition and a 60GB /home partition for User data, following an installation guide. in the guide, it mentioned that the \ partition need not be over 20GB to install Linux. This same advice is reiterated all over the Internet by avid Linux experienced users. While it is certainly true that a 20GB partition is more than sufficient for Linux, it has now quickly become an immediate problem upon installing software packages and I now have only about 500MB of free space remaining. Meanwhile, my \home directory on a separate partition is relatively void of any data. As a beginner Linux enthusiast, but a long-time Windows power-user, I accepted the prevailing suggestions of creating multiple partitions for the installation of the OS, including creating such a small root partition.

At any rate, I would appreciate any advice for options to rectify this. I assume my best course of action is to remove Mint and start over with a clean install, creating properly sized partitions for my needs. I don't need a considerable amount of storage for program package installs, but certainly more than the 20GB installation partition left me. As I stated, I created a separate 60GB \home\%user% partition, as advised. Being the sole user of this laptop, and foresee no other user accounts ever being added to Windows, much less any Linux installation, are separate partitions even necessary? Even a Swap partition I see as unnecessary, already having 24GB of onboard memory.

I would prefer to not need a reconfigured clean install solution and am open to any and all advice. Thank you.
Last edited by LockBot on Tue Sep 26, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20072
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Low Disk Space Remaining on Newly Installed Linux Partition.

Post by Pjotr »

VinX wrote: Sun Mar 26, 2023 4:45 am During install of Linux Mint 21.1, I created a 20GB root partition for the OS, a 2GB Swap partition and a 60GB /home partition for User data, following an installation guide. in the guide, it mentioned that the \ partition need not be over 20GB to install Linux. This same advice is reiterated all over the Internet by avid Linux experienced users.
By a bunch of incompetents, IMO.... A root partition of 20 GB is far too small for practical purposes. And swap is by default a file nowadays, like it is in Windows, so you don't need a separate partition for that either.

Furthermore, personally I think having a separate home partition (what you call user data), is just an unnecessary complication leading to a suboptimal division of disk space. But this is a matter of debate within the Linux community. :wink:

My take on this in more detail:
https://easylinuxtipsproject.blogspot.c ... 2.html#ID2
(item 2)
VinX wrote: Sun Mar 26, 2023 4:45 am I would prefer to not need a reconfigured clean install solution
Still, that's what I advise. A clean slate.
Last edited by Pjotr on Sun Mar 26, 2023 5:08 am, edited 2 times in total.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
RIH
Level 9
Level 9
Posts: 2866
Joined: Sat Aug 22, 2015 3:47 am

Re: Low Disk Space Remaining on Newly Installed Linux Partition.

Post by RIH »

You don't really need a separate swap partition any more. Mint will create a swap file instead. (That said, the swap file occupies space in the / root partition, which will decrease your available space there again).
Personally I believe that with a small amount of disk space available that creating a separate partition for root & home is NOT a sensible plan.
If you scrimp on space in root then you run into the issue you have. If you give excessive space for root then you are restricting the amount of space available for personal data.
Will 100GB of available space I would certainly go with just a single partition. That way you will have no wasted space.

As to how much is enough space for root... That depends on what you do with your system after install.
If you intend to run programs that require Flatpaks or equivalent then 20GB won't get you very far.
If you are only going to run non-Flatpak programs from the Mint repositories then you would probably get by.

As to resolving your issue then, personally, I would re-install on a single partition.

If you have invested heavily in adding programs & customising your system then you can make use of the Backup Tool which will enable you to make a copy of your Applications & Home directory & then add them back in after a fresh install..
Image
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Low Disk Space Remaining on Newly Installed Linux Partition.

Post by Cosmo. »

The obviously needed information is: How big is the drive / are the drives? Are 128 GB available or 1 or more TB?

BTW: Linux never uses \, but always /. The backslash gets used by Windows.
billyswong
Level 8
Level 8
Posts: 2175
Joined: Wed Aug 14, 2019 1:02 am

Re: Low Disk Space Remaining on Newly Installed Linux Partition.

Post by billyswong »

Whenever you read a "guide" of Linux, the first thing to check is, how old is that "guide"? Linux ecosystem changes over time, and "guides" can become outdated and give you bad advices. One don't read a "guide" of how to do stuff on WinXP / Win7 then apply to their Win11 machine. Same for Linux.

It is hard to find a modern up-to-date guide on how to install Linux now. Because the best way to install Linux nowadays for beginners is just follow the graphical instructions and select the default choices when in doubt. No point to write a guide.
Petermint
Level 9
Level 9
Posts: 2979
Joined: Tue Feb 16, 2016 3:12 am

Re: Low Disk Space Remaining on Newly Installed Linux Partition.

Post by Petermint »

My current machine uses 20GB after a clean boot. By the time I start applications and run heavy work, I need more than 40 GB for the system. I had a machine with a 60 GB system disk and never filled it. I run timeshift snapshots to a USB disk, not the system disk.

The main use for a separate home directory is a desktop where you can use multiple disks and replace the home disk without changing anything else. If you have only one disk slot, there is no use for separate partitions.
User avatar
Koentje
Level 7
Level 7
Posts: 1575
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Low Disk Space Remaining on Newly Installed Linux Partition.

Post by Koentje »

Install gparted and rezise your home partition down to 40gb, then resize the root partition up to 40gb. (or whatever size you prefer)
Better yet, boot from a live stick and gparted is already installed.
Locked

Return to “Beginner Questions”