AlmaLinux Migration Guide


INTRODUCTION

Thanks to the AlmaLinux team for writing the original this KB article that can be found at:

https://wiki.almalinux.org/documentation/migration-guide.html#how-to-migrate


This guide describes how to convert your operating system to AlmaLinux using the AlmaLinux Migration tool.

What OSes can be converted:

  • CentOS 8
  • CentOS Stream 8, 9
  • Oracle Linux 8, 9
  • RHEL 8, 9
  • Rocky Linux 8, 9
  • Virtuozzo Linux (VZLinux) 8, 9

This tool also supports cPanel, Plesk and DirectAdmin panels.


READ ME FIRST

This article is provided as a courtesy.
Installing, configuring, and troubleshooting third-party applications is outside the scope of basic support provided by Starburst Services.

We are not liable for any damages and/or data loss.


How To Migrate

The minimal supported version of EL8 operating systems is 8.4. In case your OS version is lower, please, upgrade it.

NOTE: It’s recommended to have a backup or snapshot of your system. There’ll be a restore point if something will go wrong.


Follow these steps to convert your EL8 or EL9 system to AlmaLinux using CLI:

  • Run the following command to update your operating system if needed:
sudo dnf update -y

curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh

  • Run the script:
sudo bash almalinux-deploy.sh

Check the output for any errors. If the conversion went without any issues, you’ll see that Migration to AlmaLinux is completed in the output.

  • Reboot the system to boot with AlmaLinux kernel:
sudo reboot

  • Ensure that your system was successfully converted:
cat /etc/redhat-release

You should see: AlmaLinux release 8.7 (Stone Smilodon)


  • Check that the system boots with AlmaLinux kernel by default:
sudo grubby --info DEFAULT | grep AlmaLinux

You should see something like:
title="AlmaLinux (4.18.0-425.3.1.el8.x86_64) 8.7 (Stone Smilodon)"


Thanks for learning with Starburst Services.

Learn more about our services


KB Article Created: 2024-07-29

people found this article helpful. What about you?