Linux Online Partition Resize without LVM

This will allow you to extend your linux disk to grow its size. This is really helpful for Virtual Machines. You will have to reboot the VM at the end, but you don’t need a boot disk.

Print out the partition table

Delete the old partition /dev/sda and create a new one. MAKE SURE you use the SAME Start offset as the original!!! Otherwise, it will not boot.

Add the bootable flag if the partition you are resizing was bootable.

Write the partition table to disk.