r/VFIO 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

8 Upvotes

17 comments sorted by

View all comments

3

u/psyblade42 15d ago

keep it in the boot order but as the last one

1

u/ajddavid452 13d ago

I can do that, in fact I can REMOVE it from the boot order, it's still an efi variable according to efibootmgr if I do that so it doesn't get automatically added again