Linux VM gpu passthrough UEFI shell stuck (SOLVED)

virtual<3

New Member
Oct 3, 2017
7
0
1
31
EDIT: THIS HAS BEEN SOLVED


Hello!

I have GPUs working for windows, but when I try to do same for linux, I get UEFI shell at boot and I'm unable to continue from there. If I go to FS0: -> cd EFI -> cd ubuntu -> grubx64.EFI
Then I can get machine to boot, but restarting will cause same UEFI shell at boot and it's really just not a valid way to get this working.


My current setup is proxmox with latest updates checked today. Everything is working for windows vm so hardware should be fine. I believe this is software/os problem.



EDIT: I have fixed this. For some reason it was looking for boot file in wrong directory. I copy file from wrong dir to the one it was trying to boot from. And now it's working. I've never had boot file in wrong directory by default, but I guess proxmox VM bios is a bit different
 
Last edited:
did you add an efi disk?
if not, please do, otherwise the boot entries for ovmf cannot be saved

if you did this, create a default efi boot entry via your guest os
(in case of ubuntu this should work with efibootmgr)
 
I have efi disk. Also I have tried to fix efi boot entry via guest os

i.imgur.com/NNX0K6X.png

This is what I'm getting now. It won't find grubx64.EFI.
 
the correct location (as you wrote in the first post) is EFI/ubuntu/grubx64.efi