
Run the following command to recreate the kernel configuration: grub2-mkconfig -o /boot/grub2/grub.

They are not from the same branch and are not intended for RHEL7.6. To insert/edit the file enter 'i' for insert mode and insert the following at End Of Fle.Īfter inserting, save the file by hitting Esc key and then ':' followed by wq and enter :wq There are newer kernel versions available in other branches, such as kernel version 3.10.0-1062 (for RHEL7.7), and 4.18.0-80 (for RHEL8). This means that the first kernel in the GRUB list will be used as default. To find out the version of your kernel, run uname -r: uname -r If you see anything at all after the dash, you are running a distribution kernel. Open and edit the file /etc/default/grub and set GRUB_DEFAULT=0. Unless you downloaded, compiled and installed your own version of kernel from, you are running a distribution kernel. To make the newly-installed version the default boot option, you will have to modify the GRUB configuration as follows: Run the following command to install the latest mainline stable kernel: yum -enablerepo=elrepo-kernel install kernel-ml Once the repository has been enabled, you can use the following command to list the available kernel related packages: yum -disablerepo="*" -enablerepo="elrepo-kernel" list available

To enable the ELRepo repository on CentOS 7, do: rpm -import Re: List of kernel versions by jlehtone » Fri 8:15 pm I dont know any neat list, but these are the current ones, AFAIK: kernel-4.18.0-147.8.1.el81 kernel-3.10.0-1127.10.1.el7. Run the following command to know your current kernel: uname -sr Installing the Linux Kernel 4.x on CentOS 7
