Reason for removing the Debian kernel?

Ntfu1900

New Member
Jan 27, 2024
1
0
1
Hi,

I'm following the instructions to install Proxmox on an existing Debian system. I don't get why I should remove the original Debian kernel, I have many kernels installed, they are parallel, they don't interfere, in the install documentation you state:
-----

Remove the Debian Kernel​


Proxmox VE ships its own kernel and keeping the Debian default kernel can lead to trouble on upgrades, for example, with Debian point releases.Therefore, you must remove the default Debian kernel:
----
So where are the details why this is required? Because it makes no sense to me, a kernel that is not booted into is not interfering in my experience.
You modify the standard kernel, in case the PVE kernel does something nonstandard, it will cause the system to never boot again, as now the standard (sure to work) Debian kernel has been removed. Parallel installed Kernels are exactly for that reason, they provide a fail safe boot possibility.

Is there any documentation what was changed in the PVE kernel to know how it will impact my environment?
 
When upgrading PVE and there is a new Debian kernel available, that Debian kernel might conflict with the dependencies of the PVE packages. This will result in apt removing the "proxmox-ve" package and you end up with a non-working PVE installation. I hit that myself once and stopped the upgrade. But a lot of people still continue upgrading despite the warning that this will remove the Proxmox VE installation...you will find lots of threads here were people are panicing because they accidently removed the complete PVE as they forgot to remove the Debian kernel.
Keep in mind that you have to upgrade PVE with "apt dist-upgrade" or "apt full-upgrade" and there conflicting packages will be removed to ensure consistent dependencies. "apt upgrade" won't delete packages but might screw up the PVE installation because conflicting dependencies won't get resolved, so this shouldn't be used.

Example:
https://forum.proxmox.com/threads/pveupgrade-wants-to-remove-proxmox-ve.126810/
 
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!