Resize non-root partition without deleting it

by Nihvel   Last Updated February 15, 2018 13:00 PM

Preface: I am very familiar with gParted, parted, fdisk; Windows system.

I wanted to increase the size on a Ubuntu 14.04 disk, virtualized through ESXi 5.5 and disk connected as "Independent, Persistent".

I resized->increased in the past this disk already, using gParted Live, easy.

Now I wish to keep the Server ON while proceeding to resize it, this is a backup disk and it is only used during the week-end. I can easily unmount it from the system.

I know already how to proceed but I searched for tutorials and explicit commands in order for me to not forget anything.

The question: After Googling it and read several pages of how-to, I discovered that everybody tells that the partition must be deleted first, before resizing it.

I can not understand why one must delete the partition, in CLI, before resizing it. Windows too allows a partition to be resized without previous deleting it.

Sources: - How to extend a non-root partition of a Ubuntu VM by command line (and without GParted) -

..And the I read this: And I do not understand why this answer doesn't say about deleting the partition first.

For me, this last answer is right: there is not need to delete the partition:

$ sudo parted /dev/sdb resizepart 1 400M
$ sudo resize2fs /dev/sdb1 400M

Can someone tell me more about why some say of deleting the partition?

Related Questions

Resizing Centos Partitions

Updated July 10, 2015 13:00 PM

Failed to mount external drive while booting

Updated December 16, 2017 15:00 PM