0

I am dual booting Ubuntu 19.10 and windows 10 and I keep getting notifications that my / directory has low space. The size of / is 8GB. I have run sudo apt clean but it did not free up much space.

I have been trying to understand if I need to extend that partition and some guides I have found have not helped me. Is there no easy way to just add to it from the free disk space I have? Or do I have to create a new root partition and move everything there?

Any help appreciated.

gparted disks

enter image description here

2 Answers2

2

Your root partition is 7.63 GB, which is too low for current Ubuntu versions. You can tell that indeed 7.18 GB already is used. You need at least 15 GB for your root partition.

You managed to set up a separate /home partition of 13 GB, which also is quite little. In your scenario of dual boot, you would have done better letting the installer work automatically to fill the free space. The installer would default to occupy all free space for a single root partition, that also contains the /home partition. It would also have set up a swap file on that partition.

A single 20 GB (24 GB if you also include the currently unallocated space) partition would be adequate for a Linux system in a dual boot scenario. You could indeed have most of your user data on another partition that you share with Windows.

What to do?

  • Technically the easiest approach would be to erase the linux partitions. Then have an automatic installation where you choose the option to "use the free space".
  • Technically more complicated would be to merge your current / and /home partitions. That would involve making a backup of /home, expanding / (and preferentially also move it to occupy the unallocated space) and then place the /home backup back.
vanadium
  • 97,564
-1

i can see Unallocated space in your machine. So you can use it. Just format the unallocated with ext4 and then you can add that new space to your root directory.