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.

REBOOT NOW!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">