--- title: "Rocky Linux 8" slug: "rockylinux8-kernel-update" updated: 2026-09-17T09:18:00Z published: 2026-09-17T09:18:00Z canonical: "guide.ncloud-docs.com/rockylinux8-kernel-update" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Rocky Linux 8 Available in VPC This guide describes how to update a kernel on the Rocky Linux 8 server of NAVER Cloud Platform. This guide is written based on new servers created on NAVER Cloud Platform, so there might be differences from the user server environment. User server environments may be affected by kernel updates and server restarts due to various reasons such as security hardening tasks and other setting tasks. Therefore, review the following before you perform a kernel update: - Create a replicated server using Server image before updating a kernel of the actual server. Perform the kernel update on the replicated server and check if it restarts successfully. When switching to operational status after restarting, check for any issues in the server. Perform the kernel update only after thorough validation to ensure there are no issues. - In the case of GPU servers, the GPU driver that matches the kernel version must be installed for normal operation. If the updated kernel is incompatible with GPU drivers, the GPU server might not function normally. Therefore, check GPU driver compatibility before you perform kernel updates. For related information, see [GPU driver guide](/docs/en/server-gpuserver-vpc#GPU%EB%93%9C%EB%9D%BC%EC%9D%B4%EB%B2%84CUDA%EC%9E%AC%EC%84%A4%EC%B9%98%EB%B0%8F%EC%97%85%EA%B7%B8%EB%A0%88%EC%9D%B4%EB%93%9C). Note This kernel update guide no longer provide regular updates. Therefore, when checking for the latest information or installing a different kernel version, see the relevant guide and take the necessary steps. The kernel version specified in the guide serves as an example, so make sure to thoroughly test other kernel versions as needed before installation. Caution - Kernel updates are performed at your own risk, and you are responsible for managing any issues that arise during the update process. - You can work safely by using a [server image](/docs/en/server-serverimage-vpc) to create a backup copy before updating the kernel. - NAVER Cloud Platform does not provide separate technical support regarding this guide and kernel updates. ## Check kernel versions available for update To check the kernel versions available for update on a Rocky Linux 8 server: By default, `http://repo.ncloud.com`, the NCP repo is set as the base URL. In environments with a public IP or a private subnet configured with NAT, you can switch the repository to an external public mirror site instead of the NCP repo. Note NCP repo is a repository provided by NAVER Cloud Platform to support user environments like VPC private subnets where external access is limited. To quickly apply the latest patches, we recommend switching to an external Public Mirror site. For more information, see [Linux OS repository configuration checklist guide](/docs/en/linux-os-repository-check). 1. Access the server you want to apply the kernel update to remotely. 2. Check the kernel version to apply to the server. ``` [root@xen-rockylinux810 ~]# dnf --showduplicates --releasever=8.10 list kernel Installed Packages kernel.x86_64 4.18.0-553.el8_10 @System kernel.x86_64 4.18.0-553.5.1.el8_10 @System Available Packages kernel.x86_64 4.18.0-553.el8_10 baseos kernel.x86_64 4.18.0-553.5.1.el8_10 baseos kernel.x86_64 4.18.0-553.8.1.el8_10 baseos kernel.x86_64 4.18.0-553.16.1.el8_10 baseos kernel.x86_64 4.18.0-553.22.1.el8_10 baseos ``` ``` [root@kvm-rockylinux810 ~]# dnf --showduplicates --releasever=8.10 list kernel Installed Packages kernel.x86_64 4.18.0-553.el8_10 @System kernel.x86_64 4.18.0-553.5.1.el8_10 @System Available Packages kernel.x86_64 4.18.0-553.el8_10 baseos kernel.x86_64 4.18.0-553.5.1.el8_10 baseos kernel.x86_64 4.18.0-553.8.1.el8_10 baseos kernel.x86_64 4.18.0-553.16.1.el8_10 baseos kernel.x86_64 4.18.0-553.22.1.el8_10 baseos ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 ## Update kernel To update kernels for Rocky Linux 8 servers: Note This guide provides an example of upgrading the kernel version to `4.18.0-553.22.1.el8_10` on a Rocky Linux 8 server. The kernel versions available for installation at the time of referencing the guide may vary, so thoroughly test other versions before installation. 1. Access the server you want to apply the kernel update to remotely. 2. Check the kernel version of the server. ``` [root@xen-rockylinux810 ~]# uname -r 4.18.0-553.5.1.el8_10.x86_64 ``` ``` [root@kvm-rockylinux810 ~]# uname -r 4.18.0-553.5.1.el8_10.x86_64 ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 3. Check the repository information connected to the server. If you need to edit the Repo file, see [Linux OS repository configuration checklist guide](/docs/en/linux-os-repository-check) to edit the repository information. ``` [root@xen-rockylinux810 ~]# grep -e ^mirrorlist -e ^baseurl /etc/yum.repos.d/Rocky-{AppStream,BaseOS,Extras}.repo /etc/yum.repos.d/Rocky-AppStream.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/os/ /etc/yum.repos.d/Rocky-BaseOS.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/os/ /etc/yum.repos.d/Rocky-Extras.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/extras/$basearch/os/ ``` ``` [root@kvm-rockylinux810 ~]# grep -e ^mirrorlist -e ^baseurl /etc/yum.repos.d/Rocky-{AppStream,BaseOS,Extras}.repo /etc/yum.repos.d/Rocky-AppStream.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/AppStream/$basearch/os/ /etc/yum.repos.d/Rocky-BaseOS.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/BaseOS/$basearch/os/ /etc/yum.repos.d/Rocky-Extras.repo:baseurl=http://repo.ncloud.com/rocky/$releasever/extras/$basearch/os/ ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 4. Check the kernel version provided by the repository. Note If you do not use --releasever=8.10 as the yum command option, you might not be able to view the latest 8.10 kernel. In this case, see the Change yum command settings on Rocky Linux 8 server section of [Linux OS repository configuration checklist guide](/docs/en/linux-os-repository-check) to change the yum command settings. ``` [root@xen-rockylinux810 ~]# rm -rf /var/cache/dnf/* [root@xen-rockylinux810 ~]# dnf --releasever=8.10 list kernel-4.18.0-553.22.1.el8_10 Available Packages kernel.x86_64 4.18.0-553.22.1.el8_10 baseos ``` ``` [root@kvm-rockylinux810 ~]# rm -rf /var/cache/dnf/* [root@kvm-rockylinux810 ~]# dnf --releasever=8.10 list kernel-4.18.0-553.22.1.el8_10 Available Packages kernel.x86_64 4.18.0-553.22.1.el8_10 baseos ``` - XEN Rocky Linux 8 - KVM Rocky Linux8 5. Install the reviewed version of the kernel. Carefully review the list of packages being newly installed, updated, or removed. If everything is in order, enter y to complete the installation. ``` [root@xen-rockylinux810 ~]# dnf --releasever=8.10 install kernel-4.18.0-553.22.1.el8_10 Dependencies resolved. =============================================================================================================================================================================== Package Architecture Version Repository Size =============================================================================================================================================================================== Installing: kernel x86_64 4.18.0-553.22.1.el8_10 baseos 10 M kernel-core x86_64 4.18.0-553.22.1.el8_10 baseos 43 M kernel-modules x86_64 4.18.0-553.22.1.el8_10 baseos 36 M Transaction Summary =============================================================================================================================================================================== Install 3 Packages Total download size: 90 M Installed size: 96 M Is this ok [y/N]: y (Check the installed packages, updated packages, and deleted packages carefully, and proceed with y if there are no abnormalities) ... Omitted ... Installed: kernel-4.18.0-553.22.1.el8_10.x86_64 kernel-core-4.18.0-553.22.1.el8_10.x86_64 kernel-modules-4.18.0-553.22.1.el8_10.x86_64 Complete! ``` ``` [root@kvm-rockylinux810 ~]# dnf --releasever=8.10 install kernel-4.18.0-553.22.1.el8_10 Dependencies resolved. =============================================================================================================================================================================== Package Architecture Version Repository Size =============================================================================================================================================================================== Installing: kernel x86_64 4.18.0-553.22.1.el8_10 baseos 10 M kernel-core x86_64 4.18.0-553.22.1.el8_10 baseos 43 M kernel-modules x86_64 4.18.0-553.22.1.el8_10 baseos 36 M Transaction Summary =============================================================================================================================================================================== Install 3 Packages Total download size: 90 M Installed size: 96 M Is this ok [y/N]: y (Check the installed packages, updated packages, and deleted packages carefully, and proceed with y if there are no abnormalities) ... Omitted ... Installed: kernel-4.18.0-553.22.1.el8_10.x86_64 kernel-core-4.18.0-553.22.1.el8_10.x86_64 kernel-modules-4.18.0-553.22.1.el8_10.x86_64 Complete! ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 6. After the installation is complete, check the bootable kernel version and the default boot kernel version. Note For XEN Rocky Linux 8, grub2 is the default, and for KVM Rocky Linux 8, BootLoaderSpec Configuration (BLSCFG) is the default. Thus, XEN Rocky Linux 8 uses grub2 commands, and KVM Rocky Linux 8 uses grubby commands. ``` [root@xen-rockylinux810 ~]# grep BLSCFG /etc/default/grub [root@xen-rockylinux810 ~]# [root@xen-rockylinux810 ~]# grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2 Rocky Linux (4.18.0-553.5.1.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (4.18.0-553.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (0-rescue-22b3e1e3130c45978071f903c5b6cf5d) 8.10 (Green Obsidian) [root@xen-rockylinux810 ~]# ls -ld /etc/grub2* lrwxrwxrwx. 1 root root 22 May 25 01:59 /etc/grub2.cfg -> ../boot/grub2/grub.cfg [root@xen-rockylinux810 ~]# grub2-mkconfig -o /etc/grub2.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 Found initrd image: /boot/initramfs-4.18.0-553.22.1.el8_10.x86_64.img Found linux image: /boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64 Found initrd image: /boot/initramfs-4.18.0-553.5.1.el8_10.x86_64.img Found linux image: /boot/vmlinuz-4.18.0-553.el8_10.x86_64 Found initrd image: /boot/initramfs-4.18.0-553.el8_10.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-22b3e1e3130c45978071f903c5b6cf5d Found initrd image: /boot/initramfs-0-rescue-22b3e1e3130c45978071f903c5b6cf5d.img done [root@xen-rockylinux810 ~]# grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2 Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (4.18.0-553.5.1.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (4.18.0-553.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (0-rescue-22b3e1e3130c45978071f903c5b6cf5d) 8.10 (Green Obsidian) [root@xen-rockylinux810 ~]# grub2-editenv list saved_entry=22b3e1e3130c45978071f903c5b6cf5d-4.18.0-553.22.1.el8_10.x86_64 boot_success=0 [root@xen-rockylinux810 ~]# grub2-set-default "Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian)" [root@xen-rockylinux810 ~]# grub2-editenv list saved_entry=Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian) boot_success=0 ``` ``` [root@kvm-rockylinux810 ~]# grep BLSCFG /etc/default/grub GRUB_ENABLE_BLSCFG=true [root@kvm-rockylinux810 ~]# grubby --info=ALL | grep ^kernel kernel="/boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64" kernel="/boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64" kernel="/boot/vmlinuz-4.18.0-553.el8_10.x86_64" kernel="/boot/vmlinuz-0-rescue-e7ae61e978ce4c7f88f8f4f2659d068f" [root@kvm-rockylinux810 ~]# grubby --default-kernel /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 7. (Optional) If the default boot kernel version is different from the installed kernel version, change the default boot kernel. ``` [root@xen-rockylinux810 ~]# grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2 Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (4.18.0-553.5.1.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (4.18.0-553.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (0-rescue-22b3e1e3130c45978071f903c5b6cf5d) 8.10 (Green Obsidian) [root@xen-rockylinux810 ~]# grub2-set-default "Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian)" [root@xen-rockylinux810 ~]# grub2-editenv list saved_entry=Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian) boot_success=0 ``` ``` [root@kvm-rockylinux810 ~]# grubby --info=ALL | grep ^kernel kernel="/boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64" kernel="/boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64" kernel="/boot/vmlinuz-4.18.0-553.el8_10.x86_64" kernel="/boot/vmlinuz-0-rescue-e7ae61e978ce4c7f88f8f4f2659d068f" [root@kvm-rockylinux810 ~]# grubby --set-default="/boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64" The default is /boot/loader/entries/e7ae61e978ce4c7f88f8f4f2659d068f-4.18.0-553.22.1.el8_10.x86_64.conf with index 0 and kernel /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 [root@kvm-rockylinux810 ~]# grubby --default-kernel /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 8. Reboot the server to activate the latest kernel version. ``` [root@xen-rockylinux810 ~]# sync;reboot ``` ``` [root@kvm-rockylinux810 ~]# sync;reboot ``` Note If the server reboot fails, it means the kernel update was not successfully applied. In this case, see [Restore kernel update](/docs/en/rockylinux8-kernel-update#%EC%BB%A4%EB%84%90%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%EC%9B%90%EB%B3%B5) to revert to the previous kernel version. - XEN Rocky Linux 8 - KVM Rocky Linux 8 9. Log in to the server again and check if the new kernel is activated. ``` [root@xen-rockylinux810 ~]# uname -r 4.18.0-553.22.1.el8_10.x86_64 ``` ``` [root@kvm-rockylinux810 ~]# uname -r 4.18.0-553.22.1.el8_10.x86_64 ``` Note To check if the updated kernel is properly applied, see [Check kernel update](/docs/en/rockylinux8-kernel-update#%EC%BB%A4%EB%84%90%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%ED%99%95%EC%9D%B8) to check the kernel installation status. - XEN Rocky Linux 8 - KVM Rocky Linux 8 ## Check kernel update To check if the kernel update was successfully applied: 1. Access the server remotely. 2. Check if the kernel package is installed. ``` [root@xen-rockylinux810 ~]# rpm -qa | grep kernel-4.18.0-553.22.1.el8_10.x86_64 kernel-4.18.0-553.22.1.el8_10.x86_64 ``` ``` [root@kvm-rockylinux810 ~]# rpm -qa | grep kernel-4.18.0-553.22.1.el8_10.x86_64 kernel-4.18.0-553.22.1.el8_10.x86_64 ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 3. Check if the initramfs file and vmlinuz file are created in the /boot directory. Note The /boot/initramfs-.x86_64kdump.img file may not be created depending on your settings. ``` [root@xen-rockylinux810 ~]# ls -l /boot/initramfs-4.18.0-553.22.1.el8_10.x86_64.img -rw------- 1 root root 29410248 Oct 30 10:46 /boot/initramfs-4.18.0-553.22.1.el8_10.x86_64.img [root@xen-rockylinux810 ~]# ls -l /boot/initramfs-4.18.0-553.22.1.el8_10.x86_64kdump.img -rw------- 1 root root 25040896 Oct 30 10:55 /boot/initramfs-4.18.0-553.22.1.el8_10.x86_64kdump.img [root@xen-rockylinux810 ~]# ls -l /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 -rwxr-xr-x 1 root root 10881352 Sep 25 18:31 /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 ``` ``` [root@kvm-rockylinux810 ~]# ls -l /boot/initramfs-4.18.0-553.22.1.el8_10.x86_64.img -rw------- 1 root root 29549483 Oct 30 10:46 /boot/initramfs-4.18.0-553.22.1.el8_10.x86_64.img [root@kvm-rockylinux810 ~]# ls -l /boot/initramfs-4.18.0-553.22.1.el8_10.x86_64kdump.img -rw------- 1 root root 25237504 Oct 30 10:55 /boot/initramfs-4.18.0-553.22.1.el8_10.x86_64kdump.img [root@kvm-rockylinux810 ~]# ls -l /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 -rwxr-xr-x 1 root root 10881352 Sep 25 18:31 /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 4. Check if the latest kernel settings are registered. ``` [root@xen-rockylinux810 ~]# grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2 Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (4.18.0-553.5.1.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (4.18.0-553.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (0-rescue-22b3e1e3130c45978071f903c5b6cf5d) 8.10 (Green Obsidian) [root@xen-rockylinux810 ~]# ls -l /boot/loader/entries total 16 -rw-r--r--. 1 root root 406 Jun 4 18:49 22b3e1e3130c45978071f903c5b6cf5d-0-rescue.conf -rw-r--r-- 1 root root 374 Oct 30 10:46 22b3e1e3130c45978071f903c5b6cf5d-4.18.0-553.22.1.el8_10.x86_64.conf -rw-r--r--. 1 root root 369 Jun 8 12:28 22b3e1e3130c45978071f903c5b6cf5d-4.18.0-553.5.1.el8_10.x86_64.conf -rw-r--r--. 1 root root 349 Jun 4 18:49 22b3e1e3130c45978071f903c5b6cf5d-4.18.0-553.el8_10.x86_64.conf ``` ``` [root@kvm-rockylinux810 ~]# grubby --info=ALL | grep ^kernel kernel="/boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64" kernel="/boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64" kernel="/boot/vmlinuz-4.18.0-553.el8_10.x86_64" kernel="/boot/vmlinuz-0-rescue-e7ae61e978ce4c7f88f8f4f2659d068f" [root@kvm-rockylinux810 ~]# ls -l /boot/loader/entries total 16 -rw-r--r--. 1 root root 406 Jun 5 18:07 e7ae61e978ce4c7f88f8f4f2659d068f-0-rescue.conf -rw-r--r-- 1 root root 374 Oct 30 10:46 e7ae61e978ce4c7f88f8f4f2659d068f-4.18.0-553.22.1.el8_10.x86_64.conf -rw-r--r--. 1 root root 369 Jun 14 16:31 e7ae61e978ce4c7f88f8f4f2659d068f-4.18.0-553.5.1.el8_10.x86_64.conf -rw-r--r--. 1 root root 349 Jun 5 18:07 e7ae61e978ce4c7f88f8f4f2659d068f-4.18.0-553.el8_10.x86_64.conf ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 5. Check the grub settings. ``` [root@xen-rockylinux810 ~]# grep GRUB_DEFAULT /etc/default/grub GRUB_DEFAULT=saved [root@xen-rockylinux810 ~]# cat /boot/grub2/grubenv # GRUB Environment Block saved_entry=Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian) boot_success=0 ... Omitted ... [root@xen-rockylinux810 ~]# grub2-editenv list saved_entry=Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian) boot_success=0 ``` ``` [root@kvm-rockylinux810 ~]# grep GRUB_DEFAULT /etc/default/grub GRUB_DEFAULT=saved [root@kvm-rockylinux810 ~]# cat /boot/grub2/grubenv # GRUB Environment Block saved_entry=e7ae61e978ce4c7f88f8f4f2659d068f-4.18.0-553.22.1.el8_10.x86_64 kernelopts=root=UUID=582f5c2c-67ab-4bdc-81bb-8cb06a26548f ro net.ifnames=0 biosdevname=0 crashkernel=auto console=ttyS0,115200n8 console=tty0 boot_success=0 ... Omitted ... [root@kvm-rockylinux810 ~]# grubby --default-kernel /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 ## Restore kernel update If the server fails to restart properly after a kernel update, you must revert to the previous kernel before the update. You can revert it to one of the many installed kernel versions, and this guide describes how to revert the kernel to the version immediately before the update. Note To resolve server restart issues, you can attempt server recovery by entering the Single mode. For more information on how to run reboot in the Single mode, see [Server recovery guide](/docs/en/server-ts-repair-vpc#SingleMode%EC%A7%84%EC%9E%85). 1. In the VPC environment of the NAVER Cloud Platform console, navigate to **Menu** > **All Services** > **Compute** > **Server**. 2. Click the **Server** menu. 3. Select the server to recover from the server list, and click **[Server connection console]**. 4. Select the previous version as the booting kernel from the grub booting interface and reboot. - XEN RockyLinux 8 grub booting interface ![kernel-update-xen-rocky8_console01](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/rocky8-kernel-update-241207-01.png?sv=2026-02-06&spr=https&st=2026-10-27T16%3A29%3A49Z&se=2026-10-27T17%3A29%3A49Z&sr=c&sp=r&sig=ap2m5gG0EixPCYqXNPNX55%2Fluzmn9d5vPcH5QUN35gk%3D) - KVM RockyLinux 8 grub booting interface ![kernel-update-kvm-rocky8_console01](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/rocky8-kernel-update-241207-02.png?sv=2026-02-06&spr=https&st=2026-10-27T16%3A29%3A49Z&se=2026-10-27T17%3A29%3A49Z&sr=c&sp=r&sig=ap2m5gG0EixPCYqXNPNX55%2Fluzmn9d5vPcH5QUN35gk%3D) 5. After booting is complete, check the kernel version of the server. ``` [root@xen-rockylinux810 ~]# uname -r 4.18.0-553.5.1.el8_10.x86_64 ``` ``` [root@kvm-rockylinux810 ~]# uname -r 4.18.0-553.5.1.el8_10.x86_64 ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 6. Check the kernel version that is currently active. ``` [root@xen-rockylinux810 ~]# grub2-editenv list saved_entry=Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian) boot_success=0 [root@xen-rockylinux810 ~]# grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2 Rocky Linux (4.18.0-553.22.1.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (4.18.0-553.5.1.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (4.18.0-553.el8_10.x86_64) 8.10 (Green Obsidian) Rocky Linux (0-rescue-22b3e1e3130c45978071f903c5b6cf5d) 8.10 (Green Obsidian) ``` ``` [root@kvm-rockylinux810 ~]# grubby --default-kernel /boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64 [root@kvm-rockylinux810 ~]# grubby --info=ALL | grep ^kernel kernel="/boot/vmlinuz-4.18.0-553.22.1.el8_10.x86_64" kernel="/boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64" kernel="/boot/vmlinuz-4.18.0-553.el8_10.x86_64" kernel="/boot/vmlinuz-0-rescue-e7ae61e978ce4c7f88f8f4f2659d068f" ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 7. Reset the default kernel version to the previous kernel version when booting. ``` [root@xen-rockylinux810 ~]# grub2-set-default "Rocky Linux (4.18.0-553.5.1.el8_10.x86_64) 8.10 (Green Obsidian)" [root@xen-rockylinux810 ~]# grub2-editenv list saved_entry=Rocky Linux (4.18.0-553.5.1.el8_10.x86_64) 8.10 (Green Obsidian) boot_success=0 ``` ``` [root@kvm-rockylinux810 ~]# grubby --set-default="/boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64" The default is /boot/loader/entries/e7ae61e978ce4c7f88f8f4f2659d068f-4.18.0-553.5.1.el8_10.x86_64.conf with index 1 and kernel /boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64 [root@kvm-rockylinux810 ~]# grubby --default-kernel /boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64 ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 8. (Optional) Reboot the server to check whether the server boots up normally with the updated kernel version. ``` [root@xen-rockylinux810 ~]# sync;reboot ``` ``` [root@kvm-rockylinux810 ~]# sync;reboot ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 9. (Optional) Log back into the server to check the booting status and the kernel version. ``` [root@xen-rockylinux810 ~]# uname -r 4.18.0-553.5.1.el8_10.x86_64 ``` ``` [root@kvm-rockylinux810 ~]# uname -r 4.18.0-553.5.1.el8_10.x86_64 ``` - XEN Rocky Linux 8 - KVM Rocky Linux 8 ## Troubleshoot repository related issues during kernel update In case of repository issues during a kernel update, see [Linux OS repository configuration checklist guide FAQs](/docs/en/linux-os-repository-check#Repository%EA%B4%80%EB%A0%A8%EC%9E%90%EC%A3%BC%ED%95%98%EB%8A%94%EC%A7%88%EB%AC%B8).