Repository navigation
Release v0.3.2
Super Minimal Linux Libre v0.3.2
Minimal GNU/Linux system: Linux-libre kernel, GNU userland, glibc, runit.
Both images boot straight to a root shell on the serial console,
configure eth0 by DHCP and run an OpenSSH server (root, key login only).
Run it
With this repository (UTM on Apple Silicon, or QEMU anywhere): the VM
scripts download this release by default.
make utm-create utm-start utm-console # macOS + UTM, arm64
make qemu-start qemu-console # QEMU, arm64 (QEMU_ARCH=x86_64 for the other)With plain QEMU (unxz the images first, or use the uncompressed ones):
# x86_64 (q35, virtio-pci)
qemu-system-x86_64 -M q35 -m 256 -nographic -nodefaults -serial mon:stdio \
-kernel linux-libre-vmlinuz-x86_64 -append "root=/dev/vda rw console=ttyS0" \
-drive file=linux-libre-vm-x86_64.img,format=raw,if=none,id=drive0 \
-device virtio-blk-pci,drive=drive0 \
-netdev user,id=net0 -device virtio-net-pci,netdev=net0
# arm64 (virt, virtio-mmio: the kernel has no PCI)
qemu-system-aarch64 -M virt -cpu cortex-a57 -m 256 -nographic -nodefaults -serial mon:stdio \
-kernel linux-libre-vmlinuz-arm64 -append "root=/dev/vda rw console=ttyAMA0" \
-drive file=linux-libre-vm-arm64.img,format=raw,if=none,id=drive0 \
-device virtio-blk-device,drive=drive0 \
-netdev user,id=net0 -device virtio-net-device,netdev=net0Add -accel kvm -cpu host (Linux, same architecture) or -accel hvf -cpu host
(macOS, arm64) for hardware acceleration. Quit with Ctrl-a x.
SSH: the images contain no keys and no passwords. Add your public key to
/root/.ssh/authorized_keys on the serial console, forward a port
(-netdev user,id=net0,hostfwd=tcp:127.0.0.1:2222-:22, or SSH_PORT=2222
with the VM scripts), then ssh -p 2222 root@127.0.0.1.
Assets
| File | Description |
|---|---|
linux-libre-vm-{x86_64,arm64}.img.xz |
root filesystem: raw ext4, no partition table (xz) |
linux-libre-vm-{x86_64,arm64}.img |
the same, uncompressed |
linux-libre-vmlinuz-{x86_64,arm64} |
kernel (x86_64 bzImage, arm64 Image.gz), booted directly |
linux-libre-{x86_64,arm64}.config |
kernel configuration |
linux-libre-{x86_64,arm64}.System.map |
kernel symbol map (for debugging) |
MANIFEST-{x86_64,arm64}.txt |
upstream versions, toolchain, host libraries, file list |
linux-libre-vm-src-v0.3.2.tar.xz |
complete corresponding source: all upstream sources, patches and build system |
SHA256SUMS |
checksums of all assets |
glibc, libgcc and the other runtime libraries are copied from the Ubuntu
24.04 build host; MANIFEST-*.txt lists their Ubuntu packages and
versions, whose source is available from Ubuntu.
Upstream versions
-b8c60bc9ca365f8261fa97900b6fa939f6ebc303 sources/bash
-e2a405981ff5441dcfb217797699c94968218aca sources/coreutils
-243ad84ac67a87d631ff7eb83b2eed2727acebb5 sources/dhcpcd
-b1a657b85a7142b146b004a0db6a03dc6374b164 sources/diffutils
-c67264238d9487d5313a131674cd7a01ca299927 sources/findutils
-52af7f12758da12db0ddbdb117a84e0685cd2f72 sources/gawk
-added3409c778144f5f80e7ec1b7b7a7847272c0 sources/gnulib
-f951840aa510277fe48e5f2579a98f517246ea86 sources/grep
-0ff67062bc123d07dfb1f05c78231107aa9d1869 sources/gzip
-d7d8203844bad5f9d8a6f3708c9b39141369aa51 sources/iproute2
-db70b42bd7b2a5b00a8580c8dec0aa66791c950a sources/libxcrypt
-3e85aed47058aaeb9916cf756f2c2cbd41e32589 sources/linux-libre
-0096bd402c4a9c8f39bd7ed266e1b8920327e4d8 sources/ncurses
-a8c72b842423f0774f542d3c2197247c3dd28d74 sources/openssh
-c8bd5a57108599ac650bbae77fcabe3109dab2e8 sources/openssl
-f46b2f7929cdfe2913ed0a7f585b09d6adbf994e sources/procps-ng
-0e52a89654d375a8d634c5d9d18ab29fdb666976 sources/runit
-7e2e575a36bc88c0f3f3d6d8083c5f5b0ed44009 sources/sed
-e545d446dfe6564265cdf4186641ee76f4acc7fa sources/tar
-dbcc687f6ab1568982cdf3fe391c0beb818b7e28 sources/util-linux
-d22ff1c955ff87e8273210eae125aab0e85b6c30 sources/vim