Skip to content
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

Add support for this to be an additional OVMF instead of a permanent and global one #1

Open
tiagofreire-pt opened this issue Jun 3, 2019 · 2 comments

Comments

@tiagofreire-pt
Copy link

@tiagofreire-pt tiagofreire-pt commented Jun 3, 2019

Like the subject says, it can be preferable sometimes to make this an alternative option instead of a permanent one.

Thanks in advance.

@tiagofreire-pt tiagofreire-pt changed the title Add support for this to be an additional UEFI instead of a permanent and global one Add support for this to be an additional OVMF instead of a permanent and global one Jun 3, 2019
@tstivers1990

This comment has been minimized.

Copy link

@tstivers1990 tstivers1990 commented Dec 14, 2019

  1. Extract the .deb archive using ar. You will get a data.tar.xz archive. Extract the contents of this.
  2. Copy the contents of data.tar.xz/usr/share/pve-edk2-firmware to /opt/pve-edk2-firmware-macos (or your preferred directory) on the Proxmox host.
  3. In the args: section of /etc/pve/qemu-server/YOUR-VM-ID-HERE.conf add the following at the end of the commands you added from the tutorial:
    -drive 'if=pflash,unit=0,format=raw,readonly,file=/opt/pve-edk2-firmware-macos//OVMF_CODE.fd' -drive 'if=pflash,unit=1,format=raw,id=drive-efidisk0,file=/dev/pve/vm-100-disk-1'
  4. Go to the Hardware->BIOS settings for your VM and select Default (SeaBIOS).

This worked for me without modifying the OVMF used for every VM on the server.

@tstivers1990

This comment has been minimized.

Copy link

@tstivers1990 tstivers1990 commented Dec 14, 2019

I've created a separate package that doesn't conflict with the OVMF installed by Proxmox. So you can use similar steps to the above to use a patched OVMF. The package I created also resolves the graphical glitch on cold-boot issue caused by the screen resolution not taking.

https://gitlab.com/pve-edk2-firmware-clover/pve-edk2-firmware-clover/blob/clover-patch/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.