How To Resize Active/Primary root Partition In Linux Using GParted Utility
This article we will teach you how to resize the active root partition on Linux using Gparted utility. Just imagine, our system has 30GB disk and we didn’t configure properly while installation the Ubuntu operating system. We need to install another OS in that so we want to make secondary partition on that. It's not advisable to resize active partition. However, we are going to perform this as there is no way to free up the system.
GParted is a free partition manager that enables you to resize, copy, and move partitions without data loss. We can use all of the features of the GParted application is by using the GParted Live bootable image. GParted Live enables you to use GParted on GNU/Linux as well as other operating systems, such as Windows or Mac OS X.
See https://www.2daygeek.com/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility/