parted¶
Assistant: Parted is a Linux utility used for partitioning hard drives. It allows users to create, delete, resize, and move partitions on their hard drives.
resize partition to 100%¶
for all the commands, replace sda, sda1 with your actual disk and partition
if you just resized the disk, you might need to rescan the device:
display available space on /dev/sda:
resize disk:
it uses the /dev/sda disk, partition 1 and just resizes the partition to the maximum amount available