Guest UEFI enable

Fala

New Member
Dec 24, 2014
6
0
1
if anyone wants to share knowledge on inclusion of UEFI for virtual machines in PVE?


Is it possible?

AC
 

LnxBil

Famous Member
Feb 21, 2015
4,439
447
103
Germany
It's working fine (at least for the linux distributions I tried).

Download the precompiled OVMF package from http://www.tianocore.org/ovmf/ and unzip it (assuming your VMID is 7012) in your VM folder such that you have

root@proxmox4 /var/lib/vz/images/7012 > ls -l /var/lib/vz/images/7012/
insgesamt 7116
-rw------- 1 root root 130 Feb 10 2014 BUILD_INFO
-rw------- 1 root root 4210 Feb 10 2014 LICENSE
-rw-rw-r-- 1 root root 1048576 Feb 10 2014 OVMF.fd
-rw-rw-r-- 1 root root 10573 Feb 10 2014 README
-rw-r--r-- 1 root root 34365309440 Okt 9 16:07 vm-7012-disk-1.qcow2

Then add the following line to /etc/pve/qemu-server/7012.conf

args: -bios /var/lib/vz/images/7012/OVMF.fd

Then boot up the machine and enjoy UEFI. As I stated earlier, it may not be working for other environments than linux, you have to try.
 

UrkoM

New Member
Oct 15, 2014
17
0
1
Hi,
From the README in that file, it seems this line in the .conf file could be better:
Code:
args: -pflash /var/lib/vz/images/7012/OVMF.fd
I am creating a machine with Proxmox VE 4.2, and it seems to work fine, but it's still very early.
 

jagan

Active Member
Feb 11, 2015
93
0
26
india,chennai
It's working fine (at least for the linux distributions I tried).

Download the precompiled OVMF package from http://www.tianocore.org/ovmf/ and unzip it (assuming your VMID is 7012) in your VM folder such that you have

root@proxmox4 /var/lib/vz/images/7012 > ls -l /var/lib/vz/images/7012/
insgesamt 7116
-rw------- 1 root root 130 Feb 10 2014 BUILD_INFO
-rw------- 1 root root 4210 Feb 10 2014 LICENSE
-rw-rw-r-- 1 root root 1048576 Feb 10 2014 OVMF.fd
-rw-rw-r-- 1 root root 10573 Feb 10 2014 README
-rw-r--r-- 1 root root 34365309440 Okt 9 16:07 vm-7012-disk-1.qcow2


Then add the following line to /etc/pve/qemu-server/7012.conf

args: -bios /var/lib/vz/images/7012/OVMF.fd

Then boot up the machine and enjoy UEFI. As I stated earlier, it may not be working for other environments than linux, you have to try.
HI,

I am trying to enable UEFI BIOS for my Win10 VM to passthrough the nvidia GTX 1050 Ti GPU. Where can i download the precompiled ovmf package & how to install them. Please help me, I can't able to understand your steps. Doing this testing on PVE 3.4
 

jagan

Active Member
Feb 11, 2015
93
0
26
india,chennai
Don't even try. Update to PVE 5.3 and it'll be possible and easier to do.
Hi, Thanks for your quick reply.
I am intrested to test on PVE 3.4 before going to 5.3. If I know the complexity in 3.4 , I can feel the real advantage of it in 5.3. Also I want to understand how to do this configuration in CLI. Could you please help me out.
 

jagan

Active Member
Feb 11, 2015
93
0
26
india,chennai
WHY?
Your graphics card is many years newer than your operating system, just upgrade to the newest version.
Not even the official support will help you with such an old system. Both PVE 3.x and PVE 4.x are already End-of-line (EOL) for at least half a year: https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/
all my current servers are running on PVE3.4, suddenly I can't upgrade to 5.3 now. For testing purpose Please share me the ovmf package & steps to enable UEFI for my win10 VM.
 

LnxBil

Famous Member
Feb 21, 2015
4,439
447
103
Germany
all my current servers are running on PVE3.4, suddenly I can't upgrade to 5.3 now.
Hopefully, you're not storing EU residential information inside of any VM on your old PVE 3.4 server or you're in violation of GDPR Art. 5 lit. f
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!