Skip to content
Posts en inglés. Usá el traductor del navegador para leerlos en tu idioma.

How to Validate Hardware and Software Compatibility for AlmaLinux

Yammbo
· 7 min read
hardware validation software compatibility alma-certify tool linux compatibility open source hardware
How to Validate Hardware and Software Compatibility for AlmaLinux

Ensuring that your hardware and software are compatible with a specific Linux distribution is crucial for stability and performance. For AlmaLinux users, a robust certification framework exists that allows individuals and organizations to validate their systems and applications. This tutorial will walk you through the process of contributing to this ecosystem by certifying your own hardware and confirming software compatibility, enhancing the reliability data available to the entire community.

Step 1: Understanding AlmaLinux Certification Types

AlmaLinux offers two distinct, yet interconnected, certification paths: hardware certification and software certification. Both contribute to a public catalog, providing valuable insights into the compatibility of various systems and applications with AlmaLinux releases.

  • Hardware Certification: This process involves running a specialized tool, alma-certify, on your physical hardware. The tool performs a series of tests to identify components, drivers, and firmware, and assesses their compatibility and functionality with AlmaLinux. The results are then submitted to a public catalog. This is particularly useful for users who want proof that AlmaLinux runs effectively on their existing machines without needing to install the OS first.
  • Software Certification: This path focuses on validating applications and services. Publishers list their software and specify the AlmaLinux versions it's designed to run on. Users then confirm these listings by running the software on their own certified hardware across various AlmaLinux releases. This collaborative approach builds a comprehensive database of tested software.

Understanding these two aspects is the first step toward effectively contributing to and utilizing the AlmaLinux compatibility ecosystem.

Step 2: Preparing for Hardware Certification with alma-certify

The core of hardware certification is the alma-certify tool. A significant improvement to this tool is its ability to run independently of an existing AlmaLinux installation, meaning you can test hardware even if it's running another operating system or is brand new. This makes the process much more flexible and accessible.

Option 1: Using Live Media

This is the recommended approach for testing hardware without an AlmaLinux installation. You'll need to create a bootable USB drive or DVD with a live AlmaLinux environment that includes the alma-certify tool.

  1. Download an AlmaLinux ISO: Obtain the latest AlmaLinux ISO image from the official AlmaLinux website. Ensure it's a version that supports live boot environments.
  2. Create Bootable Media: Use a tool like Etcher, Rufus (for Windows), or dd (for Linux/macOS) to write the ISO image to a USB drive. For example, on Linux, you might use:
    sudo dd if=/path/to/your/almalinux.iso of=/dev/sdX bs=4M status=progress
    Replace /path/to/your/almalinux.iso with the actual path to your downloaded ISO and /dev/sdX with your USB drive's device identifier (be extremely careful to select the correct device to avoid data loss).
  3. Boot from Live Media: Insert the bootable USB drive into the target machine and configure its BIOS/UEFI settings to boot from the USB drive.
  4. Access the Terminal: Once the live environment loads, open a terminal window. The alma-certify tool should be readily available.

Option 2: Running on an Existing AlmaLinux Installation

If you already have AlmaLinux installed on the hardware you wish to certify, you can run the tool directly.

  1. Ensure alma-certify is Installed: Open a terminal and check if the tool is present. If not, you may need to install it via your package manager:
    sudo dnf install alma-certify
  2. Update Your System (Optional but Recommended): Before running tests, ensure your system is up to date:
    sudo dnf update -y

Regardless of your chosen method, having the alma-certify tool accessible in a terminal environment is your goal for the next step.

Step 3: Executing the Hardware Certification Tests

With alma-certify ready, you can now initiate the hardware validation process. The tool is designed to be efficient, often completing its checks in under ten minutes on most modern hardware. It thoroughly inspects various components and functionalities of your system.

Running the Certification Command

In your terminal, execute the following command:

sudo alma-certify run

Why this matters: This command initiates a comprehensive suite of tests. The alma-certify tool delves deep into your system's architecture, identifying and evaluating a wide range of hardware aspects. It's crucial to run this command with sudo because it requires elevated privileges to access hardware information and perform low-level diagnostics.

What alma-certify Checks

The certification process covers extensive ground, ensuring a holistic assessment of your hardware's compatibility and health. These checks include:

  • Computation and Memory: Verifying CPU functionality, memory integrity, and overall system performance under load.
  • Storage Health: Assessing the health and performance of your storage devices (HDDs, SSDs), including SMART data analysis.
  • Networking Drivers: Confirming the presence and functionality of network interface card (NIC) drivers.
  • Kernel State: Evaluating the Linux kernel's interaction with your hardware, checking for potential issues or unsupported features.
  • Virtualization: If applicable, testing virtualization capabilities and extensions (e.g., Intel VT-x, AMD-V).
  • GPU and Peripherals: Detecting and testing graphics processing units (GPUs) and various connected peripherals, ensuring their drivers are recognized and functional.

Verification Note

During the run, the tool will display progress messages. Upon completion, it will generate a report, typically indicating whether the system passed the various checks and providing a unique identifier for the test run. This identifier is essential for the next step.

Step 4: Submitting Hardware Certification Results to the Catalog

After successfully running the alma-certify tool, the next step is to submit your results to the public AlmaLinux certification catalog. This action makes your findings available to the community, helping others identify compatible hardware and strengthening the overall ecosystem.

The Submission Process

The alma-certify tool simplifies the submission process, often leveraging modern conveniences like QR codes for machine registration.

  1. Review the Output: After sudo alma-certify run completes, the tool will provide instructions for submission. This typically includes a URL to a submission portal and potentially a QR code.
  2. Register Your Machine: Navigate to the provided URL on a web browser. You may be prompted to create an account or log in if you haven't already. The new machine registration flow often involves scanning a QR code displayed in your terminal or on a temporary webpage with your mobile device, which streamlines the transfer of your test results.
  3. Confirm and Submit: Follow the on-screen prompts on the submission portal to confirm the details of your hardware and the test results. Once satisfied, finalize the submission.

Why this matters: Each submitted result contributes to a growing database of validated hardware. This data is invaluable for:

  • Users: Helping them make informed decisions when purchasing new hardware or planning AlmaLinux deployments.
  • Vendors: Providing concrete evidence of AlmaLinux compatibility, which can encourage official support from hardware and software manufacturers.
  • Community: Building a more robust and reliable open-source ecosystem.

Verification Note

Once submitted, your certification entry will appear in the public catalog. You can search for your specific hardware configuration to confirm its presence and view the detailed test results and benchmarks.

Step 5: Participating in Software Compatibility Confirmation

Beyond certifying hardware, you can also contribute to software certification by confirming that applications run correctly on your AlmaLinux setup. This process relies on users validating existing software listings.

How to Participate

  1. Access the Software Certification Portal: Visit the official AlmaLinux software certification portal (you may need to search for the specific AlmaLinux community page that hosts this, as it's a community-driven effort).
  2. Browse Software Listings: The portal will display a list of software products. Each entry will typically indicate which major AlmaLinux versions it claims to support.
  3. Identify Software You Use: Look for applications or services that you regularly run on your AlmaLinux system.
  4. Confirm Compatibility: If you are running a listed software product on your AlmaLinux installation (preferably on hardware that has been certified or is known to be compatible), you can provide a confirmation. This usually involves logging into your account on the portal and marking the software as