Aurora Documentation

repository·main·Indexed 20 days ago

https://github.com/ublue-os/aurora

A KDE-based desktop operating system from the Universal Blue ecosystem designed for reliability and low maintenance. Documentation covers installation, Secure Boot key enrollment via ujust or mokutil, and system utilities such as aurora-zfs-deprecation-notifier and rechunker-group-fix.

Tokens
938
Snippets
6
Records
8
Agent score
73%

What's inside Aurora

  1. Enroll Secure Boot keys

    main

    Aurora supports Secure Boot by default. During the initial installation, you will be prompted to enroll the secure boot key in the BIOS. When prompted, enter the password: universalblue.

    If you missed this step during setup, you can manually enroll the key using the ujust utility or mokutil.

  2. Correct sequence for reconstructing group and shadow files

    main

    When performing system updates or rechunking operations that involve removing /etc/gshadow, follow this specific sequence to ensure /etc/group and /etc/gshadow are populated correctly:

    1. Remove the existing shadow file: rm /etc/gshadow
    2. Generate system users/groups: systemd-sysusers (this populates /etc/group)
    3. Fix group permissions: Run rechunker-group-fix (this populates /etc/gshadow with missing entries)
    4. Apply tmpfiles configuration: systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
    rm /etc/gshadow
    systemd-sysusers
    rechunker-group-fix
    systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
  3. Manually enroll Secure Boot key via mokutil

    main

    To enroll the custom Aurora public key prior to installation or a rebase, download the public key from the akmods repository and run the following commands:

    Note: Replace public_key.der with the actual path to the downloaded file.

    sudo mokutil --timeout -1
    sudo mokutil --import public_key.der
  4. Fix rechunker group permissions with rechunker-group-fix

    main

    The rechunker-group-fix script is a utility designed to synchronize /etc/gshadow with /etc/group. It ensures that every group defined in /etc/group has a corresponding entry in /etc/gshadow with a placeholder password field (!*::). This is typically used in environments where /etc/gshadow has been removed or nuked to facilitate rechunking/image updates.

    To use this script correctly, it should be part of a sequence within a systemd service to ensure the system identity files are properly reconstructed.

    # Recommended execution sequence within a systemd service:
    rm /etc/gshadow
    systemd-sysusers
    rechunker-group-fix
    systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
  5. Run the aurora-zfs-deprecation-notifier tool

    main

    The aurora-zfs-deprecation-notifier is a system utility used to notify active users about the upcoming deprecation of ZFS support in Aurora (scheduled for October 2026). When executed, it identifies all non-root users currently logged into the system via loginctl and sends a critical desktop notification to each user's session using notify-send via machinectl.

    /usr/bin/aurora-zfs-deprecation-notifier