Hello,
I have a freebsd vm running as a Gen1 in Hyper-V (legacy BIOS boot) and am trying to migrate it to UEFI (Gen2).
I made a new disk with gpart: GPT, a partition for EFI, a swap, and a data partition where I copied my root.
I used gpart to write the EFI partition as well (
Now I created a new VM (Gen2) with that disk, disabled secureboot, but it doesn't boot.
Hyper-V UEFI loader says it does not find an OS on the drive.
I tried booting on liveCD to check the partitions - they look fine - and write the bootcode again but to no avail.
Any idea of what I could have missed or done wrong?
I have a freebsd vm running as a Gen1 in Hyper-V (legacy BIOS boot) and am trying to migrate it to UEFI (Gen2).
I made a new disk with gpart: GPT, a partition for EFI, a swap, and a data partition where I copied my root.
I used gpart to write the EFI partition as well (
gpart bootcode
from liveCD /boot/boot1.efi).Now I created a new VM (Gen2) with that disk, disabled secureboot, but it doesn't boot.
Hyper-V UEFI loader says it does not find an OS on the drive.
I tried booting on liveCD to check the partitions - they look fine - and write the bootcode again but to no avail.
Any idea of what I could have missed or done wrong?