Capture UEFI image on hyper-v VM
-
Hello
I’ve been trying to capture an image (UEFI) Windows 11 on our Hyper-v server.
I’ve made a Gen 2 VM on the hyper-v.
I’ve created a task to capture the image.
It keeps hanging on the screen below.I’ve tried both ipxe.efi and snponly.efi as boot file. Both have the same result.
I’m on FOG 1.5.10.1593 .
Secure boot is disabled.
TPM is enabled.i’ve found this earlier post (https://forums.fogproject.org/topic/16993/client-hangs-at-efi-stub/2)
But don’t know how to implement the solution…Thanks in advance.
-
@Baessens Unforutnately the EFI stub: Measured initrd data into PCR 9 seems to be hitting us a lot lately and I don’t know why or what’s causing it.
I have heard mixed results of using older kernels, and sometimes newer ones fix it for the person. Not really sure what will be the right case here.
From FOG UI you can downgrade the init based kernel by FOG Configuration -> Kernel Update.
Please try some of them and let us know, if any, which works for you.
6.1.89 was one (20240430_1) was one that seemed to work for somebody. Maybe there?
The configs don’t change much between newer version, but we were seeing similar errors using the 6.1.22 version. This leads me to believe something was added to the kernel code, potentially removed, then re-added to it later. Just a suspicion I have.
-
@Baessens Reinstall fog. It should download the latest kernels and inits of which what was referenced on that post is the EXP items. (So it’s now the default)
-
@Tom-Elliott Thanks for your quick reply.
Unfortunately it didn’t fix my problem.
When trying to’ quick register’ the host (Win11 hyperV VM) I get the following.
Or when trying to capture image.
Tried both boot files again as well.
I feel like it’s some small/silly thing that’s giving me these issues…
Thanks
-
@Tom-Elliott I reinstalled Ubuntu as well as Fog. but no luck.
Any help would be appreciated.Thanks
-
@Baessens Unforutnately the EFI stub: Measured initrd data into PCR 9 seems to be hitting us a lot lately and I don’t know why or what’s causing it.
I have heard mixed results of using older kernels, and sometimes newer ones fix it for the person. Not really sure what will be the right case here.
From FOG UI you can downgrade the init based kernel by FOG Configuration -> Kernel Update.
Please try some of them and let us know, if any, which works for you.
6.1.89 was one (20240430_1) was one that seemed to work for somebody. Maybe there?
The configs don’t change much between newer version, but we were seeing similar errors using the 6.1.22 version. This leads me to believe something was added to the kernel code, potentially removed, then re-added to it later. Just a suspicion I have.
-
@Tom-Elliott Thanks for your reply.
I tried “Kernel 6.1.89 AMD/Intel 64 Bit (devel)” and it worked!
edit: FYI, I still got the “EFI stub: Measured initrd data into PCR 9” but it continued after that
Thanks !
-
-
@Tom-Elliott I’ve been battling with this for a few days. This Kernel image solved the issue.
-