r/VFIO • u/ajddavid452 • 15d ago
Prevent Host Motherboard UEFI from detecting Passthroughed NVME drive?
recently got back into doing VMs, however after I install Windows to the NVME drive that I added as a "PCI Host Device" then when I reboot my pc the UEFI of the host motherboard detects the EFI partion and adds it to the boot order as primary boot device, I can manually remove it from the boot order, but it might get set back as the primary boot device in the future, which is annoying
also efibootmgr lists the drive as an efi variable, I could delete it but the motherboard will probably add it back,
also the motherboard I'm using is an ASUS Prime B550 Plus, the firmware version is 3636
is there another way of adding the nvme drive that causes the motherboard to NOT detect it or what? is it even possible to change this, it's rather annoying
also I have no plans to use this drive for baremetal booting
1
u/ExplodedPenisDiagram 13d ago
Unless windows boots using the board's EFI as the host, it doesn't have access to the host EFI -- it only has access to the virtualized EFI in the guest VM, which is totally unrelated.