Difference between revisions of "Proxmox VE Kernel"

From Proxmox VE
Jump to navigation Jump to search
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
=Introduction=
+
== Introduction ==
Proxmox VE supports currently three kernel branches, each one with minor feature differences. Beginning with 1.9 the 2.6.32 is the default and highly recommended branch. (Proxmox VE 0.9 beta till Proxmox 1.4 used 2.6.24, Proxmox 1.5 used 2.6.18).
+
Kernel versions in use in various Proxmox VE versions are listed here.
  
A Proxmox VE cluster master can manage a mixed kernel setup. For example, you can run two nodes with 2.6.18 and two nodes with 2.6.32 and also nodes with 2.6.35. Depending on the features, some migrations are only possible between identical kernels.
+
== Linux Kernel ==
 +
The Linux kernel is a Unix-like operating system kernel. Released under the GNU General Public License version 2 (GPLv2) and developed by contributors worldwide, Linux is one of the most prominent examples of free software.
  
For correctly effecting a kernel change, it may be necessary to '''edit''' the '''/etc/fstab''' file for the '''/boot''' mount.
+
== Proxmox VE 7.x ==
 +
The current stable 7.x release uses currently the 5.13 kernel, derived from Ubuntu 21.10, as default. The 5.15 based LTS kernel, derived from the upcoming
 +
Ubuntu 22.04 downstream repository, is provided as opt-in. It will be the new default in Proxmox VE 7.2 planned for 2022/Q2.
  
=Kernel 2.6.18=
+
== Proxmox VE 6.x ==
*Old Stable OpenVZ
+
The current stable 6.x release uses latest Ubuntu 20.04 based kernel, which will be regularly updated. The first stable 6.0 release is based on 5.0 Linux kernel (Ubuntu 19.10).
*Old Stable KVM
 
  
==How to install 2.6.18==
+
Since Proxmox VE 6.2 it is based on the 5.4 LTS Linux Kernel (using the Ubuntu 20.04 LTS Focal Kernel as a base).
<pre>aptitude update
 
aptitude safe-upgrade
 
aptitude install proxmox-ve-2.6.18</pre>
 
  
To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.
+
== Proxmox VE 5.x ==
 +
The current stable 5.x release uses latest Ubuntu 18.04 based kernel, which will be regularly updated. The first stable 5.0 release is based on 4.13 Linux kernel (Ubuntu 17.10 Artful).
  
proxmox-ve-2.6.18:~# pveversion -v
+
Since Proxmox VE 5.2 it is based on the 4.15 LTS Linux Kernel (using the Ubuntu 18.04 LTS Bionic Kernel as a base).
+
The 4.13 received some updates after adoption of 4.15 as initially some hardware issues (NIC, SCSI) arose - those should be fixed by now and we heavily suggest switching over to the 4.15 kernel by installing the pve-kernel-4.15 meta package - it includes, among other fixes, important security enhancements.
pve-manager: 1.8-17 (pve-manager/1.8/5948)
 
running kernel: 2.6.18-6-pve
 
proxmox-ve-2.6.18: 1.8-15
 
pve-kernel-2.6.18-6-pve: 2.6.18-15
 
qemu-server: 1.1-30
 
pve-firmware: 1.0-11
 
libpve-storage-perl: 1.0-17
 
vncterm: 0.9-2
 
vzctl: 3.0.26-1pve4
 
vzdump: 1.2-12
 
vzprocps: 2.0.11-2
 
vzquota: 3.0.11-1
 
pve-qemu-kvm-2.6.18: 0.9.1-15
 
  
=Kernel 2.6.24 (outdated)=
+
== Proxmox VE 4.x ==
'''Note''': not compatible to the latest vzctl 3.0.26 (missing vzeventd), => you need to switch to a newer branch
+
The old stable 4.x release uses latest Ubuntu 16.04 based kernel, which will be regularly updated. The first 4.0 release was based on 4.2 Linux kernel.
*OpenVZ
 
*KVM
 
  
==How to install 2.6.24==
+
Since Proxmox VE 4.2 it is based on the 4.4 LTS Linux Kernel (using the Ubuntu 16.04 LTS Xenial Kernel as a base).
<pre>aptitude update
 
aptitude safe-upgrade
 
aptitude install proxmox-ve-2.6.24</pre>
 
  
To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.
+
== Proxmox VE 3.x ==
  
=Kernel 2.6.32=
+
Proxmox VE 3.x supports currently two kernel branches. Support for 3.x will end in April 2016.
*Latest KVM
 
*Stable OpenVZ
 
*based on RHEL6x
 
*Default Kernel branch since Proxmox VE 1.6
 
==How to install 2.6.32==
 
<pre>aptitude update
 
aptitude safe-upgrade
 
aptitude install proxmox-ve-2.6.32</pre>
 
  
To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.
+
A Proxmox VE cluster can manage a mixed kernel setup. Depending on the features, some migrations are only possible between identical kernels or identical KVM versions.
  
proxmox-ve-2.6.32:~# pveversion -v
+
=== Kernel 3.10 ===
+
* Latest KVM
pve-manager: 1.8-23 (pve-manager/1.8/6533)
+
* NO OpenVZ support
running kernel: 2.6.32-6-pve
+
* LXC supported
proxmox-ve-2.6.32: 1.8-42
+
* based on RHEL7x
pve-kernel-2.6.32-6-pve: 2.6.32-42
+
* Default Kernel for 4.x
qemu-server: 1.1-32
 
pve-firmware: 1.0-13
 
libpve-storage-perl: 1.0-19
 
vncterm: 0.9-2
 
vzctl: 3.0.28-1pve5
 
vzdump: 1.2-15
 
vzprocps: 2.0.11-2
 
vzquota: 3.0.11-1
 
pve-qemu-kvm: 0.15.0-1
 
ksm-control-daemon: 1.0-6
 
  
=Kernel 2.6.35=
+
=== Kernel 2.6.32 ===
*Latest KVM
+
* Latest KVM
*No OpenVZ
+
* Stable OpenVZ
 +
* based on RHEL6x now
 +
* Default Kernel for 3.x and lower
  
==How to install 2.6.35==
+
[[Category: HOWTO]] [[Category: Installation]]
The 2.6.35 was introduced to support KSM. As KSM works now also with the default 2.6.32, this kernel branch will get no more updates, all users should switch to 2.6.32.
 
 
 
<pre>aptitude update
 
aptitude safe-upgrade
 
aptitude install proxmox-ve-2.6.35</pre>
 
 
 
To make sure that you boot into the new kernel, check /boot/grub/menu.lst. Now reboot and check if the system is running the right kernel.
 
 
 
proxmox-ve-2.6.35:~# pveversion -v
 
 
pve-manager: 1.8-17 (pve-manager/1.8/5948)
 
running kernel: 2.6.35-1-pve
 
proxmox-ve-2.6.35: 1.8-11
 
pve-kernel-2.6.35-1-pve: 2.6.35-11
 
qemu-server: 1.1-30
 
pve-firmware: 1.0-11
 
libpve-storage-perl: 1.0-17
 
vncterm: 0.9-2
 
vzctl: 3.0.26-1pve4
 
vzdump: 1.2-12
 
vzprocps: 2.0.11-2
 
vzquota: 3.0.11-1
 
pve-qemu-kvm: 0.14.0-3
 
ksm-control-daemon: 1.0-5
 
 
 
 
 
[[Category: HOWTO]][[Category: Technology]][[Category: Installation]]
 

Revision as of 12:11, 25 February 2022

Introduction

Kernel versions in use in various Proxmox VE versions are listed here.

Linux Kernel

The Linux kernel is a Unix-like operating system kernel. Released under the GNU General Public License version 2 (GPLv2) and developed by contributors worldwide, Linux is one of the most prominent examples of free software.

Proxmox VE 7.x

The current stable 7.x release uses currently the 5.13 kernel, derived from Ubuntu 21.10, as default. The 5.15 based LTS kernel, derived from the upcoming Ubuntu 22.04 downstream repository, is provided as opt-in. It will be the new default in Proxmox VE 7.2 planned for 2022/Q2.

Proxmox VE 6.x

The current stable 6.x release uses latest Ubuntu 20.04 based kernel, which will be regularly updated. The first stable 6.0 release is based on 5.0 Linux kernel (Ubuntu 19.10).

Since Proxmox VE 6.2 it is based on the 5.4 LTS Linux Kernel (using the Ubuntu 20.04 LTS Focal Kernel as a base).

Proxmox VE 5.x

The current stable 5.x release uses latest Ubuntu 18.04 based kernel, which will be regularly updated. The first stable 5.0 release is based on 4.13 Linux kernel (Ubuntu 17.10 Artful).

Since Proxmox VE 5.2 it is based on the 4.15 LTS Linux Kernel (using the Ubuntu 18.04 LTS Bionic Kernel as a base). The 4.13 received some updates after adoption of 4.15 as initially some hardware issues (NIC, SCSI) arose - those should be fixed by now and we heavily suggest switching over to the 4.15 kernel by installing the pve-kernel-4.15 meta package - it includes, among other fixes, important security enhancements.

Proxmox VE 4.x

The old stable 4.x release uses latest Ubuntu 16.04 based kernel, which will be regularly updated. The first 4.0 release was based on 4.2 Linux kernel.

Since Proxmox VE 4.2 it is based on the 4.4 LTS Linux Kernel (using the Ubuntu 16.04 LTS Xenial Kernel as a base).

Proxmox VE 3.x

Proxmox VE 3.x supports currently two kernel branches. Support for 3.x will end in April 2016.

A Proxmox VE cluster can manage a mixed kernel setup. Depending on the features, some migrations are only possible between identical kernels or identical KVM versions.

Kernel 3.10

  • Latest KVM
  • NO OpenVZ support
  • LXC supported
  • based on RHEL7x
  • Default Kernel for 4.x

Kernel 2.6.32

  • Latest KVM
  • Stable OpenVZ
  • based on RHEL6x now
  • Default Kernel for 3.x and lower