Reinstalling Grub EFI on Ubuntu

Recently, whilst migrating some Hyper-V VMs to ESXi, I ran in to issues booting the VMs after migration. On boot, the EFI partition wasn’t found and couldn’t be booted. Thankfully, it’s a rather simple procedure to reinstall Grub EFI. Power on the VM and allow it to get stuck on the boot screen searching for an EFI partition. Grab the...