DaDesktop

AlmaLinux8

v1: Initial template for migrating from CentOS8 template as it has reached end of life. AlmaLinux is a one-to-one binary replacement for CentOS8.
 

Migration notes for those looking to upgrade or migrate their CentOS8 templates

This is taken from the official AlmaLinux guide, which is available at https://github.com/AlmaLinux/almalinux-deploy. Please consult the latest version from that link; the text below is provided for reference as of today (29/3/2022).

This information is offered as a guide for our community; however, we assume no responsibility for any errors or issues that may arise from following these notes.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

To convert your EL8 operating system to AlmaLinux, perform these steps:

  1. CentOS 8.4 or 8.5 is required for the conversion to AlmaLinux. It is advisable to update to 8.5 before migrating, though this is not mandatory if you are already on at least CentOS 8.4. A reboot after applying updates is recommended if your system has received new updates.

    sudo dnf update -y
    sudo reboot
    
  1. Create a backup of the system. We haven't tested every possible scenario, so there is a risk that something might go wrong. Having a backup will give you a restore point.

  2. Download the almalinux-deploy.sh script:

    $ curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
  3. Execute the script and examine its output for any errors:

    $ sudo bash almalinux-deploy.sh
      ...
      Migration to AlmaLinux is completed
  4. A reboot is recommended so that the system boots with the AlmaLinux kernel:

    sudo reboot
    
  5. Verify that the system has been successfully converted:

    # 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!