[SOLVED] Updating Proxmox VE kernel. How to ?

kast0r

New Member
Jun 29, 2022
11
1
1
Hi,

I read that there was kernel version 5.15.35 which had a fix for Intel Alder Lake processors. (I own an i5-12600K).

What is the procedure to update the kernel? Right now I'm on 5.15.30

Code:
root@prox:~# pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.30-2-pve)
pve-manager: 7.2-3 (running version: 7.2-3/c743d6c1)
pve-kernel-helper: 7.2-2
pve-kernel-5.15: 7.2-1
pve-kernel-5.15.30-2-pve: 5.15.30-3
ceph-fuse: 15.2.16-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-8
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-6
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.2-2
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.12-1
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.1.8-1
proxmox-backup-file-restore: 2.1.8-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-10
pve-cluster: 7.2-1
pve-container: 4.2-1
pve-docs: 7.2-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.4-1
pve-ha-manager: 3.3-4
pve-i18n: 2.7-1
pve-qemu-kvm: 6.2.0-5
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-2
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.4-pve1

Thanks!
 
You just update PVE like normal and reboot the server to the new kernel package can take into effect. If there is no newer kernel package available, you might want to test out another repository. There is for example a test repo you could add: https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_test_repo

But of cause, newer also means less stable and less well tested. So I would always try to stick with older versions unless you really need it to fix something important.
 
Last edited:
Code:
apt update
apt dist-upgrade
reboot

edit: you might also have to adapt your apt repo sources list [0]

[0]: https://pve.proxmox.com/wiki/Package_Repositories

#pveversion --verbose

Brings me:

proxmox-ve: 8.2.0 (running kernel: 6.8.4-2-pve)
pve-manager: 8.2.2 (running version: 8.2.2/9355359cd7afbae4)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.8: 6.8.4-2
proxmox-kernel-6.8.4-2-pve-signed: 6.8.4-2

Is there a newer version?
 
proxmox-kernel-6.8: 6.8.4-2
proxmox-kernel-6.8.4-2-pve-signed: 6.8.4-2

Is there a newer version?
With subscription you should be able to ask your system for this and see:
Code:
~# apt policy proxmox-kernel-6.8 | head

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

proxmox-kernel-6.8:
  Installed: 6.8.12-2
  Candidate: 6.8.12-2
  Version table:
 *** 6.8.12-2 500
        500 https://enterprise.proxmox.com/debian/pve bookworm/pve-enterprise amd64 Packages
        100 /var/lib/dpkg/status

Without subscription I get "Candidate: 6.8.12-4"

If you only see older ones triple check your repository, the link to the documentation is in post #4
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!