2026-11-26 15:48 UTC

Ginux: AI-assisted independent kernel runs selected Linux workloads

state: significantheat: lowuncertainty: mediumrelevance: highai-assisted-development operating-systems systems-softwareGregory Kurtzer

What is this?

Ginux is an experimental, Rust-first x86-64 operating-system kernel by Gregory Kurtzer, who describes the project in its GitHub repository and linked technical report. It boots via UEFI without a Linux host kernel and implements its own kernel services and Linux-compatibility layer. The project says it can run selected Alpine and Rocky Linux programs and boot Rocky Linux 10 systemd to `multi-user.target`; it is not claiming general Linux compatibility. Kurtzer reports that one persistent OpenAI Codex task using GPT-5.6 Sol produced about 139,000 retained lines of implementation and test code over 11 days, under a human-directed process that set architecture, milestones, and acceptance gates. The repository documents major limitations: incomplete ABI, hardware, resource-isolation and security validation, and a failing aggregate test. A later Hacker News post about a separate AI-assisted Rust kernel, Ruxis, is not evidence about Ginux.

Why it matters

Ginux is a striking systems-software experiment: it suggests an experienced human directing an AI coding agent can rapidly build and test a substantial kernel, not that an agent independently produced a production-ready OS. If this workflow generalizes, it could lower the cost of exploring specialized operating-system designs and expand who can attempt deep systems projects. Ginux’s own compatibility and security caveats make those possibilities provisional; the project does not establish that AI can replace the engineering, review, hardware support, or long-term maintenance needed for production infrastructure.

Current assessment

Ginux is an experimental Rust-first x86-64 operating-system kernel that its repository says boots via UEFI without a Linux host kernel and runs selected Linux userspace workloads, including Rocky Linux 10 systemd to multi-user.target in a validated QEMU profile. Gregory Kurtzer attributes approximately 139,000 retained lines of implementation and test code to one persistent OpenAI Codex task using GPT-5.6 Sol over 11 days, with a human directing architecture, milestones, and acceptance gates. This is evidence of a notable AI-assisted systems-software implementation, not autonomous design or production readiness: documented caveats include incomplete compatibility and security validation, narrow hardware coverage, and a failing aggregate test at the evaluated checkpoint. Newer Hacker News posts and discussion repeat or debate the claims but provide no independent technical confirmation or new implementation result; Ruxis is a separate project. Independent review, broader workload and hardware testing, and reproducibility of the development process remain open questions.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 842h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-22 13:00⭐ origin echo-reconstructedThe repository README is the original project artifact and directly describes Ginux, its development, and the research report. It says: “Ove
Gregory M. Kurtzer on github (echo) · attributed from hn.story.50333727
—
11-02 06:28first on hacker news · published · +257.5hRocky Linux Creator Built a New 'Not Linux' Kernel in 11 Days Using AI
signa11
—
11-02 06:28amplified on hacker newshn.story.50333727
signa11
peak 4 · 0 comments · 1% of case engagement
11-08 21:25amplified on hacker newshn.story.50417467
ozkl
peak 2 · 0 comments · 1% of case engagement
11-09 11:30amplified on hacker newshn.story.50424147
ForHackernews
peak 32 · 63 comments · 31% of case engagement
11-11 05:25amplified on hacker news 👑hn.story.50450007
d3Xt3r
peak 123 · 85 comments · 67% of case engagement
11-02 07:21our radar first saw it · +258.4hdiscovery anchor: hn.story.50333727—
pace: p83 vs 879 stories at the 720h mark (now 842h old) — ahead of us-genesis-mission-superintelligence (1.0x), behind opus-qwen-hybrid-coding-cost-comparison (1.0x)

Evidence (5) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnRocky Linux Creator Built a New 'Not Linux' Kernel in 11 Days Using AI
Retrieved article excerpt

Open article · Retrieved 2026-11-02T07:22:18.508700+00:00

# Ginux

**A Rust-first x86-64 operating system built around native domains and Linux
userspace compatibility.**

[DOI](https://doi.org/10.5281/zenodo.23682548)

Ginux is an independent kernel and operating-system prototype. It boots directly
through UEFI without a Linux host kernel, provides its own memory management,
scheduler, process model, VFS, networking, device support, and Linux ABI, and
runs an embedded administration controller in ring 3. Its primary workload is
an unmodified Linux userspace running inside a kernel-native **domain**.

The repository contains the complete bootable system, controller, native
services, Linux compatibility implementation, hardware paths, build tools,
architecture specifications, and QEMU test harnesses. The current development
target is an x86-64 Q35 virtual machine with OVMF, Intel IOMMU, and virtio
devices. It runs through KVM on an x86-64 Linux host and QEMU TCG on Apple
Silicon.

Today, Ginux can:

- build as one bootable `GINUX.EFI` image;
- start its embedded controller as an ordinary ring-3 process;
- configure devices, networking, storage, and persistent domain definitions;
- pull, verify, cache, and assemble OCI images into domain-local roots;
- create and run multiple domains with separate process, address-space,
  filesystem, mount, capability, and lifecycle state;
- execute selected unmodified Alpine musl/BusyBox and Rocky Linux glibc
  programs; and
- boot Rocky Linux 10 systemd through `multi-user.target`.

Ginux is experimental. Linux ABI coverage, device support, filesystems,
networking, resource enforcement, security validation, and real-hardware
coverage are incomplete. It is useful for research, architecture experiments,
and testing—not production workloads or as a replacement for Linux.

The name is a joke in the same family as Linux: **Ginux** combines Linux, GPT,
and Greg. To keep the author's ego within its configured resource limit, the
`G` officially stands for GPT.

## Design goals

- **Linux userspace without Linux underneath.** Linux is a personality exposed
  by Ginux, not the host kernel.
- **Domains as the native system boundary.** Domains own processes, address
  spaces, filesystems, devices, resources, authority, and lifecycle.
- **A self-contained boot image.** The kernel, controller, and core boot
  requirements ship in one EFI release unit.
- **A small userspace control plane.** The embedded controller configures and
  observes the kernel without executing in ring 0.
- **Explicit, revocable authority.** Kernel capabilities grant access to named
  objects and are tied to domain generations for cleanup after failure.
- **OCI as transport, not runtime.** OCI delivers and assembles filesystems;
  Ginux domains provide execution and isolation.
- **Compatibility as an observable contract.** Real Alpine and Rocky Linux
  workloads supplement synthetic ABI tests.

## System description

```
+-----------------------------------------------------------------------+
| Embedded ring-3 controller: configuration, devices, domains, lifecycle |
+-----------------------------------------------------------------------+
| Linux-personality domains: Alpine, Rocky, and other Linux userspaces   |
+-----------------------------------------------------------------------+
| Native domains: ownership | capabilities | resources | failure policy  |
+-----------------------------------------------------------------------+
| Ginux kernel: processes | VFS | networking | scheduling | memory | IPC |
+-----------------------------------------------------------------------+
| UEFI firmware and the validated x86-64 QEMU hardware profile           |
+-----------------------------------------------------------------------+
```

### Boot architecture and controller

UEFI loads one `GINUX.EFI` image containing the kernel, boot catalog, and
authenticated controller payload. Small assembly boundaries enter and leave
UEFI, install exception, interrupt, and syscall entries, and switch privilege
and address-space state; policy and most mechanisms are implemented in Rust.

The controller is part of the single EFI release unit rather than a service
installed in a host distribution. At boot, the kernel maps the statically
linked controller into ring 3. It configures the kernel and devices, discovers
host state, manages networking and persistent storage, maintains the OCI cache,
defines domains, and controls their resources, attachments, autostart, and
lifecycle. Ordinary process behavior uses the Linux ABI; protected management
operations use a versioned device/`ioctl` interface checked by the kernel.

This arrangement keeps the bootable system self-contained without running the
controller in ring 0. The controller can delegate or revoke authority granted
by the sealed boot envelope, but it cannot create new kernel authority.

### Domains and personalities

A **domain** is a native Ginux kernel object and the outer unit of isolation,
ownership, accounting, scheduling, lifecycle, and failure containment. A
domain owns or is granted:

- processes, threads, and address spaces;
- a generation-tagged capability table;
- CPU and memory policy;
- IPC objects and shared-memory grants;
- filesystem roots and mount views;
- network endpoints and device grants; and
- lifecycle and failure policy.

Domains are stronger boundaries than OCI containers or Linux namespaces. OCI
supplies an initial filesystem; Ginux supplies isolation and execution. A
single Linux-personality domain can look like a conventional computer, with
systemd as PID 1 and a distribution userspace above it. Multiple domains share
one Ginux kernel while retaining separate kernel-owned state.

A **personality** is the userspace contract visible inside a domain: executable
format, syscalls, processes, signals, VFS behavior, devices, terminals, clocks,
networking, and namespace expectations. Linux x86-64 is the only implemented
personality. Other personalities, such as BSD, remain architectural
possibilities rather than tested features.

### Filesystems, devices, and persistence

The kernel VFS presents domain-local roots assembled from verified OCI layers,
a writable overlay, and selected `tmpfs`, `procfs`, and `devfs` behavior. A
persistent host-owned volume stores controller configuration and a
content-addressed OCI cache across reboots.

The validated QEMU profile includes virtio block and network paths, MSI-X, and
VT-d DMA confinement. Measured Rust driver and protocol services can run in
separate ring-3 domains with bounded MMIO, DMA, queue, and packet authority.
General driver support, production storage guarantees, broad filesystem
coverage, and a physical-hardware matrix remain future work.

## Current demonstrated state

| Area | Demonstrated | Important boundary |
| --- | --- | --- |
| Boot | Unified x86-64 UEFI image under Q35/OVMF | No production signing, recovery, or physical-hardware profile |
| Controller | Embedded static ring-3 administration process | No production remote management plane |
| Domains | Multiple domain objects with distinct process, address-space, root, mount, capability, and lifecycle state | Resource and device isolation remain incomplete in several paths |
| Linux userspace | Selected Alpine and Rocky programs; Rocky systemd reaches `multi-user.target` | No distribution-wide compatibility claim |
| Storage | Persistent configuration and verified OCI layer cache | Writable domain persistence and production recovery remain incomplete |
| Networking | Host DHCP/DNS, virtual-link configuration, loopback, and tested lifecycle | Independent per-domain packet paths and leases remain unfinished |
| Devices | QEMU virtio block/network, MSI-X, and VT-d paths | No GPU, NVMe, broad hardware, or stable third-party driver ABI |
| Performance | Matched 1/2/4-vCPU QEMU comparison using the same Rocky userspace and sysbench binary | Not a native-hardware or general kernel benchmark; four-thread scheduling remains weak |
| Security | Capability and generation mechanisms exercised by tests | No independent audit or production security claim |

The validated development target is QEMU's x86-64 Q35 machine with OVMF,
Intel IOMMU, and virtio devices. QEMU uses KVM on a suitable x86-64 Linux host
and TCG on Apple Silicon Macs.

### Linux compatibility status

The Linux 6.12 x86-64 ledger classifies all 375 syscall numbers: 82 complete,
245 partial, and 48 policy-denied. Classification means every syscall number has
an explicit disposition; it does not mean complete Linux conformance. Loader,
process, VFS, terminal, socket, IPC, namespace, cgroup, pseudo-filesystem, and
device behavior is implemented only to the extent recorded in the
[compatibility matrix](https://github.com/gmkurtzer/ginux/blob/main/docs/LINUX-COMPATIBILITY.md).

The project uses real workloads as compound integration tests. Alpine exercises
the musl/BusyBox path. Rocky exercises glibc, dynamic linking, fork/exec, systemd,
services, procfs, terminals, and related kernel interfaces. A successful tested
workflow is evidence for that workflow only; it is not a guarantee that an
arbitrary Linux binary or distribution will run.

## Build and run

Requirements:

- Rust 1.99.0 through `rustup`;
- Clang with the `x86_64-none-elf` target;
- QEMU with x86-64 and OVMF support; and
- GNU Make.

Check the host, build Ginux, and boot it:

```
make doctor
make run
```

`make run` creates a sparse development volume at `build/qemu/volume.raw`.
`make reset-storage` deletes it; the next boot recreates a clean volume.

At the `ginux>` prompt, a minimal Alpine workflow is:

```
domain new alpine
domain set alpine image=alpine:latest init=/bin/sh
domain start alpine --attach
```

Press Control-] to detach. Reattach or execute another process with:

```
domain attach alpine
domain exec alpine /bin/echo hello
domain exec alpine --interactive /bin/sh
```

To exercise the tested Rocky systemd path:

```
domain new rocky
domain set rocky image=rockylinux/rockylinux:10-ubi-init init=/sbin/init memory-mib=2048
domain start rocky --attach
```

The base `rockylinux/rockylinux:10` image does not contain systemd; the tested
init-bearing image is `rockylinux/rockylinux:10-ubi-init`.

`domain start NAME` queues startup and returns to the controller. Use
`domain list` for transitional state and `domain status NAME` for detailed
root, execution, console, resource, image, and network state. OCI is only the
transport and filesystem assembly format; it is not the runtime or security
boundary.

## Verification

Useful gates include:

```
make build                 # build the unified EFI image
make test-linux-runtime    # ELF, loader, PIE, TLS, heap, and VM behavior
make test-alpine           # registry pull and Alpine shell
make test-rocky-shell      # Rocky glibc shell and process/file behavior
make test-multi-domain     # concurrent domain lifecycle
make test-rocky-systemd    # cold and cached Rocky systemd boot
make test-storage          # volume initialization, recovery, and reset
make check                 # architecture, ABI, format, lint, and unit checks
```

The evaluated checkpoint does **not** have a fully passing aggregate `make test`: a post-`execve()` system-supervisor lifecycle probe remains a recorded
failure. This limitation is preserved in the paper rather than hidden behind
the narrower passing gates.

The EFI image is written to `build/esp/EFI/BOOT/BOOTX64.EFI`. Run `make help`
for the full target and environment-variable list.

## Repository guide

- [`boot/efi`](https://github.com/gmkurtzer/ginux/blob/main/boot/efi) builds the UEFI entry and unified image.
- [`kernel`](https://github.com/gmkurtzer/ginux/blob/main/kernel) contains the kernel, Linux personality, executable
  loaders, and QEMU hardware paths.
- [`control-plane/runtime`](https://github.com/gmkurtzer/ginux/blob/main/control-plane/runtime) contains the embedded
  ring-3 controller.
- [`services`](https://github.com/gmkurtzer/ginux/blob/main/services) contains isol
signa1140
🟧 echo.github ⭐The repository README is the original project artifact and directly describes Ginux, its development, and the research report. It says: “OveGregory M. Kurtzer——
🟧 hnShow HN: A kernel written in Rust that can boot Ubuntu with Plasma desktopozkl20
🟧 hnGinux: A New Kernel Runs Linux Userspace, Made via Human-Directed AI EngineeringForHackernews3263
🟧 hnGreg Kurtzer's Ginux is now a userspace kerneld3Xt3r12385

Interpretation history

Decision trace