0

I am running Ubuntu 18.04 as dual boot along with windows 7.
I got a message that my root directory is almost full.
Here is the screenshot - gparted screenshot

I want to resize my home directory to 80GB and rest I want to add to root.
When i click on resize i get a message saying -
"Minimum size: 161765 MiB      Maximum size: 161765 MiB"
resize window screenshot
and I am unable to resize it.
Can anybody guide me through this. This is my first post. I am sorry for any mistakes. Please tell me if you need any other information.

2 Answers2

0

You need to shrink down another partition that you don’t need as much of. Currently, your entire drive is taken up by partitions. Select the partition that you want to shrink and use the same resize tool to make it smaller.

Edit: Make sure to use a LiveUSB.

sleipnir
  • 87
  • 11
0

Note: There's no reason to reduce /home to 80G, as that much room is not required to expand /.

Make sure that you have a good backup of your important Ubuntu files, as this procedure can corrupt or lose data.

Keep these things in mind:

  • always start the entire procedure with issuing a swapoff on any mounted swap partitions, and end the entire procedure with issuing a swapon on that same swap partition

  • a move is done by pointing the mouse pointer at the center of a partition and dragging it left/right with the hand cursor

  • a resize is done by dragging the left/right side of a partition to the left/right with the directional arrow cursor

  • if any partition can't be moved/resized graphically, you may have to manually enter the specific required numeric data (don't do this unless I instruct you to)

  • you begin any move/resize by right-clicking on the partition in the lower pane of the main window, and selecting the desired action from the popup menu, then finishing that action in the new move/resize window

Do the following...

Note: if the procedure doesn't work exactly as I outline, STOP immediately and DO NOT continue.

  • boot to a Ubuntu Live DVD/USB, in “Try Ubuntu” mode
  • start gparted
  • resize /dev/sda8 by dragging the right side of the partition to the left by 20G
  • move /dev/sda8 partition all the way right
  • resize /dev/sda7 by dragging the right side of the partition all the way right
  • click the Apply icon
heynnema
  • 70,711