Skip to content
Search Oracle Linux

    Browse this documentation

    Switching between UEK and RHCK in practice: one grubby command, both directions reboot-tested

    Oracle Linux ships two kernels out of the box (UEK and RHCK). This page records one real round-trip switch end to end: how to switch, how to verify, and which service states follow along. For the selection overview and differences see UEK vs RHCK: choosing between the two kernels.

    First, the current state: both kernels present

    Section titled “First, the current state: both kernels present”

    An OL 10.2 installed from the plain boot.iso:

    Terminal window
    rpm -qa | grep -E '^kernel' | sort
    kernel-6.12.0-211.72.1.el10_2.x86_64 ← RHCK (the RHEL-compatible kernel)
    kernel-core-6.12.0-211.72.1.el10_2.x86_64
    kernel-modules-6.12.0-211.72.1.el10_2.x86_64
    ...
    kernel-uek-6.12.0-208.112.5.el10uek.x86_64 ← UEK (Oracle's own kernel)
    kernel-uek-core-6.12.0-208.112.5.el10uek.x86_64
    ...

    grubby --default-kernel points to el10uek — UEK is the factory default, and the GRUB title reads ... with Unbreakable Enterprise Kernel. The installer itself runs RHCK, yet the installed system defaults to UEK; that is a deliberate distribution decision, not an oversight.

    Switching: one grubby command, no grub config edits

    Section titled “Switching: one grubby command, no grub config edits”

    EL10 manages boot entries with BLS (the Boot Loader Specification) — one file per kernel under /boot/loader/entries/*.conf. The official entry point for changing the default is grubby:

    /boot/vmlinuz-6.12.0-211.72.1.el10_2.x86_64
    # Switch to RHCK
    grubby --set-default=/boot/vmlinuz-6.12.0-211.72.1.el10_2.x86_64
    grubby --default-kernel # read back to verify
    reboot

    After the reboot:

    Terminal window
    uname -r
    # 6.12.0-211.72.1.el10_2.x86_64

    Switching back to UEK works the same way:

    Terminal window
    grubby --set-default=/boot/vmlinuz-6.12.0-208.112.5.el10uek.x86_64
    reboot
    # after reboot uname -r → 6.12.0-208.112.5.el10uek.x86_64

    Both directions measured successfully (E3 run record with per-step exit-code checks).

    • kdump: crashkernel=1G-64G:448M,64G-:512M sits on the kernel command line and is shared by both kernels. Measured: kdumpctl status under RHCK is operational too — no reconfiguration needed;
    • Third-party kernel modules: DKMS-style modules (some NIC/GPU drivers) are compiled per kernel version — after switching, they need recompiling or matching kmod packages for the other kernel. This is the most common way a switch goes wrong;
    • Repository view: kernel-* (RHCK) packages come from BaseOS, kernel-uek-* from the UEK repository (ol10_UEKR8). Both kernels receive their own security updates in parallel — switching does not change the update policy (see the UEK upgrade and multi-kernel page).
    ScenarioRecommendation
    Everyday productionUEK (factory default; Ksplice rebootless patching is fully supported only on UEK)
    Strict RHEL compatibility required (specific ISV certification, SELinux policies depending on RHCK modules)RHCK
    Kernel development/debugging (Ksplice, DTrace, new eBPF features)UEK
    Troubleshooting a failure that appears under only one kernelSwitch backwards and bisect

    The full differences-and-selection list lives on the kernels overview page; this page covers only “how to switch”.

    • Measured: the complete UEK→RHCK→UEK round trip (two real reboots), dual-kernel packages side by side, kdump active under RHCK;
    • Not measured: DKMS module recompilation across kernels (no third-party modules in this environment);
    • Sources: UEK 8 documentation, the Oracle Linux kernel version matrix, grubby(8).