I've never checked if I have any old kernels so I checked

thusband

Member
Jun 30, 2022
146
6
23
Do I need to remove these? If so what's the best way? There seems to be several different ways.

Many thanks.
Code:
Linux pve 6.2.16-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.2.16-8 (2023-08-02T12:17Z) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Aug 17 07:13:15 BST 2023 on pts/0
root@pve:~# uname -a
Linux pve 6.2.16-8-pve #1 SMP PREEMPT_DYNAMIC PMX 6.2.16-8 (2023-08-02T12:17Z) x86_64 GNU/Linux
root@pve:~# dpkg --list|grep pve-kernel.*-pve
ii  pve-kernel-6.2.16-3-pve              6.2.16-3                            amd64        Proxmox Kernel Image
ii  pve-kernel-6.2.16-4-pve              6.2.16-5                            amd64        Proxmox Kernel Image
ii  pve-kernel-6.2.16-5-pve              6.2.16-6                            amd64        Proxmox Kernel Image
root@pve:~#
 
You just run an apt autoremove to remove most old kernels. PVE will still keep some old kernels so you got a fallback option in case there is a problem with a new kernel.
 
Last edited:
  • Like
Reactions: Maximiliano

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!