[Linux AlmaLinux OS] Migrate from CentOS 8 to AlmaLinux OS 8

almalinux-deploy - An EL (CentOS) to AlmaLinux migration tool.

Prerequisites

CentOS 8

CentOS is Community-driven free software effort focused on delivering a robust open source ecosystem around a Linux platform.

The CentOS Project - https://www.centos.org/

Usage

In order to convert your EL8(CentOS8) operating system to AlmaLinux do the following:

    1. Make a backup of the system. We didn’t test all possible scenarios so there is a risk that something goes wrong. In such a situation you will have a restore point.
    1. Download the almalinux-deploy.sh script:
1
$ curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
    1. Run the script and check its output for errors:
1
2
3
4
5
6
7
8
9
10
$ sudo bash almalinux-deploy.sh
...
Complete!
Run dnf distro-sync -y OK
Restoring of alternatives is done OK
Generating grub configuration file ...
done
All Secure Boot related packages which were released by not AlmaLinux are reinstalledOK

Migration to AlmaLinux is completed
    1. Ensure that your system was successfully converted:
1
2
3
4
5
6
7
# Check release file
$ cat /etc/redhat-release
AlmaLinux release 8.4 (Electric Cheetah)

# check that the system boots AlmaLinux kernel by default
$ sudo grubby --info DEFAULT | grep AlmaLinux
title="AlmaLinux (4.18.0-305.19.1.el8_4.x86_64) 8.4 (Electric Cheetah)"

References

[1] AlmaLinux/almalinux-deploy: EL to AlmaLinux migration tool. - https://github.com/AlmaLinux/almalinux-deploy

[2] AlmaLinux OS - Forever-Free Enterprise-Grade Operating System - https://almalinux.org/

[3] The CentOS Project - https://www.centos.org/