MNIX: a micro POSIX system for retro PCs, and later for servers

MNIX is a small kernel that keeps its drivers out of the kernel and speaks the Linux system call interface, so unmodified Linux programs run on it: GCC, git, ssh. The kernel, the standard drivers, a TCP/IP stack, the shell, user accounts and the package manager fit on one 1.44 MB floppy, with room to spare. It runs on i386 and x86_64 PCs from the 486 era onwards, and on 64-bit ARM (QEMU virt).

We have been working on MNIX since 2023. It is closed source for now, but free to use.

Download

Current version: 0.3, 2026-11-28 (what is new).

FileWhat
mnix-x86_64.imgboot floppy, 64-bit PC (1.44 MB)
mnix-i386.imgboot floppy, 32-bit PC, 486 and up (1.44 MB)
mnix-aarch64-kernel.binARM64 kernel for QEMU virt
mnix-aarch64-initrd.tarARM64 initrd
mnix-aarch64-flash.imgARM64 flash bank, holds the trust store (64 MB, mostly empty)
SHA256SUMSchecksums of all of the above

Try it in QEMU (the NE2000 card gives barn a network):

qemu-system-x86_64 -m 64 -vga std \
  -drive file=mnix-x86_64.img,format=raw,if=floppy \
  -netdev user,id=net0 -device ne2k_isa,netdev=net0,iobase=0x300,irq=9

Choose a passphrase, approve the drivers, log in as root. Everything after that, from installing onto a hard disk to your own account, sudo, packages and ssh keys, is on the setup page.

What is in 0.3

All changes: version history. Packages: barn.

Where MNIX comes from

Unix (1969, Ken Thompson and Dennis Ritchie, Bell Labs). A monolithic kernel: drivers, filesystems and the scheduler share one address space. That keeps it simple and fast, but a bad driver takes the whole machine down. Its ideas still shape everything here: small tools, files and pipes, users and permissions, and the interface that POSIX later wrote down.

MINIX (1987, Andrew S. Tanenbaum). A teaching system written for a textbook, built as a microkernel. Drivers and servers run as separate processes that talk through messages. MINIX 3 (2005) turned that into a reliability argument: a "reincarnation server" restarts drivers that crash.

Linux (1991, Linus Torvalds). Started on MINIX, but with a monolithic kernel. In 1992 Tanenbaum and Torvalds argued in public about whether that design was "obsolete". The practical answer was the Linux system call interface. Almost all free software is built against it today.

MNIX (since 2023) takes a side in that old debate and keeps the answer that won in practice. The structure follows MINIX: drivers are user processes, and a driver crash leaves the kernel running. The kernel takes the screen back and restarts the driver. To programs it looks like Linux: same system call numbers and structures, so BusyBox, GCC, git and ssh run unmodified. On top of that, two things we have not seen together in any of the three:

UnixMINIX 3LinuxMNIX
Kernelmonolithicmicrokernelmonolithic, modularmicro, drivers outside
Driver crashsystem downdriver restartedoops or panicdriver restarted
New driverroot installs itroot installs itroot loads a moduleroot offers it, you approve its fingerprint
Runs Linux binariesnonoyesyes

Contact

Swen Kalski, maintainer
el_dockerr -𝚊𝚝- protonmail.com


MNIX is closed source for now and free to use, without warranty. The packages in barn are free software, the same programs as upstream, repackaged: BusyBox, GCC and git under the GPL, OpenSSH, curl, musl, OpenSSL and the libraries under their own licenses; git, OpenSSH and their libraries are Alpine Linux's builds.