Making a Micro Linux Distro (2023)
Posted3 months agoActive2 months ago
popovicu.comTechstory
excitedpositive
Debate
20/100
LinuxMicro DistroEmbedded Systems
Key topics
Linux
Micro Distro
Embedded Systems
The post describes the process of creating a micro Linux distribution, sparking discussion on its applications, debugging, and comparison to other similar projects.
Snapshot generated from the HN discussion
Discussion Activity
Active discussionFirst comment
38m
Peak period
17
0-3h
Avg / period
4.1
Comment distribution29 data points
Loading chart...
Based on 29 loaded comments
Key moments
- 01Story posted
Oct 25, 2025 at 9:01 AM EDT
3 months ago
Step 01 - 02First comment
Oct 25, 2025 at 9:39 AM EDT
38m after posting
Step 02 - 03Peak activity
17 comments in 0-3h
Hottest window of the conversation
Step 03 - 04Latest activity
Oct 27, 2025 at 12:24 AM EDT
2 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45703556Type: storyLast synced: 11/20/2025, 2:38:27 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
For a newbie (looks to be the intended audience of the article), this gives them a working foundation to start from. They can get progressively more involved with whatever part of Linux they desire, as their experience grows.
https://www.linuxfromscratch.org
i think i disabled everything i could think of in the kernel (including filesystem support, which was quickly rectified) for a truly 'minimalist' experience.
it ofcourse didnt do much but it was very responsive.
u-root is mentioned in the article -- I used buildroot and busybox for embedded Linux development while in university: https://buildroot.org/
It was kind of fun, but I have absolutely no desire to do it again. I tried running it as my "full time" distro but what I ended up with was something extremely fragile and decidedly not fun for me to use.
Nowadays I run a NixOS Minimal install, which is about the level of operating system that I like to work in.
This tutorial gets straight to the heart of the matter. Get a system that boots asap and then add complexity as you discover the shortcomings.
This seems like a much better pedagogical approach for someone not sure how the kernel works or what initramfs is, etc…
Charmingly, the "modern" process doesn't seem wholly dissimilar. I would echo the comments of one of the sibling comments here: Targeting this to RPi would be fun and educational. Maybe I'll give it a try.
The latter can be done by booting into another distro and kexec'ing into your own kernel and performing the Installation afterward from memory. See also nixos-anywhere for a practical implementation of this
In the past I've used a script called "alpine-make-vm-image" to run alpine images in digital ocean.
https://github.com/alpinelinux/alpine-make-vm-image
(Maybe that script does some magic to make booting a droplet directly from the image possible. On that I plead ignorance :)
I have my own toy init, shell and other utilities. The GNU coreutils are included for debugging.
My current focus is on drawing windows onto the framebuffer.
https://news.ycombinator.com/item?id=45533804