Kernel UPDATE

Can someone please help how to update openeuler kernel 22.03 to kernel 24.03

It is not recommended to upgrade across major versions in production environments!

You can currently test in a simulation environment.

Upgrade Guide | Documentation | openEuler Community

I remember encountering upgrade issues during the pandemic while experimenting with virtual machines.

Two Upgrade Methods

1. Directly Modify Software Source Links (but some software cannot be upgraded)

I was using an older version of openEuler and directly changed the mirror source URL to the new version’s link. Then I used the dnf command to perform the upgrade. In the end, most software—including the system kernel—was successfully upgraded. However, I later noticed that some dependencies related to the dnf package manager remained in the old version. Since then, I’ve tried to find other methods to fully upgrade these components.

2. Use the Official Migration Tool x2openEuler

Later, I discovered an official migration tool: openEuler Migration Download | Migration Zone | openEuler Community

Due to the long time passed, I don’t clearly remember the exact steps.
I only recall the general process:

  1. You need another Linux device to act as the upgrade server, which must have the x2openEuler migration tool installed.

  2. The openEuler system to be upgraded must be able to connect to the server where x2openEuler is installed.

  3. You can probably access the server’s management page via a browser and fill in some necessary information.

  4. On the management page, configure the upgrade mirror source (I remember the page provided a version that wasn’t the latest, so I manually replaced the URL). The configuration I used was:

    [openEuler-everything]
    name=openEuler-everything
    baseurl=http://localhost/openEuler-24.03-LTS-SP1/
    enabled=1
    gpgcheck=1
    gpgkey=http://localhost/openEuler-24.03-LTS-SP1/RPM-GPG-KEY-openEuler
    
    [openEuler-EPOL]
    name=openEuler-epol
    baseurl=http://repo.openeuler.org/openEuler-24.03-LTS-SP1/EPOL/main/x86_64/
    enabled=1
    gpgcheck=0
    
    [openEuler-2403-lts-sp1-update]
    name=openEuler-2403-lts-sp1-update
    baseurl=http://repo.openeuler.org/openEuler-24.03-LTS-SP1/update/x86_64/
    enabled=1
    gpgcheck=0
    

    Note: The URLs in the configuration file should point to the mirror source of the target version you want to upgrade to—for example, 24.03-LTS-SP1. Also, I replaced the openEuler-everything URL with a local network address because I had already downloaded the mirror image. This was done to save time by avoiding repeated downloads from the internet. You can replace the URLs with official public links from the internet, which should allow you to directly fetch the upgrade images from the official site.

  5. After clicking the upgrade button, the x2openEuler server will automatically check whether the target device meets the migration requirements. If the conditions are met, the migration will proceed automatically.

About Mirror Links

The current official link appears to be: dl-cdn.openeuler.openatom.cn
Additionally, other available mirror links can be found here: openEuler Mirror List | openEuler Downloads | openEuler Community

openEuler 24.03 LTS SP3支持上升级内核到6.12+吗

You can try compiling and upgrading; generally, there are no issues.