About PactorOS

What is PactorOS?

PactorOS is a minimal, open-source operating system designed specifically for embedded applications on the Raspberry Pi 5 and x86-64 platforms. Built from the ground up with LLVM, PactorOS prioritizes simplicity, performance, and determinism over feature bloat.

PactorOS is not a general-purpose Linux distribution. It is a purpose-built embedded OS that gives you direct hardware control with minimal overhead.

Architecture

Supported Platforms

x86-64Standard PC/UEFI systems, virtualization (QEMU, VirtualBox, VMware)
ARM64Raspberry Pi 5 (Cortex-A76), other BCM2712-based boards

Kernel Design

Design Philosophy

  1. No bloat. Every byte in the image serves a purpose. The base ARM64 image is under 32 MB.
  2. Pure LLVM. The entire system — bootloader, kernel, userspace — compiles with a single LLVM toolchain. No GCC dependency.
  3. Embedded-first. Real-time constraints, deterministic memory allocation, and bare-metal GPIO/SPI/I2C access are first-class features.
  4. Readable source. The codebase is intentionally small enough for one person to read and understand completely.
  5. No systemd. Init is a single-process supervisor. Services are plain executables.

Technical Specifications

BootloaderCustom EFI stub (x86-64) / U-Boot + custom second-stage (ARM64)
KernelMonolithic with loadable modules, ELF binary format
FilesystemRead-only squashfs root + tmpfs overlay; optional ext4 data partition
Syscalls42 system calls (subset of Linux ABI for compatibility)
NetworkinglwIP userspace stack, optional; no kernel networking by default
ToolchainLLVM 17+ / clang, lld, compiler-rt, libc++
C Librarymusl libc (statically linked)
Initpactor-init: single PID 1 supervisor
Shellpactor-sh: minimal POSIX shell (2k LOC)
LicenseBSD 2-Clause

Source Code

The source is available in the repository. Contributions are welcome via patches sent to the mailing list.

git clone https://pactoros.hu/repo pactoros-src

Contact

Mailing Listdev@pactoros.hu
IRC#pactoros on Libera.Chat
Bug ReportsSend patches to the mailing list