Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Ubuntu Kernel Upgrade

 

This addendum to the Paragon Insights (formerly HealthBot) Installation Guide is for those who need to upgrade the kernel version of their Ubuntu 16.04 server to 4.4.19 or later to meet the requirements for Paragon Insights installation. Kernel upgrade is required for both single and multinode installation. This document assumes that you are familiar with apt, the software packaging system on Ubuntu.

For those of you who would prefer to watch the commands get executed:

 

The kernel upgrade process involves the following steps:

  • Confirm current kernel version

  • Update the apt repositories on the server.

  • Upgrade existing software packages to the latest versions.

  • Find and install latest kernel

  • Reboot to load new kernel

  • Verify that the system is running on the new kernel

To perform a kernel upgrade, you must be logged in to your server as the root user or be able to obtain root privileges using the sudo -s command. The commands in the rest of the procedure assume that you are logged in as root or have issued the sudo -s command.

To confirm the existing kernel versionapt repositories:

  • root@server# uname -msr
    Since the existing kernel is below the required version, we must upgrade the kernel on this server.

Begin the kernel upgrade procedure by updating the apt repositories.

To update apt repositories:

  • root@server# apt update
    If you examine the output above, you’ll see that 48 packages are eligible for upgrade.

To upgrade existing software packages, including kernel upgrades:

  • root@server# apt upgrade -y
    user@server# apt install --install-recommends linux-generic-hwe-16.04
    As you can see from the output above, multiple kernels were available on this server. The apt install command with the –install-recommends flag found the available kernels and prepared the grub menu so that you can choose which kernel to boot from at boot time.

The new kernel is now available but not running. To load the new kernel, you must reboot the server.

  • user@server# reboot

After reboot, confirm the running kernel.

  • user@server# uname -msr

Related Documentation