How to stop PVE Kernel upgrade

elvinmammadov

Member
Feb 12, 2021
30
1
13
36
Hello,

We would like to disable PVE Kernel upgrade during Linux update. Could you please let me know how I can do it? Thanks.
 
Hi,

what do you mean by that "kernel upgrade during Linux update"? And why do you want to do that?

If your goal is to prevent newer kernel's from being booted due to an issue you have encountered with a newer version, you can pin the kernel with the proxmox boot tool. Just execute proxmox-boot-tool kernel pin <kernel-version>. You have to replace <kernel-version> with a kernel version reported by the command proxmox-boot-tool list.
 
Last edited:
  • Like
Reactions: SInisterPisces
Hello,

We would like to disable PVE Kernel upgrade during Linux update. Could you please let me know how I can do it? Thanks.

To pin a kernel and prevent upgrade:
Code:
sudo proxmox-boot-tool kernel list
then inset your desired kernel to be pinned with
PHP:
sudo proxmox-boot-tool kernel pin <version to be pinned from list above>
Now your kernel will stay pinned until unpinned with
Code:
sudo proxmox-boot-tool kernel unpin