Personal tools
You are here: Home Linux CentOs 7 Install CentOS Plus kernel (kernel-plus)
Navigation
 

Install CentOS Plus kernel (kernel-plus)

This document is about changing over the the CentOS 'plus' kernel. This is in response to a Xen/kernel crash with the release of CentOS v7.4 (as per the release notes)

Steps

Enable the CentOS Plus repository. The '/etc/yum.repos.d/CentOS-Base.repo' defines the location for the repository.

# yum install yum-utils
# yum-config-manager --enable centosplus

Change the default kernel to be :

# sed -e 's/^DEFAULTKERNEL=kernel$/DEFAULTKERNEL=kernel-plus/g' -i /etc/sysconfig/kernel

Install the plus kernel

# yum install kernel-plus

Use the kernel-plus-tools package (and remove the standard kernel tools):

# yum erase kernel-tools kernel-tools-libs
# yum install kernel-plus-tools kernel-plus-tools-libs

Uninstall the standard kernel (so that updates don't override the use of the kernel-plus). This will uninstall all installed standard kernel packages (I checked the new kernel-plus package booted first). Note: yum has a check that it is not possible to delete the running kernel, so a reboot is required to remove the standard kernel.

 # yum erase kernel

Links

 

Appendices

 

install

# yum install kernel-plus
Resolving Dependencies
--> Running transaction check
---> Package kernel-plus.x86_64 0:3.10.0-693.2.2.el7.centos.plus will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================
 Package                   Arch                 Version                                        Repository                Size
==============================================================================================================================
Installing:
 kernel-plus               x86_64               3.10.0-693.2.2.el7.centos.plus                 centosplus                44 M

Transaction Summary
==============================================================================================================================
Install  1 Package

Total download size: 44 M
Installed size: 60 M
Is this ok [y/d/N]:

 

Document Actions