pvetools icon indicating copy to clipboard operation
pvetools copied to clipboard

一键开启PCIE直通功能在使用EFI模式启动的PVE上不可用 Can‘t enable iommu on pve booted from uefi

Open A0nameless0man opened this issue 3 years ago • 0 comments

重现/Reproduce

  1. 安装一台使用EFI启动的pve实例

  2. 使用脚本开启PCIE直通

  3. 重启

  4. 直通并未开启

  5. Install pve using uefi

  6. use this script to enable iommu

  7. reboot

  8. 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.

A0nameless0man avatar May 28 '21 15:05 A0nameless0man