Skip to content

Instantly share code, notes, and snippets.

@coldfire7
Last active March 18, 2022 14:32
Show Gist options
  • Save coldfire7/2d806bc73c6ecc4869ffdcf28a817691 to your computer and use it in GitHub Desktop.
Save coldfire7/2d806bc73c6ecc4869ffdcf28a817691 to your computer and use it in GitHub Desktop.
Install pve-edge-kernel on Proxmox (Zen 2)
### This guide is for Zen 2 ONLY!!!
### USE AT YOUR OWN RISK!!!
### NEW WAY!!!
apt install pve-kernel-5.11
apt install pve-headers-$(uname -r)
update-grub
update-initramfs -u
reboot
### OLD WAY!!!
# Install pve-edge-kernel on Proxmox
# https://github.com/fabianishere/pve-edge-kernel/
mkdir ~/pve-edge-kernel && cd ~/pve-edge-kernel
wget https://github.com/fabianishere/pve-edge-kernel/releases/download/v5.11.7-1/pve-edge-kernel-5.11.7-1_5.11.7-1+zen21_amd64.deb
wget https://github.com/fabianishere/pve-edge-kernel/releases/download/v5.11.7-1/pve-edge-headers-5.11.7-1_5.11.7-1_amd64.deb
dpkg -i pve-edge-kernel-5.11.7-1_5.11.7-1+zen21_amd64.deb && dpkg -i pve-edge-headers-5.11.7-1_5.11.7-1_amd64.deb
pve-efiboot-tool kernel add 5.11.7-1
pve-efiboot-tool refresh
sed -i "s/^features-file/\# features-file/" /etc/apparmor/parser.conf
echo "features-file=/usr/share/apparmor-features/features.stock" >> /etc/apparmor/parser.conf
reboot now
# After installing / updating pve-edge-kernel
# If you have VFIO passthrough enabled
update-grub
update-initramfs -u
reboot now
dmesg | grep -e DMAR -e IOMMU
# If you have asus-wmi-sensors installed
rm -rf /usr/src/asus-wmi-sensors-d3b68db && rm -rf /var/lib/dkms/asus-wmi-sensors
cd /tmp && git clone https://github.com/electrified/asus-wmi-sensors.git && cd asus-wmi-sensors && make dkms && modprobe asus-wmi-sensors
#EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment