Skip to content
Hexagonix PT

Hexagonix

root@Hexagonix:~#

A 32-bit Unix-like operating system, written from scratch in x86 Assembly for the PC architecture.

Hexagon booting up to the login prompt The shell with ls and cowsay The Lyoko IDE

Boot, the default shell and the Lyoko IDE in Hexagonix 1.0. More screens in the gallery.

What is Hexagonix

A complete operating system, from the boot loader to the applications, written by hand in Assembly.

It runs on Hexagon, a simple and lightweight monolithic kernel with preemptive multitasking, a virtual file system, users and permissions. Alongside it come the HBoot boot loader, shells, Unix-style utilities, graphical applications and the libraries used to write all of them.

The architecture is inspired by Version 7 UNIX, without pursuing compatibility with it. The goal is not a production system, but a simple and well documented one, useful for learning how an operating system works on the inside. More about the project.

Highlights

Preemptive multitasking

Round-robin scheduler, a stack for each process and PIDs that are never reused.

Files and directories

A virtual file system, FAT16B with read and write support and Unix-style paths.

Graphics and terminals

VESA VBE in several resolutions, text mode, replaceable fonts and virtual terminals.

Self-hosting

fasmX, which builds Hexagonix itself, runs inside the system.

All features

Components

From the boot loader to the applications, each part of the system has its own repository.

1st stageSaturno

Takes control from the BIOS and looks for the second boot stage on the volume, using its own FAT16 read driver.

hexagonix/Saturno
2nd stageHBoot

Prepares the environment for the kernel. It checks the available disk drives and the amount of memory, plays the boot tone and loads Hexagon.

Pressing F8 in the first seconds lets you pass parameters to the kernel, load modules in the HBoot format or start another system found on the volume.

hexagonix/HBoot
kernelHexagon

A Unix-like monolithic kernel, running in 32-bit protected mode and written from scratch. It provides preemptive multitasking with a round-robin scheduler, virtual terminals, per-process environment variables and an API reached through a system call.

It runs programs in HAPP, an executable format made for it. It is the base of Hexagonix, but independent from it.

hexagonix/Hexagon
Unix userlandUtilities

The base utilities of the system, with usage and syntax close to Unix, including userland startup and login.

  • init
  • login
  • sh
  • ls
  • cat
  • cp
  • mv
  • rm
  • mkdir
  • touch
  • ps
  • top
  • kill
  • man
  • su
  • passwd
  • adduser
  • uname
  • whoami
  • shutdown

There are also tools of its own, such as fnt, lshapp and lshmod, and fasmX, a port of the flat assembler that builds programs inside the system itself.

hexagonix/unix-apps
graphical userlandAndromeda

Applications that go beyond the Unix philosophy, built on the same base.

  • config
  • Quartzo
  • Lyoko
  • calculator
  • piano
  • serial
  • ash
hexagonix/andromeda-apps
developmentLibraries and fonts

libasm gathers the functions applications use to print text, do math, open files and devices and draw interfaces. The graphical fonts of the system are bitmaps written in Assembly.

hexagonix/lib · hexagonix/xfnt

More about the project

Contributors

Hexagonix is written and maintained by:

Felipe Miguel Nery Lunkes

  • Senior backend developer
  • x86 Assembly, Java, Rust, C and Python
  • Assembly and Unix lover

lunx.me · GitHub · LinkedIn

Want to be listed here? See how to contribute.

Hexagonix 1.0

Released on Aug 15, 2026. Hexagonix 1.0 is the most complete and polished version to date, and it is also the first fully functional version of the system.

Components updated in this release:

  • Hexagon kernel v1.7.0
  • HBoot v0.22.0
  • Unix utilities (UnixUtils and CoreUtils)
  • Andromeda Apps (Hexagonix-Andromeda environment)
  • Scripts

Full changelog · Older releases

Get started

Download hexagonix.img from the releases page and boot it in QEMU:

$ qemu-system-i386 -hda hexagonix.img -m 32

Log in as root with password root. For VirtualBox or a real machine, see Download.