Hacker News new | past | comments | ask | show | jobs | submit login




I think there are many niche BSD derivatives that focus on minimal footprint and small machines.

The other day I was looking at RetroBSD for example.


yeah, there was also LiteBSD https://github.com/sergev/LiteBSD

but Retro is the more active project https://github.com/RetroBSD/retrobsd


These are about twenty years old (Linux 2.2 and FreeBSD 3). While they almost certainly still work on modern hardware thanks to the backwards compatibility of the PC platform, can it be done with newer software?


OpenWrt run's on 4mb flash / 32mb memory devices. If you disable IPv6 / Wireless drivers and tune some more knobs you get probably something that boots a recent 4.14 kernel / musl / busybox from a 3mb squashfs and runs in 16mb memory.


Strongly trimmed linux kernel + minimal userspace based on klibc will certainly fit on 1.44MB. The dash (x86) built with klibc occupies something with <50kB in memory, below 100kB on disk.

I recommend reviewing this thread. https://www.mail-archive.com/linux-kernel@vger.kernel.org/ms...


Alpine is probably the smallest "modern" Linux distro. 5MB, so 4 floppies worth.


That 5MB figure doesn't include the kernel. Usually when people refer to Alpine being only 5MB they're talking about running it inside of a container/chroot.


not sure of the image size, but 'nanobsd' is still supported as I understand it, similar projects exist elswhere

https://www.freebsd.org/cgi/man.cgi?nanobsd%288%29

see also:

https://openwrt.org/ https://www.nmedia.net/flashrd/

etc.


You could just get the source and recompile it, but I don't see the point. If it works, it works.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: