Skip to main content

Initial Proxmox server setup

·186 words·1 min·

Setting up Proxmox VE often requires enabling hardware passthrough, switching to no-subscription repositories, and removing the subscription pop-up when using the community edition.

Configure Proxmox No-Subscription Repositories

In the Proxmox web dashboard, go to Datacenter → Node → Updates → Repositories. From there, disable all existing enterprise repository entries, then click Add to create the no-subscription repositories for both PVE and Ceph.

Update and Upgrade Packages

apt update && apt upgrade -y

Enable IOMMU

To enable hardware passthrough in Proxmox, you must activate IOMMU in GRUB.

Edit the GRUB configuration

nano /etc/default/grub

Add the appropriate kernel parameters depending on your CPU:

For Intel CPUs:

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pt=on"

For AMD CPUs:

GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on pt=on"

Update GRUB:

update-grub

Load VFIO modules

Edit the modules file:

nano /etc/modules

Add these lines (note: vfio_virqfd is optional on kernel ≥ 6.2):

vfio
vfio_iommu_type1
vfio_pci

Rebuild initramfs:

update-initramfs -u -k all

Reboot and verify IOMMU

After boot, confirm that IOMMU is active:

dmesg | grep -e DMAR -e IOMMU

For AMD specifically:

dmesg | grep -e DMAR -e IOMMU -e AMD-Vi

Disable No-Subscription Pop-Up

sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js