I have run into this problem two days ago. The OS warns me that root has limited disk space:

warning screenshot

So I would like to add more space to the root filesystem. These are the partitions I have:

Here are the disk partitions

sda9 : /home sda7 : / sda8 : swap

I would like to reduce the size of /dev/sda6 which is 70 GB in size,

  1. How can I reduce the size of /dev/sda6 and convert it into free space?
  2. How can I add more space for /?
  • It's difficult to tell which is your root disk from the images shown (please don't post images when you don't have too!) Can you add to your question the output of df -h ? Additionally, running sudo apt autoremove may assist you, by removing old kernels. Apr 16 '19 at 16:56
  • 1
    Why do you have a 476G W95 partition? And why in the world do you have almost 20G of swap space? Also, please edit your question and add i) the output of df -h and the output of lsblk. Please don't post images of text. Instead, copy/paste the output directly into your question and use the formatting tools to format it as code.
    – terdon
    Apr 16 '19 at 17:16
  • What is your Ubuntu version?
    – pomsky
    Apr 16 '19 at 21:15
  • @terdon sda9 : /home sda7 : / sda8 : swap
    – MGJ
    Apr 17 '19 at 2:03
  • 1
    is this a dual boot system if not why so many partitions,and please tell what version of ubuntu you have. Apr 18 '19 at 21:07
  1. Boot your Machine from a Ubuntu-Live-CD.
  2. Ubuntu-Software-Center: under "installed" click on gPartEd to show Details and uptop Button "Start" to launch. if its not there install gPartEd via: "All" Category click the Magnifying-Glass on top-right and type in gPartEd.
  3. u should see the Layout of your Partitions for the active Disc (Disc can be changed via top-right DropDownList).
  4. The Boundaries can be clicked and dragged to resize the Partitions, finalize by clicking the green Checkmark in upper Toolbar.

gparted can be used for these Tasks, its recommended to boot external from a Live-CD of course. https://gparted.org/

  • Please explain how to do that!
    – MGJ
    Apr 18 '19 at 16:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.