How to migrate CentOS 7 to Rock Linux 8

Hello. Some of my servers are on CentOS 7 operating system. The documentation for migrating to Rocky Linux is for CentOS version 8. How can I migrate from CentOS 7 to Rock Linux 8?

I’m in the process of doing that upgrade myself, but a fresh install is the way to go I think, then copy over things from the old Centos 7.

The recommended way forward is a migration. One of these things could be done:

  • Backups of data are taken and restored on a freshly installed Rocky 8 system
  • A new Rocky 8 system is installed in parallel of your CentOS 7 machine and you perform a migration of configuration and data

Can leapp utility be utilised since it works with Redhat based Distros?

Red Hat wrote leapp for RHEL, didn’t they? Only for RHEL, not for RHEL-based distros. Furthermore, it does not work for everyone.

AlmaLinux has ELevate project: AlmaLinux OS - ELevate Your Distribution
It uses leapp with data (initially from Oracle) to work with RHEL-based distros. Like RHEL → RHEL leapp, ELevate does not work for all setups. So yes, “can be utilised”, but with huge caveats.

Personally, I prefer the ‘migration’: fresh install, apply appropriate configuration, and bring in user data.

Thank you. See a guide on this migration. Give me your feedback.

That “guide” makes no sense today

  • There has never been supported in-place conversion from one major version of CentOS Linux into another major version of CentOS Linux
  • There is no more CentOS Linux 8
  • The ELevate supposedly does all those steps for you

This guide is on CentOS 7 to Rocky Linux 8. It has nothing to do with CentOS Linux 8.

But in short, and true agreeing with you on Elevate, there is also another way of doing it.

All said and done, Rocky Linux 8.5 is such a beauty. Good day.

Nothing to do? Their summary:

  1. Upgrade CentOS 7 to CentOS 8
  2. Migrate from CentOS 8 to Rocky Linux

Looks very much “CentOS 8”-related

Tell me more about ELevate. Would love to do an article on it and research more. Any guide sir?

Jlehtone, thank you so much. I have checked on ELevate. Thumbs up men.

1 Like