How do I migrate from CentOS to Rocky?
If you are worried about the future of CentOS you are probably already planning on moving to Rocky Linux ( the new CentOS ). You might not be looking forward to migrating your systems over to a new distro. As it turns out, things aren’t as bad as you might think. There is a script available to help you migrate directly to Rocky from CentOS without needing to re-install.
- Backup your system first.
- If you are running CentOS 7, upgrade to CentOS 8 first.
Download the migration script:
Chmod the script to make it executable:
chmod a+x migrate2rocky.sh
Run the migration script:
sudo ./migrate2rocky.sh -r
Reboot the system:
sudo reboot now
Verify that you are now running Rocky Linux: