edera-check

3 min read · Beginner


edera-check is a standalone CLI tool that validates whether your system is ready to install and run Edera. Run it before installation to catch issues early, and after to confirm everything is working.

It also generates a compressed system info bundle that stays on your machine, useful for sharing with support@edera.dev if you run into problems.

Source: github.com/edera-dev/edera-check

Installation

Docker (recommended)

docker run \
  --pull always \
  --pid host \
  --privileged \
  ghcr.io/edera-dev/edera-check:stable preinstall

Podman should also work. The container image is signed with cosign. Requires --pid host and --privileged to access host system state.

Static binary

curl -sL $(curl -s https://api.github.com/repos/edera-dev/edera-check/releases/latest \
  | grep -oP '"browser_download_url": "\K.*linux-x86_64-musl[^"]*') -o edera-check
chmod +x edera-check
sudo ./edera-check preinstall

Binaries are available for x86_64 and aarch64. See releases for all options.

Cargo

cargo install edera-check
sudo edera-check preinstall

Commands

preinstall

Run on a system without Edera installed to validate it meets all requirements:

sudo edera-check preinstall

Use the Docker method if you don’t want to install the binary:

docker run --pull always --pid host --privileged \
  ghcr.io/edera-dev/edera-check:stable preinstall

postinstall

Run on a system that has Edera installed and booted to validate it’s functional:

sudo edera-check postinstall

Both subcommands support additional flags (such as --byo-kernel, --report-dir, and --only-checks). Run edera-check preinstall --help or edera-check postinstall --help for the full list.

Check groups

Checks are organized into groups with severity tiers:

GroupSeverityDescription
System ChecksRequiredMemory and disk requirements
Kernel ChecksRequiredKernel version and module requirements
IOMMU ChecksOptionalIOMMU capability for device passthrough
PVH ChecksOptionalPVH paravirtualization support
NUMA ChecksAdvisoryNUMA topology awareness
BYO Kernel ChecksOptionalCustom kernel validation (requires --byo-kernel flag)
System Info RecorderAdvisoryCaptures system info into the report bundle

Severity tiers:

  • Required: Must pass for Edera to install and run correctly.
  • Optional: Enhanced capabilities. Edera works without these, but some features may be unavailable.
  • Advisory: Informational. Captures data for diagnostics.

Example output

Collecting information about the current host as part of locally-generated preinstall report.
The information collected will remain on this host.
Running Group System Checks [Required] - System requirement checks
    . Enough Memory: Passed
    . Enough Disk: Passed
System Checks: Passed
Running Group Kernel Checks [Required] - Kernel requirement checks
    . Host Has Necessary Modules: Passed
    . Host Kernel Version Is Good: Passed
Kernel Checks: Passed
Running Group IOMMU Checks [Optional] - IOMMU capability checks
    . IOMMU Support: Passed
IOMMU Checks: Passed
Running Group PVH Checks [Optional] - PVH capability checks
    . PVH Support: Passed
PVH Checks: Passed
Running Group NUMA Checks [Advisory] - NUMA capability checks
    . IOMMU Support: Passed
NUMA Checks: Passed
Running Group System Info Recorder [Advisory] - Record system information for reporting purposes
    . Captured lspci -vvv: Passed
    . Captured dmidecode: Passed
    . Captured /proc/cpuinfo: Passed
    . Captured /proc/cmdline: Passed
    . Captured /boot/grub2/grub.cfg: Passed
    . Captured boot/config-6.18.7-200.fc43.x86_64: Passed
    . Record current host kernel loaded modules: Passed
System Info Recorder: Passed
All Done! Report saved: ./edera-preinstall-report-StolidWingnut-20260218-003925.tar.gz

System info bundle

Every run generates a compressed .tar.gz report that stays on your machine. The filename follows the pattern:

edera-preinstall-report-{Name}-{YYYYMMDD}-{HHMMSS}.tar.gz

The bundle captures:

  • lspci -vvv: PCI device details
  • dmidecode: Hardware and BIOS data
  • /proc/cpuinfo: CPU information
  • /proc/cmdline: Kernel command-line arguments
  • GRUB bootloader configuration
  • Kernel configuration
  • Loaded kernel modules

No data is transmitted externally. If you hit installation issues, send this bundle to support@edera.dev to help us diagnose your environment.

Exit codes

Exit code is non-zero if any Required check group fails or errors. Optional and Advisory failures are reported in the output but don’t affect the exit code. This makes edera-check usable in scripts and CI pipelines.

Requirements

  • Must run as root (sudo) or in a privileged container
  • Linux only (x86_64 and aarch64)
Last updated on