-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
VirtualBox Optical Drive not created as master in EFI mode #7081
Comments
Getting the same issue. Virtualbox ISO cd does not load unless it was set to IDE secondary master for me in EFI mode. |
Do either of you have a template for reproducing? It'll be way faster for me to get a patch in if I know how you're configuring this. |
I got abit closer now to make Virtualbox in EFI mode boot an ISO. Since I didn't know how to modify the existing "IDE Controller" that the ISO file used to change the port, I had to modify my packer file to add a new IDE controller as type IDE primary master and manually attach the ISO that way under "vboxmanage" .
Of course, It would be better to be able to modify the port/device of the IDE Controller from within packer instead of me creating a new device. |
Definitely. We have a fairly primitive driver for attaching disks; I won't get a chance to before the 1.4.5 release but adding more direct ability to control the storagectl commands could be something we aim for in the 1.5 release. |
ok, I finally got an ISO working in EFI mode without having to modify/attach another IDE device. All I had to do is force the iso_interface to be setup as a SATA drive instead of the default IDE mode by adding the following to my packer config.
This will allow the ISO to be bootable. |
Awesome. So sounds like we have some work to do around making sure we set reasonable defaults, and add lots of documentation. |
Document what needs to happen if you're launching an efi vm. Closes #7081
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
When creating an EFI enabled VM, the optical drive isn't set to master (primary or secondary), this prevents the mounted ISO from being loaded and failing into the EFI shell.
The Optical drive should be an IDE secondary master, VirtualBox does this by default when creating a VM manually.
The text was updated successfully, but these errors were encountered: