Can I switch to HWE kernel after installation?

I'm going to install Xenial Xerus, but I'm not sure which variant I should use. I get to choose between the normal kernel and HWE kernel.

Now I understand that HWE kernel means that support for new HW will be available faster. On the other hand the HWE kernel may be less well tested than the GA kernel which means that one perhaps shouldn't use the HWE kernel if one don't actually need it.

As I'm currently using old hardware, I'm currently running Vivid Vervet without problems so any kernel would support my current hardware. On the other hand I cannot rule out that I might upgrade with newer hardware in the future which means that I might need the HWE kernel then.

So the question is if I can install using the normal kernel and then in the future just switch to the HWE kernel if I should need it.


Solution 1:

Yes, you can install using the normal kernel and then in the future switch to the hardware enablement kernel if you need it. To show available hwe packages, open the terminal and type:

apt-cache search linux.*hwe.*  

or install Ubuntu Software Center or Synaptic Package Manager and search in it for "hwe". Synaptic has the most user-friendly way of displaying the search results for "hwe" because it displays the available packages in a list with a description of each package appearing on the same row as the package.

Solution 2:

Yes you can. For example in 16.04:

Desktop

sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04 

Server

sudo apt-get install --install-recommends linux-generic-hwe-16.04 

see https://wiki.ubuntu.com/Kernel/LTSEnablementStack for more details

Solution 3:

According to https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack

Best option from me:

sudo apt install linux-generic-hwe-16.04

Also for docker aufs support

sudo apt install linux-image-extra-virtual-hwe-16.04

Using meta packages above you always got kernel updates with

sudo apt upgrade