On this pageResize a partitionTo resize a partition, you can use the following command:sudo resize2fs /dev/sdcCopyNote: Change /dev/sdc to the name of the disk you want to resize. This will resize the partition to the size of the disk.Resourceshttps://askubuntu.com/questions/390769/how-do-i-resize-partitions-using-command-line-without-using-a-gui-on-a-server