How to resize the root partition of VM by gparted
You can resize the root partition on Ubuntu by booting from the installation disk (a live USB) and using a partition editor like gparted, which is available in the live environment, to adjust the size of your root partition directly on your system disk
- First, resize the disk size from virtual infrastructure (VMware, KVM)
- Boot from the installation disk (i.e. Ubuntu), and run gparted
- Select the partition to resize, and choose resize icon

- Drag the bar to the maximum size

Click “Apply All Operations”

- Click “Apply”

- See the completed operations. Eject the boot disk
