In this Article we will learn how to convert an existing CentOS 8 system to AlmaLinux 8. This guide includes the link to the conversion script maintained by the official GitHub repo for AlmaLinux.
AlmaLinux is a binary fork of RedHat Linux Enterprise Linux (RHEL) which is created as an alternative to CentOS. The current AlmaLinux version is based on RHEL 8.3. Almalinux is aimed to fill the gap left by the demise of CentOS stable Linux.
Download the almalinux-deploy.sh script from official AlmaLinux repo.
curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
Set the executable permission to almalinux-deploy.sh
chmod -v +x almalinux-deploy.sh
Run the downloaded script,
You'll get similar Output:
Complete! Run dnf distro-sync -y OK Migration to AlmaLinux is completed, please reboot the system
Once migration is completed reboot the system.
To check the current version of OS.
[root@vps ~]# cat /etc/redhat-release AlmaLinux release 8.3 Beta (Purple Manul)
To check the system boots AlmaLinux kernel by default.
grubby --info DEFAULT | grep AlmaLinux
[root@vps ~]# grubby --info DEFAULT | grep AlmaLinux title="AlmaLinux (4.18.0-240.el8.x86_64) 8"