proxmox ve tools script(debian9+ can use it).Including email, samba, NFS set zfs max ram, nested virtualization ,docker , pci passthrough etc. for english user,please look the end of readme.
GNU General Public License v3.0
4.2k
stars
512
forks
source link
一键开启PCIE直通功能在使用EFI模式启动的PVE上不可用 Can‘t enable iommu on pve booted from uefi #30
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.
重现/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 runproxmox-boot-tool refresh
to make sure the option is writen toloader/entries/proxmox-*.conf
修复方法/FIX
推荐直接不管启动类型,直接执行上述操作
I recommand just do the operation descirbed above with out consider the boot type.