Skip to content
Search openEuler

    Browse this documentation

    openEuler kernel dual-track — 26.09 dual kernels and the 24.03 kernel packages, GRUB and installonly defaults, verified on a VM (crashkernel enabled by default)

    Evidence on this page comes in two tracks:

    Hardware track (E3) — VM 381 euler24-lab (x86_64, openEuler 24.03 LTS SP4, 2026-11-04): kernel package inventory, /boot contents, the grubby default entry, /proc/cmdline, /etc/dnf/dnf.conf. Raw log: evidence/logs/openeuler-p1-kernel-vm.log. Kernel update package versions were supplemented from the repository side (container, online repos): evidence/logs/openeuler-p1-facts.log.

    Documentation track — the 26.09 dual-kernel story, per official sources: the official download page (“dual-kernel release based on Linux 6.6+ and 6.18 kernels”, captured from the repo archive on 2026-10-13) and the release announcement. The 26.09 dual-kernel switching behavior has not been tested in this environment (no 26.09 machine); see the end of the page.

    The split of labor with Kernels and drivers: that page covers “installing drivers / building modules / DKMS”; this page covers kernel version strategy — what the dual-track model is, which line to follow, and how old kernels are handled during upgrades.

    Dual track: the LTS line follows, the innovation release forks

    Section titled “Dual track: the LTS line follows, the innovation release forks”

    openEuler’s kernel strategy is “steady evolution on the LTS line + the innovation release leading the way”:

    • 24.03 LTS line: pinned to the 6.6 major version, with SPs and update rolling patches. Measured against the update repository (2026-11-04, container): kernel-6.6.0-159.4.19.173.oe2403sp4 is listed — minor versions keep evolving on the same 6.6 line;
    • 26.09 innovation release: dual kernels — 6.6 (the production/AI baseline, per official statements) and 6.18 (the new upstream, for new hardware and new features). The official download page reads verbatim “dual-kernel release based on Linux 6.6+ and 6.18 kernels” (captured from the repo archive).

    The line-selection decision tree lives on the version selection page; this page covers the operational mechanics the two lines share.

    Verified in testing: 24.03 kernel packages and boot defaults (VM 381)

    Section titled “Verified in testing: 24.03 kernel packages and boot defaults (VM 381)”
    $ rpm -q kernel kernel-devel kernel-headers
    kernel-6.6.0-159.4.3.154.oe2403sp4.x86_64
    package kernel-devel is not installed
    package kernel-headers is not installed
    $ ls /boot/vmlinuz-*
    /boot/vmlinuz-6.6.0-159.4.3.154.oe2403sp4.x86_64
    $ grubby --default-kernel
    /boot/vmlinuz-6.6.0-159.4.3.154.oe2403sp4.x86_64
    $ grubby --info=ALL | grep -E "^index|^title"
    index=0
    title=openEuler (6.6.0-159.4.3.154.oe2403sp4.x86_64) 24.03 (LTS-SP4)
    index=1
    title=openEuler (0-rescue-…) 24.03 (LTS-SP4)

    The mechanics match the RHEL family (experience carries over): kernel packages install side by side, grubby manages the default entry, and rescue entries are maintained automatically. openEuler-specific observation points:

    • /proc/cmdline ships with crashkernel=512M by default — kdump’s crash-kernel memory reservation is enabled by default (present from a @core install; the Crash recovery kernel arming service starts with the system); when planning memory-tight small instances, budget for those 512M, and turn it off explicitly if you don’t need kdump;
    • apparmor=0 sits in the default cmdline — AppArmor is explicitly disabled (openEuler’s MAC mainline is SELinux, measured as Enforcing); this parameter is historical compatibility residue, not a security switch, so don’t read it as “some security feature was turned off”;
    • cgroup_disable=files — the files controller (a cgroup v1 legacy controller) is disabled by default; no impact in cgroup v2 setups.

    Verified in testing: the kernel retention policy installonly_limit=3

    Section titled “Verified in testing: the kernel retention policy installonly_limit=3”
    $ cat /etc/dnf/dnf.conf
    [main]
    gpgcheck=1
    installonly_limit=3
    clean_requirements_on_remove=True
    best=True
    skip_if_unavailable=False

    installonly_limit=3 is the common EL-family default: kernel is an installonly package and at most 3 versions are kept at once (current + previous + the rescue-slot semantics); after an upgrade to a new kernel the oldest is cleaned up automatically. What this means for third-party kernel module operations: modules must match the kernel version (dkms rebuilds automatically, or vendor packages ship per-kernel subpackages) — keeping only 2 kernels leaves a rollback window of a single version; on machines that depend on out-of-tree modules, raise installonly_limit explicitly (e.g. 5).

    The operational surface of upgrades and rollback

    Section titled “The operational surface of upgrades and rollback”

    The standard routine for routine kernel updates (same mechanics as RHEL; experience carries over):

    Terminal window
    dnf update kernel # install the new kernel (does not touch the currently running one)
    reboot # after reboot, grubby's default entry points at the new kernel
    # Rollback: pick the previous kernel in the GRUB menu; once stable, finish up with dnf remove kernel-<old version>

    To pin a default kernel (e.g. you need to stay long-term on an older one because the new kernel misbehaves), use grubby --set-default=/boot/vmlinuz-<version> — the grubby toolchain is structurally identical to the RHEL family’s.

    • 26.09 dual-kernel install/switch/coexistence behavior not tested in this environment: how the two kernel lines present in GRUB, the package names (kernel-6.18 or separate naming), module directory isolation, switching tools — needs a 26.09 machine (the ISO is already obtainable; to be backfilled once it enters the experiment plan);
    • dkms automatic rebuild on openEuler 24.03 not tested in this environment (the kernel-kmod page will add E3 later);
    • The actual kernel update from .154 to .193 plus the reboot chain was not executed on this VM (the clean-base snapshot state is preserved; kernel upgrades are verified as a batch in the P5 upgrade chapter);
    • The kdump capture chain behind crashkernel=512M was not triggered on this page (P6 kdump chapter).