A RAM-based Mini-Distro
MM-Linux is ~10M compressed, with X and a window manager.
It loads and runs completely in memory.
Everything is 64-bit.
Everything not X-related is statically linked.
Boots from Grub to X in 10 seconds and halts in 3 seconds
Here it is: mm-linux-1.0.tar.gz
The tarball includes the kernel, initramfs, and a bootloader example.
If you just want the initramfs or my statically-linked binaries, you can browse here: MM-Linux/
And here is a build without X: vmlinuz-mm-linux-static-no-x
With this one everything is statically linked so no library files are included.
Also, the kernel has the initramfs built inline so there is only a single file (~5MB).
I’ve attempted to include source code links for all the software used.
What is included
- Kernel 3.4.0 – kernel.org
- Busybox 1.20.2 (S) – busybox.net
- Dropbear 2012.55 (S) – matt.ucc.asn.au/dropbear/
- Parted 2.4 (S) – gnu.org/software/parted/
- PCIutils 3.1.9 (S) – mj.ucw.cz/sw/pciutils/
- Tcpdump 4.3.0 (S) – tcpdump.org
- Ethtool 3.4.2 (S) – kernel.org/pub/software/network/ethtool/
- Netperf 2.6.0 (S) – netperf.org
- Ms-sys 2.2.1 (S) – ms-sys.sourceforge.net
- File 5.11 (S) – ftp.astron.com/pub/file/
- Xorg X11R7.7 – x.org
- JWM 2.1.0 – joewing.net/programs/jwm/
- Rxvt 2.7.10 – rxvt.sourceforge.net
- Misc (tar, cpio, gzip, etc)
* (S) indicates software I’ve statically linked
- System rescue
- Simple server (httpd, sshd, telnetd, ftpd, tftpd, etc)
- Network performance testing (netperf, pktgen, tcpdump)
Sites I found Useful
- http://www.linuxfromscratch.org – LFS: detailed walkthrough for building a complete distro
- http://www.busybox.net – BusyBox: Everybody knows this amazing software. A kernel and BusyBox is all you really need 🙂