Skip to content

Release v0.1.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 19:03
· 11 commits to main since this release

Super Minimal Linux Libre v0.1.0

Minimal GNU/Linux system: Linux-libre kernel, GNU userland, glibc, runit.
Both images boot straight to a root shell on the serial console and
configure eth0 by DHCP.

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=net0

Add -accel kvm -cpu host (Linux, same architecture) or -accel hvf -cpu host
(macOS, arm64) for hardware acceleration. Quit with Ctrl-a x.

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.1.0.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 (b8c60bc)
 e2a405981ff5441dcfb217797699c94968218aca sources/coreutils (e2a4059)
 243ad84ac67a87d631ff7eb83b2eed2727acebb5 sources/dhcpcd (243ad84)
 b1a657b85a7142b146b004a0db6a03dc6374b164 sources/diffutils (b1a657b)
 c67264238d9487d5313a131674cd7a01ca299927 sources/findutils (c672642)
 52af7f12758da12db0ddbdb117a84e0685cd2f72 sources/gawk (52af7f1)
 added3409c778144f5f80e7ec1b7b7a7847272c0 sources/gnulib (added34)
 f951840aa510277fe48e5f2579a98f517246ea86 sources/grep (f951840)
 0ff67062bc123d07dfb1f05c78231107aa9d1869 sources/gzip (0ff6706)
 d7d8203844bad5f9d8a6f3708c9b39141369aa51 sources/iproute2 (d7d8203)
 3e85aed47058aaeb9916cf756f2c2cbd41e32589 sources/linux-libre (3e85aed47)
 f46b2f7929cdfe2913ed0a7f585b09d6adbf994e sources/procps-ng (f46b2f7)
 0e52a89654d375a8d634c5d9d18ab29fdb666976 sources/runit (0e52a89)
 7e2e575a36bc88c0f3f3d6d8083c5f5b0ed44009 sources/sed (7e2e575)
 e545d446dfe6564265cdf4186641ee76f4acc7fa sources/tar (e545d44)
 dbcc687f6ab1568982cdf3fe391c0beb818b7e28 sources/util-linux (dbcc687)
 d22ff1c955ff87e8273210eae125aab0e85b6c30 sources/vim (d22ff1c)