-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to boot Windows Server 2022 in UEFI mode on RHEL 8.10 - always boots in Legacy BIOS - no errors #177
Comments
Quick update - if you remove QEMU paramters without
|
Hi @jamesfreeman959, As you noted this is a conflict between the arguments provided in Right now I think the easiest way we can fix this problem is by improving the docs so they declare how the arguments are passed to qemu, so you can bisect more easily why/which argument overrides them, but I'm all ears if you have other suggestions! Thanks for the report! |
Hey there! Thanks so much for your response - I did see that in the documentation although much later on after reporting the issue. Overall the challenge is:
This necessitates two CDROM drives in Qemu, as you can't add a floppy drive to a Qemu machine in UEFI mode (it throws an error). What works really well (but isn't documented as clearly) is using This actually solves my problem perfectly and last night I produced my first working VM through Packer per the above requirements. So all the right functionality is there already - but I found out through trial and error about how to create two CDROM drives on the VM. I don't know if you can drop in an application note, or add a note to the two parameters I've mentioned here about how they work together? Just a few thoughts - happy to help contribute if I can! |
Hey @jamesfreeman959, Good to know you managed to make your case work! Regarding If you're willing to submit a PR to add something like this please feel free to do so, we'll review it ASAP, and provide suggestions if we have an idea on how to improve the docs; otherwise I'll add this to my TODO list and revisit it when possible. Thanks for the update! |
It'd be nice if cd_files property were a default property from packer that all providers then would inherit or at least it should be a standard for all providers that it makes sense for. I've only seen it in the qemu and hyper-v iso builders. much like floppy_files is pretty standard for all builders. UEFI drops support for floppy disk drives and newer OS's are scanning cdrom drives for automation files for cloud init or windows autounattend.xml. I opened an issue in parllels plugin repo along the same lines Parallels/packer-plugin-parallels#102 |
Overview of the Issue
I am trying to produce a proof of concept based around Windows Server 2022 (eval) but booted in UEFI mode with a vTPM. My source system is RHEL 8.10 but I can test on newer systems if that helps. All permutations of the build file are booting into SeaBIOS, and there are no errors I can see in the output of packer with
PACKER_LOG=1
set. It's almost like theefi_boot
parameter is being ignored.Reproduction Steps
packer build
Plugin and Packer version
Packer v1.11.2
Simplified Packer Buildfile
Operating system and Environment details
RHEL 8.10 host machine on AMD64 architecture. OVMF files installed and verified as present.
Log Fragments and crash.log files
The text was updated successfully, but these errors were encountered: