AlmaLinux8

Version 1: This is the initial migration template, created in response to CentOS 8 reaching its end of life. AlmaLinux serves as a compatible, 1:1 binary replacement for CentOS 8.
 

Migration Notes for Upgrading or Migrating Your CentOS 8 Templates

The following information comes from AlmaLinux's official guide (available at https://github.com/AlmaLinux/almalinux-deploy). Always refer to the latest version from that link; the text below is captured as of today (29/3/2022) for convenience.

This information is shared as a guide for our community across Brazil, but we accept no responsibility for any errors or issues that may arise from its use.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

To switch your EL8 operating system over to AlmaLinux, follow these steps:

  1. CentOS 8.4 or 8.5 is required before you can convert to AlmaLinux. Updating to 8.5 is recommended, though not mandatory if you're on at least 8.4. If your system received any new updates, a reboot afterwards is a good idea.

    sudo dnf update -y
    sudo reboot
    
  1. Make a system backup. Since we haven't tested every possible scenario, there's always a risk that something might go wrong, and having a restore point means you'll be able to recover smoothly.

  2. Get the almalinux-deploy.sh script:

    $ curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
  3. Run the script and watch for any error messages:

    $ sudo bash almalinux-deploy.sh
      ...
      Migration to AlmaLinux is completed
  4. A reboot is recommended to start using the AlmaLinux kernel:

    sudo reboot
    
  5. Verify that the conversion was successful:

    # check release file
    $ cat /etc/redhat-release
    AlmaLinux release 8.5 (Arctic Sphynx)
    
    # check that the system boots AlmaLinux kernel by default
    $ sudo grubby --info DEFAULT | grep AlmaLinux
    title="AlmaLinux (4.18.0-348.el8.x86_64) 8.5 (Arctic Sphynx)"
  6. Thank you for choosing AlmaLinux!