Hacker News
Making a micro Linux distro (2023)
termie
|next
[-]
sigwinch
|next
|previous
[-]
Levitating
|next
|previous
[-]
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.
EvanAnderson
|next
|previous
[-]
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.
reactordev
|root
|parent
[-]
mouse_
|next
|previous
[-]
pluto_modadic
|next
|previous
[-]
c0balt
|root
|parent
|next
[-]
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
ratrocket
|root
|parent
[-]
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 :)
trelane
|next
|previous
[-]
laweijfmvo
|root
|parent
[-]
trelane
|root
|parent
[-]
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.
synergy20
|next
|previous
[-]
ruguo
|next
|previous
[-]
keyle
|next
|previous
[-]
throwaway8902
|root
|parent
|next
[-]
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…
webdevver
|root
|parent
|next
|previous
[-]
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.
rzzzt
|root
|parent
[-]
u-root is mentioned in the article -- I used buildroot and busybox for embedded Linux development while in university: https://buildroot.org/
b00ty4breakfast
|root
|parent
|previous
[-]
tombert
|root
|parent
|next
[-]
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.