✉️contact@dadesktop.ca 📞+1 204 979 4447

AlmaLinux8

v1 : Initial template for migration from CentOS8 template due to EOL. Almalinux is a 1:1 binary replacement for CentOS8.
 

Migration notes for anyone wanting to upgrade or migrate their CentOS8 templates

This is based on the official guide by AlmaLinux, available at https://github.com/AlmaLinux/almalinux-deploy. Be sure to check the link for the latest version; the text below is copied as of today for reference (29/3/2022).

We’ve included this info as a resource for our community, but we can’t take responsibility for any errors or issues that might arise from following these notes.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

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

  1. You’ll need CentOS 8.4 or 8.5 to move to AlmaLinux. We recommend updating to 8.5 before switching, though it’s not mandatory if you’re already on at least CentOS 8.4. It’s a good idea to reboot after updates if your system has installed them.

    sudo dnf update -y
    sudo reboot
    
  1. Back up your system. We haven’t tested every possible scenario, so there’s a risk something might go wrong. If it does, you’ll have a restore point.

  2. Grab the almalinux-deploy.sh script:

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

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

    sudo reboot
    
  5. Make sure your system was converted successfully:

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