Table of Contents Update kernel to 4.x/5.x mainline Install ELRepo Repository Install the kernel centos, kernel Update kernel to 4.x/5.x mainline Install ELRepo Repository rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm Install the kernel yum --enablerepo=elrepo-kernel install kernel-ml -y Check with Grub for proper installation grub2