pvetools
pvetools copied to clipboard
一键开启PCIE直通功能在使用EFI模式启动的PVE上不可用 Can‘t enable iommu on pve booted from uefi
重现/Reproduce
-
安装一台使用EFI启动的pve实例
-
使用脚本开启PCIE直通
-
重启
-
直通并未开启
-
Install pve using uefi
-
use this script to enable iommu
-
reboot
-
iommu is not enabled
原因/Reason
当使用EFI启动时,intel_iommu=on 应当被写入到 /etc/kernel/cmdline
然后运行 proxmox-boot-tool refresh
以写入 loader/entries/proxmox-*.conf
When boot from uefi, option intel_iommu=on
should be writen to /etc/kernel/cmdline
and then run proxmox-boot-tool refresh
to make sure the option is writen to loader/entries/proxmox-*.conf
修复方法/FIX
推荐直接不管启动类型,直接执行上述操作
I recommand just do the operation descirbed above with out consider the boot type.