Migrating from Rocky/Alma to openEuler — the manual route with no official tool: reinstall-based migration as the main path, an asset-move checklist, and what does not carry over
Verification scope
Section titled “Verification scope”Evidence on this page comes from two tracks: the official position — the source matrix of x2openEuler 3.0.0’s feature description (CentOS 6/7/8 and openEuler 20.03/22.03, no Rocky/Alma; checked against the official migration page on 2026-11-05); the testing foundation — the site’s own testing covers only the dnf version and a minimal container probe (openeuler-migrate-from-rocky-alma.log); toolchain/service/SELinux/package-name differences follow documentation and editorial judgment (each covered on its own page’s dedicated tests). No Rocky/Alma-to-openEuler migration run was executed on a machine (a record of the reinstall-migration route awaits a source machine).
Getting the facts straight first: there is no official in-place tool
Section titled “Getting the facts straight first: there is no official in-place tool”x2openEuler’s source-OS matrix does not include Rocky/Alma — that is by design (the tool targets the CentOS end-of-service window and openEuler’s own upgrade lines), not a defect. The occasional community “force x2openEuler onto Rocky/Alma” is an unsupported path: the release-package systems, repo signing, and package version lines differ on both sides, and the tool’s mapping tables were never built for them. The honest conclusion: per the official source matrix, the viable path from Rocky/Alma to openEuler is reinstall migration (the site’s recommendation, not an officially provided tool path for Rocky/Alma).
Why reinstall migration costs less than it sounds
Section titled “Why reinstall migration costs less than it sounds”The EL family’s shared surface (inferred from the official source matrix and public documentation; the site’s own testing covers only the dnf version and a minimal container probe) makes “moving” rather than “translating” the main theme:
| Surface | Carry-over (testing basis) |
|---|---|
| Package management/services/network/security | dnf 4.16 isomorphic (verified in a container); systemd/firewalld not installed in the minimal container (containers have no systemd semantics; for the VM host side’s firewalld/SELinux baseline see the first-hour page) |
| Kickstart/OEMDRV installs | Fully isomorphic (the site’s three-round install log, including the biosboot trap — see the RAID page) |
| Common services | Same-named packages install directly (nginx/httpd/mysql from the official repos) |
| Does not carry over | EPEL ecosystem→EPOL semantics, kernel line (Rocky 9=5.14 vs openEuler 24.03=6.6 — third-party .ko must be rebuilt), the ABI of RHEL-family commercial rpms |
The operational skeleton of reinstall migration
Section titled “The operational skeleton of reinstall migration”- Source-machine asset inventory:
rpm -qa(filtered by third-party repo source), configuration surface (therpm -Vcchanged set, self-managed files under /etc), data directories, custom systemd units, crontab, firewall rules (firewall-cmd --list-allsaved to disk); - Kickstart install on the target machine (the site’s template, with repos/keys/baseline packages preloaded in %post);
- Package cross-check: pass the source inventory item by item through the package-name difference map (EPEL packages → look for equivalents in EPOL/oepkgs; whatever is missing goes source-build or container);
- Config/data backfill + drift audit (the four-step audit as the acceptance gate);
- Business smoke test and parallel period: run old and new side by side while observing (DNS/load-balancer traffic shifting) instead of cutting over in one shot.
When not to migrate yet
Section titled “When not to migrate yet”- Commercial components hard-bound to the RHEL ABI (no openEuler support matrix) — the migration payoff is negative;
- Awaiting a major-version move on the Rocky/Alma side — let upstream settle before moving;
- Critical services with no parallel-observation window — the real risk of reinstall migration sits in the cutover, not the install.
Unverified
Section titled “Unverified”- A full Rocky/Alma-to-openEuler migration never executed on a machine (this page is the route and the criteria; every checklist step is backed by the site’s own tested page);
- x2openEuler’s actual behavior on Rocky/Alma not tried (an unsupported path; no experiment budget spent on it);
- Large-fleet batching strategy (canary ratios/rollback plans) not covered.