Two-Stage C PID 1
Stage-1 mounts virtual filesystems, loads 25 early storage/USB/HID modules, finds Live SquashFS or installed ext4 UUID partitions, and hands off via switch_root.
ZyrecaOS is an independent, open-source Linux operating system built from upstream C sources — zero systemd, zero glibc bloat, universal 6,082-driver hardware support, a hybrid BIOS+UEFI disk installer, and the native zpkg repository.
git clone https://github.com/ranjanlive/ZyrecaOS.git
Every binary from early initramfs to networking and package management is compiled statically against musl or written directly in C.
Stage-1 mounts virtual filesystems, loads 25 early storage/USB/HID modules, finds Live SquashFS or installed ext4 UUID partitions, and hands off via switch_root.
Stage-2 reads /etc/zyreca/services.conf, streams service stdout/stderr to /var/log/<svc>.log, listens to kernel Netlink uevents for hotplug drivers, and cleanly remounts read-only on shutdown.
407 BusyBox applets, GNU nano 8.7.1, curl 8.23.0 with CA roots, wpa_supplicant 2.12 (WPA2/WPA3), dropbear 2026.94 SSH, and GPT partitioning tools — zero host distro strings.
BOOTX64.EFI + custom zyreca-bios-boot MBR/GPT chainloader.
ext4 root.
zram-init, zyreca-net DHCP + NTP sync, and supervises services cleanly.
.tar.xz packages directly from os.zyreca.com/repo/x86_64.
zpkg Repository (x86_64)
Hosted directly at https://os.zyreca.com/repo/x86_64. Every .zpkg archive contains PKGINFO metadata and is verified against its SHA-256 hash before extraction.
| Package & SHA-256 | Version | Size | Description | Action |
|---|---|---|---|---|
| Loading repository index... | ||||
Lightweight tools shipped inside the base image — controllable cleanly from shell or scripts.
osctl
C + Unix IPC
Control supervised services, read logs, trigger coldplug scans, and cleanly power off or reboot.
zpkg
POSIX sh + curl + unxz
Sync package indexes, search software, resolve dependencies, verify SHA-256, and upgrade cleanly.
zyreca-wifi & zyreca-net
iw + wpa_supplicant + udhcpc
Auto-connect Ethernet or saved Wi-Fi networks at boot, manage saved SSIDs, and sync NTP time.
zyreca-install & zyreca-part
sfdisk + mkfs + GRUB
Partition GPT disks and install standalone UEFI + Legacy BIOS ZyrecaOS with Wi-Fi settings carried over.
x86_64 CPUs, NVMe, AHCI SATA, USB 3.x/UAS, SD/MMC storage.i915 integrated graphics + laptop touchpads/HID (i2c-hid, usbhid, gamepads).iwlwifi, Atheros, Realtek rtw88/89, MediaTek mt76/79, Broadcom Wi-Fi & Bluetooth firmware + regulatory.db.amdgpu / radeon) firmware available via zpkg install zyreca-fw-amdgpu without inflating the base ISO.nouveau TTY; proprietary NVIDIA + CUPS printing are outside the CLI base image.PipeWire audio, Mesa OpenGL/Vulkan, and a lightweight Wayland compositor.Full reproducible build scripts (Steps 01–10), kernel config, and SHA-256 verification manifests are open-source under the MIT License.
git clone https://github.com/ranjanlive/ZyrecaOS.git cd ZyrecaOS # Follow docs/BUILD_GUIDE.md: ./scripts/01-install-toolchain.sh ./scripts/02-configure-kernel.sh ./scripts/03-build-kernel.sh ./scripts/05-build-busybox.sh ./scripts/06-build-network-userland.sh ./scripts/07-fetch-firmware.sh ./scripts/08-build-disk-tools.sh ./scripts/09-build-cli-extras.sh ./scripts/10-build-zpkg-repo.sh ./scripts/04-build-initramfs-and-iso.sh
# Boot Live ISO in UEFI (OVMF) powershell -ExecutionPolicy Bypass -File scripts\boot-qemu.ps1 -Uefi # Or use zpkg right after booting: zpkg update zpkg search zpkg install htop # Read complete docs: # - docs/BUILD_GUIDE.md # - docs/ZPKG_GUIDE.md # - docs/ROADMAP.md