Skip to content
Menu
Marius Serbanica – Tech Blog
  • My Tech Blog
  • About me
  • Contact Me
  • Curriculum Vitae
  • Projects
  • Current Projects List
  • Certifications
  • Home Lab
  • Self-Hosted
  • Linux Cheat Sheet
  • Linux Commands
  • Privacy Policy
  • Site Map
Marius Serbanica – Tech Blog
November 18, 2023

IOMMU activation.

After finishing up my newest small factor and low power consumption NAS Server, because both my NUC and my NAS were now booting off a ZFS mirror SSD stripe, I had to go through extra hoops in order to activate IOMMU for PCI pass-through in Proxmox VMs.

It really isn’t that hard and I’ll write it here step-by-step just so I don’t forget about it, lol!


-Legacy Systems; Add IOMMU Support-

nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=”quiet intel_iommu=on”

– OR –

GRUB_CMDLINE_LINUX_DEFAULT=”quiet amd_iommu=on”

Save file and close (ctrl + X, Y -if you’re using nano)

update-grub

-EFI Boot Systems; Add IOMMU Support-

nano /etc/kernel/cmdline

intel_iommu=on

– OR –

amd_iommu=on

Save file and close (ctrl + X, Y -if you’re using nano)

proxmox-boot-tool refresh

-Load VFIO modules at boot-

nano /etc/modules

add the following lines to the modules file

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

Save file and close (ctrl + X, Y -if you’re using nano)

-Apply all changes-

update-initramfs -u -k all
reboot

Now, if everything goes alright, hopefully after the reboot, you will have IOMMU activated and ready to go!
Have fun!

Share on Social Media
x facebook linkedin

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join my LinkedIn Network.

Recent Posts

  • Kubernetes cluster. Why and how
  • Installing GNU-World on ircu2
  • Replacing Cloudflare Tunnel with Tailscale on a VPS
  • KASM – My main workspace RBI
  • Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense

Archives

  • February 2025
  • January 2025
  • October 2024
  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023

Categories

  • How-To
  • Tech Industry
  • Tech, but personal
  • Tutorials

Recent Comments

  1. IRC Lamer on Installing GNU-World on ircu2
  2. severus2231 on Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense
  3. admin on Mounting a NAS (Network Attached Storage) device on Linux
  4. abL on Mounting a NAS (Network Attached Storage) device on Linux
  5. Alin R on Cleaning up your Linux OS.
Social Media
Find me on social media
Facebook Twitter Instagram LinkedIn

©2025 Marius Serbanica – Tech Blog