My Oracle Support Banner

Oracle Linux: After Switching From CentOS To Oracle Linux The Kernel Does Not Change To UEK (Doc ID 2448161.1)

Last updated on SEPTEMBER 21, 2021

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64 on Oracle Public Cloud

Symptoms

System shows the same CentOS native kernel after switching the server to Oracle Linux and rebooting

# uname -r
3.10.0-693.21.1.el7.x86_64

When looking at /boot/grub2/grub.cfg there is no UEK kernel but only the CentOS kernel

# grep '^menuentry' /boot/grub2/grub.cfg
menuentry 'CentOS Linux (3.10.0-693.21.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.el7.x86_64-advanced-edb72f3f-aa9f-4272-b2c6-2149c6b2e969' {
menuentry 'CentOS Linux (3.10.0-693.17.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.el7.x86_64-advanced-edb72f3f-aa9f-4272-b2c6-2149c6b2e969' {
menuentry 'CentOS Linux (3.10.0-693.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.el7.x86_64-advanced-edb72f3f-aa9f-4272-b2c6-2149c6b2e969' {
menuentry 'CentOS Linux (0-rescue-1dfdc61e7ad8466eb10bcb8c8b580020) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-1dfdc61e7ad8466eb10bcb8c8b580020-advanced-edb72f3f-aa9f-4272-b2c6-2149c6b2e969' {

Changes

Server running CentOS has been switch to Oracle Linux with centos2ol.sh script as per the following documentation:

Administrator's Solutions Guide for Release 6
2.7 Switching CentOS or Scientific Linux Systems to Use the Oracle Linux Yum Server

https://docs.oracle.com/cd/E37670_01/E37355/html/ol_switch_yum.html

Above document refer to Oracle Linux Release 6 but the switching procedure applies for Oracle Linux 7

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.