Table of Contents

Proxmox install Checklist

Source: Craft Computing - Let's Install Proxmox 8.0!

1. Disable enterprise repos

edit file

/etc/apt/sources.list.d/pve-enterprise.list

and comment out the line by adding a # at the beginning. Then, update the package list with:

2. update

apt update
apt upgrade

3. Update LXC templates

pveam update

List available templates:

pveam available

Download the desired template: Replace <template-name> with the actual template name you want to download.

pveam download local <template-name>

4. Enable PCI Passthrough

vim /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=“quiet intel_iommu=on”

  1. OR -

GRUB_CMDLINE_LINUX_DEFAULT=“quiet amd_iommu=on”

vim /etc/kernel/cmdline

append

intel_iommu=on
  1. OR -
amd_iommu=on

and run

proxmox-boot-tool refresh
cd /etc/modules-load.d/

create file vfio.conf

vfio
vfio_iommu_type1
vfio_pci
vfop_virqfd

-Blacklist graphic drivers (optional)-

echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf

echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf

-Configure GPU for PCIe Passthrough-

  1. Find your GPU
lspci |grep -i nvidia
  1. Enter the PCI identifier
lspci -n -s 82:00 -v
  1. Copy the HEX values from your GPU here:
echo "options vfio-pci ids=####.####,####.#### disable_vga=1"> /etc/modprobe.d/vfio.conf

-Apply all changes-

update-initramfs -u -k all

–REBOOT–