Skip to content

Manual Partition Resize

TL;DR

DON'T RUN THESE COMMANDS IF YOU DON'T KNOW THE PARTITION NUMBER!!!

Run it only if you are sure the partition is sda1! Otherwise read the rest of the article

 growpart /dev/sda 1
ext4 filesystem:
resize2fs /dev/sda1
xfs filesystem:
xfs_growfs /

Step 1

Check what's the name of the root partition with command:

lsblk

Linux Based Systems

In our case is sda2

Step 2

Extend the partition with command:

growpart /dev/sda 2

Linux Based Systems