I have a Ubuntu 12.04 VM that was partitioned with only 15gb of space that we need to expand. The VM is running on ESXi 6.0.
I've tried booting into a Ubuntu Live CD and using gparted to expand the partition but I'm running into issues because when I boot into the CD it inserts itself as /dev/sda2 and a swap of /dev/sda5. As a result, I'm not able to expand /dev/sda1 using the available space which is now below /dev/sda5.
I tried moving the space to be beside /dev/sda2 and /dev/sda5 but no matter what I do I'm not able to get it to expand /dev/sda1.
Below is a screenshot of things in gparted.
Any help would be greatly appreciated. Thanks in advance.