VMware 6.5 VM not able to capture image using EFI (UEFI)
PXE booting using EFI is not an issue. It is able to advance and Windows loads as expected. The issue is when capturing an image we get the following error after about 10 minutes of a black screen:
Then we get the following error:
We are using 4.11.0 for the bzImage. We are running FOG version 1.4.4 Rev:6077
Any ideas on what I could do to resolve this?
@Sebastian-Roth This is what it is getting hung up on:
I removed the SCSI controller, in this case the LSI controller that it was complaining about and the long delay has now been resolved.
What I don’t understand is why this happens only on an UEFI boot vs a BIOS boot. The BIOS boot doesn’t have issues with the SCSI hard drive nor the SCSI controller.
Any ideas on that?
@quinniedid Great you found that disk controller issue. About the other one: I am not sure if it is actually the piix4_smbus thing causing the long delay. Please prop up the kernel debug level (FOG web UI -> FOG Configuration -> FOG Settings -> FOG Boot Settings -> Option
KERNEL LOGLEVEL) all the way to 7 and post a picture of where it hangs.
Officially, it will work if the controller on the VM hard drive is set to use SATA instead of the default SCSI. SCSI works on BIOS but not on EFI.
Is there a way to reduce the timeout on the smbus issue? It really is close to 10 minutes before it does anything.
@Wayne-Workman @Sebastian-Roth Finally able to get a fresh VM built. I am getting the same error that it cannot find the HardDisk. I will try changing the controller and see what happens. Its just strange that this behavior exists on EFI and not on BIOS.
I will do some testing with a single VM no configuration with EFI.
As for the controller it should be an LSI SCSI adapter. This does work and I am able to capture the UEFI image if I switch back to BIOS to run the capturing for the VM. It does not work so far with UEFI booting FOG.
Which IDE controller is configured in VMware?
@quinniedid Let’s approach this from a troubleshooting perspective. Create a brand-new VM, install windows 10 on it and nothing else (no updates, no software, no nothing). Then try to capture to a new image using this new VM. Does this work? This test should take you less than an hour. If it works, something is not right with the problem VM.
I ask because most times, a problematic capture can be solved by just rebuilding the golden machine again.