0

My Root Partition is of 418 GB and the home partition is of 464 GB. My Home Partition is now almost full while the Root Partition is only 20 GB used. So, I want to Decrease size of Root Partition and Increase Home Partition Size.

I found a similar question in which root partition was to be increased and home to be decreased. But, the answers to that question were short. enter image description here

It would be helpful for me if someone guide me step by step to change my partition sizes and how to use chroot to fix fstab (if the UUID partition changes). I am not familiar to chroot and how to use it in live session.

1 Answers1

2

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 the right side of /dev/nvme0n1p2 to the desired size (~70G)
  • move /dev/nvme0n1p3 partition all the way left
  • resize the right side of /dev/nvme0n1p3 all the way right
  • click the Apply icon
heynnema
  • 73,649