在 PVE 中添加 PCIE 设备时提示: No IOMMU detected, please activate it.See Documentation for further information.,需要开启 iommu。
开启 iommu
1
root@HomeLab ~$ vim /etc/default/grub
Intel CPU 修改成:GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
AMD CPU 修改成:GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"
更新 grub
1 2 3 4 5 6 7 8 9 10 11 12 13
root@HomeLab ~$ update-grub Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.15.85-1-pve Found initrd image: /boot/initrd.img-5.15.85-1-pve Found linux image: /boot/vmlinuz-5.15.74-1-pve Found initrd image: /boot/initrd.img-5.15.74-1-pve Found memtest86+ image: /boot/memtest86+.bin Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. Adding boot menu entry for UEFI Firmware Settings ... done