Compacting virtual disks on Generation 2 Linux Hyper-V 2012 R2 VM’s

Compacting virtual disks on Generation 2 Linux Hyper-V 2012 R2 VM’s I had a very interesting battle with ¬†Gen 2 RHEL/CentOS/OracleLinux 7.x VM’s vhdx files not compacting. Below are a couple of things that made this more difficult than expected: Hypervisor: Hyper-V 2012 R2 Generation of VM: Generation 2 Boot loader: UEFI without secure boot […]