réjean, on 12 July 2017 - 11:44 AM, said:
Here is what I don't understand. I have a partition (~40 GB) for Linux Mint / and one (~60 GB) for Linux Mint /home, plus others now if reduce the content of /var or /media that doesn't make the / partition less full,
If they are on separate partitions, emptying won't affect the size of the actual / partition. I didn't realise you have a separate /home partition, which makes your 40GB / being full even more baffling. My / is 30GB including /home (currently 13GB) and contains 21GB atm, so only 8GB is actual OS.
rejean-G41MT-S2PT rejean # cd /
rejean-G41MT-S2PT / # du -sh * | sort -hr
You need to add the x so it doesn't include the contents of other mounted filesystems/partitions. For some reason, GUI tools seem to fail in providing this option.
du -shx * | sort -hr
So how would someone go about solving the problem? This morning I did some updating and I notice that one of them was Linux firmware which made me think that I might have several kernels ( do they take a lot of space?)
Do this to find out which kernels you have installed:
dpkg -l |grep linux-image
It is a good idea to keep one previous kernel for Justin, as well as the current one. I just checked and I have 8 kernels installed.
Time for spring clean.
siduction has the excellent kernel-remover tool, not sure the easiest way to do it in Mint.