Skip to content

Installation on real hardware

There are two ways to install ZIGNOS on real hardware.

The currently published Live ISO (2026.11.29) is offline-only. The online installer will be included in the next ISO. To build from stable now, use the stage3 procedure.

  1. Official Live ISO — boot a desktop image and use the GUI installer (Qt6/QML).
    • Offline: copy the Live Testing + KDE Plasma system. 15–30 minutes
    • Online: download a stable stage3 and build the selected software from source. 30–60 minutes for a minimal system, 8–15 hours with Plasma The TUI installer remains as a fallback.
  2. stage3 tarball — unpack the minimal base and build the kernel and GRUB inside a chroot. You choose the channel, disk layout and packages.

Read the comparison first, then follow the route that fits.

Live ISO (offline) Live ISO (online) stage3
Difficulty GUI wizard GUI wizard Manual (chroot / GRUB)
Time 15–30 minutes 30–60 min (minimal) / 8–15 h (Plasma) 30–60 minutes or more
Initial state Full testing desktop Selected stable packages Minimal CLI
Channel testing stable (changeable later) stable / testing / unstable
Network Not needed Required Needed for packages
Disk layout GPT+ESP or MBR created automatically Same Manual (LVM / XFS / Btrfs at your own risk; LUKS / TPM not supported)
Target disk SATA / USB / NVMe / eMMC Same SATA / USB / NVMe (eMMC only if SystemRescue sees it)
Customization Limited Software selection Full
Best for Trying it out / a standard desktop Building from stable Minimal systems / servers / full control

Live ISO advantages

  • The fastest route to a KDE Plasma desktop (offline)
  • GPU drivers (Intel / AMD / NVIDIA nouveau / VMs) and Japanese input work out of the box
  • Offline needs no network during the install
  • Online builds only the selected software from a stable stage3
  • A GUI for disk, locale, user and WiFi setup; the TUI is also available as a fallback

Live ISO disadvantages

  • Offline is stuck on the testing channel (changeable later) and uses about 10 GB
  • Online is a source build: slow and requires a network
  • Less control over partitions
  • Alpha build: things may change or break

stage3 advantages

  • Start from a minimal base and add only what you need
  • Choose the channel and the disk layout, including LVM / XFS / Btrfs (LUKS / TPM not supported)
  • You can follow the build and dependency chain

stage3 disadvantages

  • Partitioning, chroot, kernel and GRUB are manual
  • Needs a network to fetch packages
  • The desktop is a separate install

Caution: <DISK> is a whole disk such as /dev/nvme0n1, /dev/mmcblk0 or /dev/sda, and <PART> is a partition such as nvme0n1p1, mmcblk0p1 or sda1. Running the commands destroys all data on the target disk. Always confirm with lsblk.

The official Live ISO is a bootable image with the KDE Plasma 6 desktop. The GUI installer offers offline (copy the running Testing + KDE Plasma system) or online (download a stable stage3 and build the selected software).

  • A USB drive of 8 GB or more (16 GB recommended for the online + WiFi firmware build; the ISO is about 5.5 GB)
  • 8 GiB of memory recommended for online (the stage3 is staged in RAM)
  • The Live ISO from the download page: zignos-live-desktop-20261129-gui.iso (about 4.1 GB)
  • Target disk: SATA / USB / NVMe / eMMC
  • Offline needs no network; online needs wired or WiFi connectivity

Get the ISO and SHA-256 from the download page.

ターミナルウィンドウ
sha256sum zignos-live-desktop-20261129-gui.iso
# 0909bc23f900cbd9361514bff2523c4bd7bdc0f06994a20ed906043a091a6882
ターミナルウィンドウ
# Linux / macOS (find the device with lsblk; e.g. /dev/sdX)
sudo dd if=zignos-live-desktop-20261129-gui.iso of=/dev/sdX bs=4M status=progress conv=fsync

On Windows use Rufus (DD mode), balenaEtcher or Ventoy. This ISO boots from USB on both BIOS and UEFI.

  • UEFI: disable Secure Boot and put the USB drive first in the boot order
  • BIOS: boot from the USB drive
  • Choose “ZIGNOS Live” in the GRUB menu
  • The Live desktop starts with automatic login

Use the “Install ZIGNOS” icon on the desktop, or start it from the application menu. From a terminal:

ターミナルウィンドウ
zignos-installer-gui
  1. Welcome — choose offline or online. For online, use “WiFi / network” to connect and wait for the connectivity check
  2. Region and language — timezone, locale and keyboard
  3. Disk — choose the target disk (all data on it is destroyed)
  4. User — hostname, user name and password
  5. Software (online only) — KDE Plasma / KDE apps / Tessa / Flatpak / Japanese input / SSH / NetworkManager + WiFi, and confirm the GPU
  6. Summary — review and start
  7. Install — download, extraction, build, configuration and GRUB progress
  8. Complete — reboot and remove the USB drive

Offline has no software step (seven steps). The online install always includes the Linux kernel, GRUB and doas, then adds the selected items: KDE Plasma 6 (plasma-meta), KDE apps, Tessa, Flatpak, Japanese input (fcitx5 + Mozc), OpenSSH and NetworkManager + WiFi firmware. VIDEO_CARDS is set for the selected desktop.

If the GUI is unavailable, choose Install ZIGNOS (TUI) from the application menu, or run doas zignos-installer in a terminal.

  • Offline: login uses Plasma Login Manager (PLM). Log in as the user you created
  • Online: login uses stable SDDM (Tessa also appears in the session list when selected)
  • root is locked; use doas (the new user is in wheel)
  • Offline: KDE Plasma 6 (Wayland), KDE applications, NetworkManager, PipeWire, fcitx5 + Mozc, Flatpak and the GPU drivers are installed
  • Online: only the selected packages are installed. NetworkManager + WiFi also installs linux-firmware
  • The channel is testing for offline and stable for online; change it with zpkg channel
  • Offline copies the Live system and uses about 10 GB; online uses 20–55 GB or more depending on the selection
  • This is an alpha build. Report bugs in Issues; ask questions in the forum or Discord
  • The whole disk is erased; confirm the target with lsblk
  • Secure Boot must be disabled (GRUB and the kernel are unsigned)
  • No root password is set. Set one with doas passwd root if you need it
  • eMMC (/dev/mmcblk*) and NVMe (/dev/nvme*) disks can also be selected as the target. Partition names are mmcblk0p1 / nvme0n1p1
  • Online uses the stable stage3 and its bundled recipes. Switch to testing / unstable after install with zpkg sync → zpkg channel → zpkg upgrade
  • Online is a source build: Plasma can take 8–15 hours and 20–30 GB. There is no public binpkg repository yet
  • Online WiFi uses the Live image’s WiFi firmware. Real-hardware support for WiFi chips is still under verification; wired Ethernet is the safest path
  • The official signing key is not in use yet; stage3 is verified with HTTPS + SHA-256

Choosing Online in the Live GUI does not copy the Testing desktop. Instead it downloads a stable stage3 and builds the selected packages from source.

  1. Connect wired or WiFi in the Live NetworkManager (“WiFi / network”; leave the password empty for an open AP)
  2. Choose Online on the welcome screen. Next stays disabled until the connectivity check succeeds
  3. Set region, disk and user
  4. Choose software:
    • KDE Plasma 6
    • KDE applications (requires Plasma)
    • Tessa
    • Flatpak (requires Plasma or Tessa)
    • Japanese input (fcitx5 + Mozc / Plasma)
    • OpenSSH
    • NetworkManager + WiFi firmware
    • Confirm the GPU (VIDEO_CARDS) when a desktop is selected
  5. Review and start

The install phases are:

stage3 download → SHA-256 verify → disk setup → extract stage3
→ build/install packages → user/service setup → kernel check
→ GRUB → complete
  • The target disk is not touched until the download and checksum pass, so a network or checksum failure does not leave a wiped machine

  • stage3 is not embedded in the ISO; it is fetched from the official GitHub Releases

  • The stage3’s bundled stable recipes are used, so zpkg sync is not run during the install. Update to the latest tree after first boot

  • A minimal build (kernel + GRUB + doas) takes 30–60 minutes; Plasma takes 8–15 hours. Use at least 20 GB (40 GB with Plasma, 55 GB with KDE apps)

  • The installed channel is stable. To switch:

    ターミナルウィンドウ
    zpkg sync
    zpkg channel testing
    zpkg upgrade -p
    zpkg upgrade
  • Online WiFi uses the WiFi firmware in the Live image. Real-hardware chip verification is ongoing; wired Ethernet is the most reliable option

The rest of this page is the stage3 route: unpack the minimal base and install the kernel and GRUB inside a chroot. You choose the channel, disk layout and additional packages.

Item Requirement / guideline
CPU x86_64
Firmware BIOS or UEFI (Secure Boot disabled)
Memory 512 MiB or more for CLI; 2 GiB or more recommended for KDE Plasma
Storage 8 GiB or more for CLI; 16 GiB or more recommended for a desktop
Target disk SATA / USB / NVMe; eMMC only if SystemRescue sees it
Network Wired recommended. WiFi requires firmware
Installation media USB flash drive with SystemRescue written to it (currently 13.03)
stage3 The tarball and SHA-256 from the download page

stage3 is about 1.0 GiB. Space for the kernel, GRUB, additional packages and the build cache is required separately.

NVMe appears as /dev/nvme0n1 and eMMC as /dev/mmcblk0. Installing to eMMC requires the MMC / SDHCI drivers; the ZIGNOS kernel has them built in.

Firmware Disk GRUB Notes
UEFI (default) GPT + ESP (FAT32) + ext4 root x86_64-efi + efibootmgr Secure Boot must be disabled
BIOS/CSM MBR + ext4 root i386-pc Disks larger than 2 TiB are not supported

Work on real hardware is done from SystemRescue. It boots on both BIOS and UEFI and provides sfdisk, mkfs, tar, chroot and efibootmgr.

ターミナルウィンドウ
# Download and verify (example)
curl -LO https://fastly-cdn.system-rescue.org/releases/13.03/systemrescue-13.03-amd64.iso
curl -LO https://fastly-cdn.system-rescue.org/releases/13.03/systemrescue-13.03-amd64.iso.sha256
sha256sum --check systemrescue-13.03-amd64.iso.sha256
# Write to USB (/dev/sdX is the whole USB device. A mistake destroys a disk)
sudo dd if=systemrescue-13.03-amd64.iso of=/dev/sdX bs=4M status=progress conv=fsync
sync
  1. Insert the USB drive and open the firmware boot menu
  2. On UEFI machines, boot in UEFI mode (CSM disabled); on BIOS machines, boot in legacy mode
  3. Disable Secure Boot (the ZIGNOS GRUB and kernel are unsigned)
  4. After booting, wired LAN uses DHCP automatically. Configure WiFi with nmtui

cfdisk is recommended for beginners. It creates and deletes partitions interactively while showing them, so there is no risk of mistyping an sfdisk script. The sfdisk one-shot layout for experienced users is still in 2.4.

First identify the target disk. The operations below destroy all data on the disk.

ターミナルウィンドウ
lsblk -o NAME,SIZE,MODEL,TYPE

<DISK> is a whole disk such as /dev/nvme0n1 or /dev/sda. Partition names are <DISK>p1 on NVMe and <DISK>1 on SATA.

Mount point Partition Partition type Size
/mnt/zignos/boot/efi <DISK>p1 EFI system partition (FAT32) 512 MiB (300 MiB minimum; 1 GiB with multiple kernels)
[swap] (optional) <DISK>p2 Linux swap 512 MiB or more
/mnt/zignos <DISK>p3 Linux x86-64 root (/) All remaining space
Mount point Partition Partition type Size
[swap] (optional) <DISK>1 Linux swap 512 MiB or more
/mnt/zignos <DISK>2 Linux All remaining space
  • Swap is not required. Create it if you use hibernation or have little memory. It can also be added later as a swap file
  • Without swap, root is <DISK>p2 on UEFI and <DISK>1 on BIOS; shift the numbers in the examples below forward by one
  • 512 MiB is recommended for the ESP. ZIGNOS places copies named /boot/vmlinuz-<ver> and initramfs-<ver>.img there, so use 1 GiB if you keep multiple kernels
  • BIOS/MBR cannot handle disks larger than 2 TiB. Use UEFI/GPT if possible
  • Secure Boot must be disabled (the ZIGNOS GRUB and kernel are unsigned)
ターミナルウィンドウ
cfdisk <DISK>
  1. Choose gpt for UEFI or dos for BIOS
  2. [New] → 512M → set the type to EFI System on UEFI
  3. To create swap, [New] → 512M → set the type to Linux swap
  4. [New] → all remaining space → set the type to Linux filesystem (Linux on BIOS) On BIOS, also select the root partition and mark it [Bootable]
  5. [Write] → yes to write, then [Quit] to exit
  6. Make the kernel reread the partition table
ターミナルウィンドウ
partx -u <DISK>
# If the change does not appear
partprobe <DISK>

cfdisk shows the existing partition table as soon as it starts. On a disk that still holds another OS or data, always compare lsblk with what is displayed before writing. If an existing signature remains and mkfs refuses, erase it with wipefs -a <DISK> (this destroys all data).

Without swap (minimal layout):

ターミナルウィンドウ
mkfs.vfat -F32 -n ZIGNOSESP <DISK>p1
mkfs.ext4 -L zignos-root <DISK>p2
mkdir -p /mnt/zignos/boot/efi
mount <DISK>p2 /mnt/zignos
mount <DISK>p1 /mnt/zignos/boot/efi

With swap (root is p3):

ターミナルウィンドウ
mkfs.vfat -F32 -n ZIGNOSESP <DISK>p1
mkswap <DISK>p2
swapon <DISK>p2
mkfs.ext4 -L zignos-root <DISK>p3
mkdir -p /mnt/zignos/boot/efi
mount <DISK>p3 /mnt/zignos
mount <DISK>p1 /mnt/zignos/boot/efi

Without swap (minimal layout):

ターミナルウィンドウ
mkfs.ext4 -L zignos-root <DISK>1
mount <DISK>1 /mnt/zignos

With swap (root is 2):

ターミナルウィンドウ
mkswap <DISK>1
swapon <DISK>1
mkfs.ext4 -L zignos-root <DISK>2
mount <DISK>2 /mnt/zignos

To keep swap in /etc/fstab, check the UUID with blkid and add the following line.

UUID=<swap UUID> none swap sw 0 0

2.4 Create everything with sfdisk (advanced)

Section titled “2.4 Create everything with sfdisk (advanced)”

This example creates the minimal layout without swap in one operation. If you need swap, add it with cfdisk or add another line to the sfdisk input.

ターミナルウィンドウ
sfdisk <DISK> <<'EOF'
label: gpt
start=2048, size=1048576, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, name="ZIGNOS ESP"
start=1050624, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, name="zignos-root"
EOF
partx -u <DISK>
mkfs.vfat -F32 -n ZIGNOSESP <DISK>p1
mkfs.ext4 -L zignos-root <DISK>p2
mkdir -p /mnt/zignos/boot/efi
mount <DISK>p2 /mnt/zignos
mount <DISK>p1 /mnt/zignos/boot/efi
ターミナルウィンドウ
sfdisk <DISK> <<'EOF'
label: dos
start=2048, type=83, bootable
EOF
partx -u <DISK>
mkfs.ext4 -L zignos-root <DISK>1
mount <DISK>1 /mnt/zignos

stage3 is a minimal base without the kernel and GRUB. The current manifest is 2026.11.29 / stage3 r22 (64 packages / about 1066 MiB). r22 includes Linux headers 6.18.65, OpenSSL 4.0.3, zpkg 0.3.4-r4, locales (en_US.UTF-8 / ja_JP.UTF-8) and Go 1.27.4. The release is available from the download page and GitHub Releases.

For developers, it is generated in a build VM.

ターミナルウィンドウ
# In the working tree on the build host
sudo OUT=/var/tmp/zignos-stage3-20261129-r22-x86_64.tar.xz ./make-stage3.sh
sha256sum /var/tmp/zignos-stage3-20261129-r22-x86_64.tar.xz \
> /var/tmp/zignos-stage3-20261129-r22-x86_64.tar.xz.sha256

Carry the result to the target machine over USB or SSH and verify the checksum before unpacking.

ターミナルウィンドウ
sha256sum --check zignos-stage3-20261129-r22-x86_64.tar.xz.sha256

Current manifest (r22): as of 2026-11-29, 64 packages / about 1066 MiB. The file name is zignos-stage3-20261129-r22-x86_64.tar.xz and the SHA-256 is 92b598f4d65a34ea89ddd2710a13d827b2a9c00a5dbbabb96320373e417a5166.

r22 bundles Linux headers 6.18.65, OpenSSL 4.0.3, zpkg 0.3.4-r4, locales and Go 1.27.4. After booting, add and update channels with zpkg sync && zpkg upgrade.

root is locked, and no SSH host keys, machine-id or users are included.


ターミナルウィンドウ
tar -xpf zignos-stage3.tar.xz -C /mnt/zignos

/etc/resolv.conf contains the build environment’s version, so overwrite it to match the target machine’s network (the SystemRescue 127.0.0.53 stub does not work in a chroot).

ターミナルウィンドウ
printf 'nameserver 1.1.1.1\nnameserver 8.8.8.8\n' > /mnt/zignos/etc/resolv.conf

stage3 does not include zignos-enter.sh. Mounting manually and entering is the reliable way. On UEFI, rbind /sys so efivarfs is visible inside the chroot (efibootmgr reads and writes NVRAM).

ターミナルウィンドウ
mkdir -p /mnt/zignos/{dev,proc,sys,run}
mount --rbind /dev /mnt/zignos/dev
mount --make-rslave /mnt/zignos/dev
mount -t proc proc /mnt/zignos/proc
mount --rbind /sys /mnt/zignos/sys
mount --make-rslave /mnt/zignos/sys
mount --rbind /run /mnt/zignos/run
mount --make-rslave /mnt/zignos/run
chroot /mnt/zignos /bin/bash -l

If you use zignos-enter.sh, add the /sys rbind manually on UEFI only (the helper mounts a fresh sysfs, which can hide efivarfs).

When isolating builds with bubblewrap, a plain chroot cannot use pivot_root; auto warns and falls back to building directly. zignos-enter.sh bind-mounts the root inside a private mount namespace before chrooting, so the sandbox works even with a directory chroot on stage3.

Once inside the chroot, set the root password first (it is locked in stage3).

ターミナルウィンドウ
passwd

Decide the build settings right after entering the chroot. The stage3 make.conf contains only CHANNEL=stable, and there is no editor, so overwrite it with cat.

ターミナルウィンドウ
cat > /etc/zpkg/make.conf <<EOF
# Build channel: stable (default) / testing / unstable
CHANNEL=stable
# Optimization; keep this for normal use
CFLAGS="-O2 -pipe"
# Parallel builds; match the CPU core count
MAKEOPTS="-j$(nproc)"
EOF
zpkg channel
  • CHANNEL is stable (long-term) / testing (latest stable) / unstable (challenging). Keep stable by default. To move to testing / unstable, run zpkg sync first to fetch all channels, then switch with zpkg channel testing (a stage3 ships only the channel it was built with).
  • CFLAGS: -O2 -pipe is recommended. -march=native etc. are at your own risk.
  • MAKEOPTS: -j$(nproc). Lower it (-j2) on machines with little RAM.
  • VIDEO_CARDS for the GPU is set in chapter 10 with zpkg video-cards.

The recipes and packages in a stage3 are a snapshot from its build time. Updating right after the chroot keeps the later linux / grub / Wi-Fi installs from stopping on stale dependencies.

ターミナルウィンドウ
zpkg sync # refresh the recipe tree (required on first use)
zpkg upgrade -p # review the changes
zpkg upgrade # run
  • zpkg sync replaces /usr/share/zignos/recipes with the latest GitHub tree. r22 includes the dependency fixes, and zpkg upgrade installs new dependencies before building.
  • r21 and earlier had a missing /usr/lib/modprobe.d and missing attr / lz4 / sqlite / bison. r22 does not need those workarounds. For r21, see Troubleshooting.
  • Rebuilding many packages can take 10-30 minutes. Review -p first.
  • To switch to testing / unstable, run zpkg sync → zpkg channel testing → zpkg upgrade (see 5.1).

stage3 has no editor, DHCP, SSH or man. Configuration files can be created with a cat heredoc (install vim nano later if needed).

ターミナルウィンドウ
echo zignos > /etc/hostname

tzdata is included. The default is UTC.

ターミナルウィンドウ
ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
date
ターミナルウィンドウ
loadkeys jp106
cat > /etc/conf.d/keymaps <<'EOF'
keymap="jp106"
EOF
rc-update add keymaps boot

stage3 includes /usr/sbin/zignos-fstab. Run it from the rescue environment with the target root mounted at /mnt/zignos, and it generates the / and (if mounted) /boot/efi lines from the actual mount information.

ターミナルウィンドウ
/mnt/zignos/usr/sbin/zignos-fstab /mnt/zignos

To write it by hand, check the UUIDs with blkid. On UEFI, registering the ESP in fstab as well lets grub-install and kernel updates use /boot/efi.

ターミナルウィンドウ
blkid <ROOT-PART> # UUID of root (example: UEFI with swap = <DISK>p3)
blkid <DISK>p1 # UUID of the ESP (UEFI only)
cat > /etc/fstab <<EOF
UUID=<ROOT-UUID> / ext4 defaults 0 0
UUID=<ESP-UUID> /boot/efi vfat defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
EOF

Important: if the UUID or device on the / line does not match reality, / stays read-only at boot. The OpenRC root service uses fstab to remount, so a wrong UUID makes the remount fail (the service still reports started). If you wrote the file by hand, always compare findmnt -no SOURCE /mnt/zignos with blkid.

On BIOS, remove the ESP line. If you do not want /boot/efi mounted all the time, you may comment out the ESP line instead (mount it only when installing GRUB).


ターミナルウィンドウ
zpkg install linux
  • It is built with x86_64-generic.config and installs /boot/vmlinuz, /boot/initramfs.img and /usr/lib/modules/6.18.65
  • The first run downloads the source and builds it, which takes from a few minutes to a dozen or so minutes
  • To change the configuration, edit /usr/share/zignos/recipes/stable/core/linux/x86_64-generic.config and rebuild with zpkg install -f linux
ターミナルウィンドウ
ls -l /boot/vmlinuz /boot/initramfs.img
ls /usr/lib/modules

Enabling GRUB’s uefi USE flag automatically installs efibootmgr and efivar as dependencies. This is simpler than the previous approach of only placing a binary on the fallback path.

ターミナルウィンドウ
# Build for UEFI (efibootmgr/efivar are installed as dependencies too)
zpkg use --package grub uefi
zpkg install linux grub
# Check the x86_64-efi modules and efibootmgr
ls /usr/lib/grub/x86_64-efi
command -v efibootmgr

If GRUB is already installed, change the USE flag and rebuild with zpkg upgrade grub or zpkg install -f grub.

Create /etc/default/grub (this example also enables the serial console).

ターミナルウィンドウ
cat > /etc/default/grub <<'EOF'
GRUB_DISTRIBUTOR="ZIGNOS"
GRUB_TIMEOUT=5
GRUB_DEFAULT=0
GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0"
GRUB_CMDLINE_LINUX=""
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"
EOF

Confirm that the ESP is mounted at /boot/efi, then install GRUB.

ターミナルウィンドウ
mountpoint /boot/efi || mount <DISK>p1 /boot/efi
/usr/sbin/grub-install \
--target=x86_64-efi \
--efi-directory=/boot/efi \
--bootloader-id=ZIGNOS \
--recheck
/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg

Confirm that grub-mkconfig prints Found linux image: /boot/vmlinuz-6.18.65. If it does not, see “ZIGNOS does not appear in the GRUB menu”.

If efibootmgr is usable, grub-install creates the NVRAM entry automatically. Verify it.

ターミナルウィンドウ
efibootmgr -v

You are done if Boot#### contains ZIGNOS pointing at \EFI\ZIGNOS\grubx64.efi. If it is not first in BootOrder, check the Boot#### number and set it.

ターミナルウィンドウ
# Example: ZIGNOS is Boot0003
efibootmgr --bootorder 0003,0000

If it was not registered automatically (or you installed with --no-nvram), add it manually.

ターミナルウィンドウ
efibootmgr --create \
--disk <DISK> --part 1 \
--label ZIGNOS \
--loader '\EFI\ZIGNOS\grubx64.efi'
efibootmgr -v
  • --part 1 is the partition number of the ESP (1 even on NVMe)
  • --loader uses backslashes (single-quote it in the shell)
  • If efibootmgr says “EFI variables are not supported”, you are not booted in UEFI mode or efivarfs is not visible in the chroot. Reboot SystemRescue in UEFI mode, rbind /sys, and try again

To also place a fallback (/EFI/BOOT/BOOTX64.EFI), you can build a standalone version for when NVRAM is lost (not required).

ターミナルウィンドウ
/usr/bin/grub-mkstandalone -O x86_64-efi \
-o /boot/efi/EFI/BOOT/BOOTX64.EFI \
--modules="part_gpt part_msdos fat ext2 normal search search_fs_uuid linux echo serial terminal" \
"boot/grub/grub.cfg=/boot/grub/grub.cfg"
ターミナルウィンドウ
zpkg use --package grub bios
zpkg install linux grub
cat > /etc/default/grub <<'EOF'
GRUB_DISTRIBUTOR="ZIGNOS"
GRUB_TIMEOUT=5
GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0"
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"
EOF
/usr/sbin/grub-install --target=i386-pc --boot-directory=/boot <DISK>
/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg

ターミナルウィンドウ
useradd -m -G wheel,video,render,audio,input -s /bin/bash yourname
passwd yourname

video / render are needed for Wayland’s DRM devices, audio for sound, and input for input devices. The GUI installer adds them automatically. For an existing user:

ターミナルウィンドウ
usermod -aG video,render,audio,input yourname

If the screen goes black with only a cursor after login, these groups are the first thing to check. Reboot after adding them.

The wheel group is provided by initscripts. In the base system, the only privilege escalation tool is su. To use doas:

ターミナルウィンドウ
zpkg install doas
ターミナルウィンドウ
zpkg install openssh
rc-update add sshd default
install -d -m700 -o yourname -g yourname /home/yourname/.ssh
# Place /home/yourname/.ssh/authorized_keys with mode 600

sshd starts with root login disabled. Root on the console remains for recovery.

stage3 includes neither a DHCP client nor NetworkManager. Choose either A or B below.

Wired:

ターミナルウィンドウ
zpkg install dhcpcd
rc-update add dhcpcd boot

WiFi requires firmware and a supplicant.

ターミナルウィンドウ
zpkg install wpa_supplicant iw linux-firmware
rc-update add wpa_supplicant default
# Change WPA_IFACE (default wlan0) in /etc/conf.d/wpa_supplicant if needed

linux-firmware is about 2 GiB. It is also possible to install only the firmware you need.

This option manages wired and WiFi connections together. NetworkManager is a main package, so it is not included in stage3.

ターミナルウィンドウ
zpkg install networkmanager-wifi
rc-update add networkmanager default

r21 and earlier lacked bison for libnl’s configure and other build dependencies. On r22, completing zpkg sync && zpkg upgrade in 5.2 is sufficient.

networkmanager-wifi is a meta package that installs NetworkManager + wpa_supplicant + iw + linux-firmware together. To avoid the mistake of forgetting the firmware and having WiFi go unrecognized, use this when you need WiFi. For wired only, zpkg install networkmanager alone is fine.

networkmanager-wifi is included in stage3 r13 and later (the current build is r22). On r12, use zpkg install networkmanager wpa_supplicant iw linux-firmware.

On machines with WiFi only, installing the WiFi stack inside this chroot before rebooting is the reliable approach. The chroot can use SystemRescue’s network as is, so you can fetch linux-firmware here (about 1 GiB download / about 2 GiB installed).

nmtui and nmcli are installed. To connect with the TUI first:

ターミナルウィンドウ
nmtui

To operate from the CLI:

ターミナルウィンドウ
nmcli general status
nmcli device status
nmcli device wifi list
nmcli device wifi connect "<SSID>" password "<PASSWORD>"

NetworkManager uses its internal DHCP and wpa_supplicant integration, so do not enable the dhcpcd and wpa_supplicant services (avoid combining A and B).

If WiFi is not visible, first check the device and firmware.

ターミナルウィンドウ
ip link # Is wlan0 / wlp* present?
iw dev
rfkill list # Soft blocked / Hard blocked
dmesg | grep -i -E 'iwlwifi|firmware'

If Direct firmware load ... failed appears, linux-firmware is not installed (it is installed by zpkg install networkmanager-wifi). Intel Wireless-AC 8260 (8086:24f3) works with iwlwifi + iwlwifi-8000C-36.ucode.

ターミナルウィンドウ
exit
umount -R /mnt/zignos/dev
umount -R /mnt/zignos/sys
umount -R /mnt/zignos/run
umount /mnt/zignos/proc
umount /mnt/zignos/boot/efi 2>/dev/null || true
umount /mnt/zignos
sync
reboot

Select ZIGNOS in the firmware boot menu. If NVRAM registration did not work on UEFI, remove the USB drive, reboot, and choose \EFI\ZIGNOS\grubx64.efi or \EFI\BOOT\BOOTX64.EFI from the firmware’s one-time boot menu.


To install KDE Plasma 6, choose the GPU driver before building Mesa. ZIGNOS’s Mesa switches Gallium drivers via VIDEO_CARDS, so installing plasma-meta without setting it builds with the QEMU default (virgl softpipe).

GPU Value to set Example command
Intel Gen8 and later (Skylake / Kaby Lake / Coffee Lake / Ice Lake and later) iris zpkg video-cards iris
Intel Gen4-7 (Haswell / Broadwell) crocus zpkg video-cards crocus
Intel Gen3 (Ivy Bridge and earlier) i915 zpkg video-cards i915
AMD GCN and later (Sea Islands / Polaris / Vega / RDNA) radeonsi (amdgpu also works) zpkg video-cards radeonsi
AMD R600 / R7000 r600 zpkg video-cards r600
NVIDIA (nouveau) nouveau (nvidia also works) zpkg video-cards nouveau
QEMU / KVM (virtio-gpu) virgl zpkg video-cards virgl
Software rendering softpipe / llvmpipe zpkg video-cards softpipe
  • iris on Intel Gen8 and later and crocus on Gen4-7 automatically install llvm, spirv-headers, spirv-tools and spirv-llvm-translator as makedepends for Mesa’s CLC. The first run takes time to download and build
  • radeonsi, r600, llvmpipe and nouveau use LLVM
  • The proprietary NVIDIA driver is not included in ZIGNOS recipes. Choose nouveau only when using Mesa’s Gallium driver
  • For multiple GPUs, separate the values with spaces, as in VIDEO_CARDS="iris virgl"

Note: AMD and NVIDIA GPUs have not been verified on real hardware. NVIDIA support is the open-source nouveau only; the proprietary driver is not in the official repository.

zpkg video-cards writes to /etc/zpkg/make.conf.

ターミナルウィンドウ
# Intel hardware
zpkg video-cards iris
# AMD
zpkg video-cards radeonsi
# QEMU
zpkg video-cards virgl
# Show the current setting
zpkg video-cards

To write it directly, add one line to /etc/zpkg/make.conf.

ターミナルウィンドウ
VIDEO_CARDS="iris"
ターミナルウィンドウ
zpkg install plasma-meta kde-applications
rc-update add dbus default
rc-update add elogind default
rc-update add polkit default
rc-update add upower default
# Only if using NetworkManager
rc-update add networkmanager default
rc-update add sddm default

To use Plasma Login Manager, run rc-update add plasmalogin default instead of sddm (Testing / Unstable). Do not enable SDDM and PLM at the same time. If the console getty holds tty1 and the login screen does not appear, free tty1 with rc-update del console default.

See KDE Plasma 6 for the desktop layout and services.

Mesa must be rebuilt.

ターミナルウィンドウ
zpkg video-cards iris
zpkg install -f mesa

Or, to have zpkg upgrade pick up the configuration change:

ターミナルウィンドウ
zpkg upgrade --newuse

Only recipes that have a video_cards file are affected by VIDEO_CARDS. The selected value is also part of Mesa’s binpkg key.


ターミナルウィンドウ
uname -r # 6.18.65
rc-status # udev / console / console-vga are started
ip addr # If wired DHCP was installed
  • The root password was set during installation

  • Install networking, SSH, an editor and man as needed with zpkg install

  • Time synchronization: zpkg install chrony && rc-update add chronyd default

  • System update: zpkg upgrade (shows the change list, dependency differences and warnings before running)

  • Check the channel: zpkg channel. A stage3 contains only the recipes for the channel it was built with. Always fetch the full recipe tree with zpkg sync before switching to testing / unstable. Switching first and then running zpkg upgrade stops with release channel "testing" is not installed.

    ターミナルウィンドウ
    zpkg sync
    zpkg channel testing
    zpkg upgrade -p
    zpkg upgrade

Advanced A: copy from an existing ZIGNOS with zignos-install

Section titled “Advanced A: copy from an existing ZIGNOS with zignos-install”

Copy a running ZIGNOS to another disk. The Live ISO’s GUI / TUI installers use the same zignos-install engine internally; for normal installs follow the “Install from the Live ISO” steps above.

ターミナルウィンドウ
# On the running ZIGNOS
lsblk
zignos-install /dev/nvme0n1

Booting in UEFI gives GPT + ESP; BIOS gives MBR. If efibootmgr is present, the NVRAM entry is registered too.

Alternative B: Write the image directly with dd

Section titled “Alternative B: Write the image directly with dd”
ターミナルウィンドウ
dd if=zignos-uefi.img of=/dev/nvme0n1 bs=4M status=progress conv=fsync
sync
# Expand the root partition to the whole disk (2 on UEFI, 1 on BIOS)
parted /dev/nvme0n1 resizepart 2 100%
partprobe /dev/nvme0n1
e2fsck -f /dev/nvme0n1p2
resize2fs /dev/nvme0n1p2

After booting, log in as root and create a user (see the image’s instructions for the initial password).

ターミナルウィンドウ
mount <ROOT-PART> /mnt/zignos # Example: /dev/nvme0n1p3
mount <ESP-PART> /mnt/zignos/boot/efi # UEFI (example: /dev/nvme0n1p1)
# Check the configuration
cat /mnt/zignos/etc/fstab
cat /mnt/zignos/boot/grub/grub.cfg
# chroot and operate zpkg
mount --rbind /dev /mnt/zignos/dev
mount -t proc proc /mnt/zignos/proc
mount --rbind /sys /mnt/zignos/sys
chroot /mnt/zignos /bin/bash

/etc/fstab and GRUB’s root= use filesystem UUIDs. If you copied the disk, check them with blkid and rewrite them.


  • Wired: install dhcpcd and run rc-update add dhcpcd boot
  • With NetworkManager, run zpkg install networkmanager-wifi → rc-update add networkmanager default. Configure with nmcli / nmtui (do not enable the dhcpcd / wpa_supplicant services). For wired only, zpkg install networkmanager
  • WiFi: networkmanager-wifi installs wpa_supplicant + iw + linux-firmware together. In a standalone setup, use wpa_supplicant + iw + linux-firmware. Match WPA_IFACE (default wlan0) in /etc/conf.d/wpa_supplicant to your environment
  • WiFi drivers are kernel modules. Both at boot and on hotplug, eudev + kmod load them automatically via uevents
  • If it does not load, identify the chip with lspci -k / lsusb and run modprobe <driver>
  • If iw dev shows no interface, check dmesg | grep -i firmware
  • The default is x86_64_defconfig + core/linux/x86_64-generic.config
  • Boot-critical pieces (ACPI/APIC, SATA AHCI, NVMe, USB/XHCI, VT/VGA/simpledrm, ext4/vfat, virtio, main NICs) are built in; GPU, WiFi and additional NICs are modules
  • To change it, edit the recipe’s configuration file and run zpkg install -f linux
  • Kernel updates regenerate the initramfs at the same time

The / line in /etc/fstab does not match the actual root. Run the following as root on the console.

ターミナルウィンドウ
mount -o remount,rw "$(findmnt -no SOURCE /)" /
zignos-fstab /

zignos-fstab rewrites /etc/fstab from the actual mount information (initscripts r18 and later; older stage3 does not have it, so check findmnt -no SOURCE / and blkid and fix the UUID=... / ... line by hand). After fixing, verify with rc-service root restart or a reboot.

Cause: the OpenRC root service runs mount -o remount,rw /, which refers to the / line in fstab, so a wrong UUID or device makes the remount fail. Note that the service still reports started, which makes this easy to miss.

  • Check that SystemRescue is booted in UEFI mode
  • Check that /sys is rbind-mounted into the chroot (mount --rbind /sys /mnt/zignos/sys)
  • Check whether efibootmgr -v works. If it does not, NVRAM registration is impossible, so boot via the fallback \EFI\BOOT\BOOTX64.EFI or rerun in a UEFI environment
ターミナルウィンドウ
efibootmgr -v
efibootmgr --create --disk <DISK> --part 1 --label ZIGNOS \
--loader '\EFI\ZIGNOS\grubx64.efi'
efibootmgr --bootorder <ZIGNOS boot number>,<others>

The stage3 root is locked. Enter the chroot and set a password with passwd.

stage3 is a minimal base. Add them with zpkg install vim nano dhcpcd openssh, for example. Using the network inside the chroot requires /etc/resolv.conf and NIC configuration.

A known issue in stage3 r21 and earlier. patch needs libattr and zstd needs liblz4, but neither library was in the r21 stage3 (the build host had them, so they were not declared as dependencies). This is already resolved if you ran 5.2 (zpkg sync && zpkg upgrade). Otherwise, fix it individually with:

ターミナルウィンドウ
zpkg install attr lz4 sqlite

Run this before building networkmanager-wifi or running zpkg upgrade. The recipes are fixed (a78ff6c), so stage3 r22 and later do not need it.

The r21 and earlier stage3 do not contain bison, and their bundled libnl recipe did not declare makedepends for it. If you ran 5.2, the fixed libnl recipe pulls bison automatically. Otherwise, install bison and retry:

ターミナルウィンドウ
zpkg install bison
zpkg install networkmanager-wifi

It stops with release channel "testing" is not installed

Section titled “It stops with release channel "testing" is not installed”

A stage3 contains only the recipes for its selected channel. To switch a stable stage3 to testing, fetch all channels first with zpkg sync.

ターミナルウィンドウ
zpkg sync
zpkg channel testing
zpkg upgrade -p
zpkg upgrade

pkgconf build cannot find meson-1.12.0.tar.gz

Section titled “pkgconf build cannot find meson-1.12.0.tar.gz”

A known issue in recipe trees before 2026-11-26. The pkgconf build tries to extract meson-1.12.0.tar.gz from the zpkg cache, but a stage3 does not ship that tarball, so it stops with tar: ... Cannot open: No such file or directory. Update the recipe tree with zpkg sync (fix cedc3f2).

ターミナルウィンドウ
zpkg sync
zpkg upgrade

A recipe for a new package is not found (recipe not found)

Section titled “A recipe for a new package is not found (recipe not found)”

The /usr/share/zignos/recipes bundled with stage3 is a snapshot from when that stage3 was built. zpkg sync replaces it with a new recipe tree. By default, stage3’s /etc/zpkg/sync.conf references zignos-recipes on GitHub in git mode (RECIPEGIT=1), compares the commit in .zpkg-git with the remote HEAD, and shallow-clones only when there is a change.

ターミナルウィンドウ
# Sync from the default git repository
zpkg sync
# To specify explicitly
zpkg sync --git --from https://github.com/studio-nosa-tech/zignos-recipes
# A new stage3 tarball, recipe tarball, directory or URL also works
zpkg sync --from zignos-stage3-<new>.tar.xz
zpkg sync --from zignos-recipes-20261129-r22.tar.xz
zpkg sync --from ./zignos-recipes
zpkg sync --from https://example.invalid/zignos-recipes.tar.xz
# Verify only
zpkg sync --git -n
# Verify
zpkg search networkmanager

sync validates the new tree in a temporary area and then replaces it atomically, so the old tree remains if it fails. If --from is omitted, RECIPEURL= (and RECIPEGIT / RECIPEBRANCH) in /etc/zpkg/sync.conf are used. The ZPKG_RECIPE_URL environment variable also overrides it.

The distributed recipe tarball contains all three channels: stable / testing / unstable. If you do not use git, sync this tarball and then switch.

ターミナルウィンドウ
zpkg sync --from zignos-recipes-20261129-r22.tar.xz --allow-unsigned
zpkg channel testing # Updates CHANNEL= in /etc/zpkg/make.conf
zpkg upgrade -p # Review the change list
zpkg upgrade # Run (with a confirmation prompt)

See Release channels for details.

Newer zpkg verifies the recipe tree’s recipes.manifest with a trusted key. Unsigned trees are rejected by default, so for the current unsigned release add --allow-unsigned explicitly (this becomes unnecessary once the official signing key is in use).

ターミナルウィンドウ
zpkg sync --from zignos-recipes-20261129-r22.tar.xz --allow-unsigned

To verify a signed tree, import the public key first.

ターミナルウィンドウ
zpkg key import zignos-signing.pub
zpkg sync --from zignos-recipes-20261129-r22.tar.xz

See Package signing and verification for details.

If the zpkg in an older stage3 has no sync, extract only usr/bin/zpkg from a new stage3 tarball and run it.

ターミナルウィンドウ
tar -xJf zignos-stage3-<new>.tar.xz -C /tmp/zpkg-new ./usr/bin/zpkg
/tmp/zpkg-new/usr/bin/zpkg sync --from zignos-stage3-<new>.tar.xz

The first run downloads and builds the kernel source. Check the network and free space (several GiB). If a binpkg repository is configured, it is used instead.

certs/extract-cert.c: openssl/bio.h: No such file or directory

Section titled “certs/extract-cert.c: openssl/bio.h: No such file or directory”

Older stage3 did not include openssl in linux’s build dependencies. Kernel 6.18.65 requires OpenSSL headers to build certs/extract-cert.

ターミナルウィンドウ
zpkg install openssl
zpkg install linux

The latest stage3 / recipes already add openssl to linux’s makedepends (perl is also installed automatically to build openssl).

ZIGNOS does not appear in the GRUB menu (UEFI firmware settings only)

Section titled “ZIGNOS does not appear in the GRUB menu (UEFI firmware settings only)”

Older linux packages install the kernel under the versionless names /boot/vmlinuz and /boot/initramfs.img, so grub-mkconfig’s 10_linux cannot find the kernel. Create copies with the version in the name, then regenerate.

ターミナルウィンドウ
KVER=$(ls /usr/lib/modules | tail -1)
cp -f /boot/vmlinuz /boot/vmlinuz-$KVER
cp -f /boot/initramfs.img /boot/initramfs-$KVER.img
grub-mkconfig -o /boot/grub/grub.cfg

If /boot is FAT32, symlinks cannot be created (ln: Operation not permitted). The cp commands above work on FAT32. The latest linux recipe includes these versioned copies in the package.

Check the generated result.

ターミナルウィンドウ
grep -E 'menuentry|linux /boot|initrd /boot' /boot/grub/grub.cfg

If menuentry "ZIGNOS ...", /boot/vmlinuz-6.18.65 and /boot/initramfs-6.18.65.img appear, you can select ZIGNOS from GRUB after rebooting.

  • No Secure Boot support (GRUB and the kernel are unsigned. It must be disabled)
  • No LUKS / TPM support
  • No GUI in stage3 (a minimal CLI base). KDE Plasma 6 / Wayland is optional from desktop/ (M50 verified up to Spectacle and kio-extras: Desktop environment)
  • WiFi works after installing firmware: networkmanager-wifi or linux-firmware (about 2 GiB)
  • stage3 is published on GitHub Releases. Developers can also generate it with make-stage3.sh
  • x86_64 only. Supports both BIOS and UEFI
  • For the initial root password, see the instructions for the distributed image, and change it first

Installation complete! — Share your fastfetch

Section titled “Installation complete! — Share your fastfetch”

When the installation is complete, mention @amanoremi on X (formerly Twitter) and post your fastfetch screen. You are sure to get a reply!

fastfetch is not included in stage3, so install it first.

ターミナルウィンドウ
zpkg install fastfetch
fastfetch

It shows the ZIGNOS logo along with OS, kernel, CPU, memory, disk and other information. Include your setup, any tweaks, and your impressions of running it. Adding #ZIGNOS makes it easier to find.

fastfetch running on ZIGNOS in QEMU

fastfetch running in QEMU in the development environment