I need to expand the / partition on a Linux CentOS 7.3 Hyper-V Gen 2 virtual machine. (secure boot is disabled)
From what I've read, the procedure is: 1) expand the vhdx using Hyper-V Manager, and 2) boot into GParted and extend the partition to use the free space.
The problem is I can't boot from the GParted ISO. I've moved the DVD drive to the top of the list in the Hyper-V Firmware Boot order, and the boot process starts... I select "Boot to RAM" from the GParted menu, then it hangs. The last message received in the console is:
* copying /live/medium/live/filesystem.squashfs to RAM
sending incremental file list
filesystem.squashfs
Also tried 'Default' and 'Failsafe' modes from the GParted menu - stil hangs.
Can I edit the shim.efi file appearing in the Hyper-V Firmware Boot order?
Should I create a UEFI-bootable image of GParted on a USB Drive as described here?