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.
Current version: 0.3, 2026-11-28 (what is new).
| File | What |
|---|---|
| mnix-x86_64.img | boot floppy, 64-bit PC (1.44 MB) |
| mnix-i386.img | boot floppy, 32-bit PC, 486 and up (1.44 MB) |
| mnix-aarch64-kernel.bin | ARM64 kernel for QEMU virt |
| mnix-aarch64-initrd.tar | ARM64 initrd |
| mnix-aarch64-flash.img | ARM64 flash bank, holds the trust store (64 MB, mostly empty) |
| SHA256SUMS | checksums 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.
/etc/passwd and
/etc/shadow, sudo and su. The kernel
enforces Unix permissions everywhere; only root changes the system,
loads drivers or installs packages./etc/init.conf. Edit it as root on an
installed system and init uses it at the next boot, new drivers
included (you still approve each one).sudo barn install git.All changes: version history. Packages: barn.
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:
| Unix | MINIX 3 | Linux | MNIX | |
|---|---|---|---|---|
| Kernel | monolithic | microkernel | monolithic, modular | micro, drivers outside |
| Driver crash | system down | driver restarted | oops or panic | driver restarted |
| New driver | root installs it | root installs it | root loads a module | root offers it, you approve its fingerprint |
| Runs Linux binaries | no | no | yes | yes |
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.