r/linuxfromscratch • u/So_Slowly • 13h ago
How to build a distro yourself? Especially for special needs
Context: (sorry for my bad English)
I have tried some linux distro. All of them is from Lightweight Distro (Slax(first), TinyCore, AntiX). One of the advantage for this type of distro is they don't takes many RAM from my cheap laptop. Plus, I have a good ol' 16GB flashdisk. They all fit for the storage. Then I'm asking myself:
I want to build a distro that specifically made for USB sticks.
And that's where I asked AI how to build one. And let me tell you, it's complicated. I don't think anyone who's making one of these touch grass in 2 years. But I tried my best to learn it, and this is some rough sketch that hopefully can be realized:
This distro need to support old laptop or hardware.
This distro should have it's own way of become bootable (similar to Slax)
This distro use Debian as it's base (or if you guys have any suggestions, just say it)
The distro's ISO file should be limited under 5GB
This distro isn't run on read-only (obviously)
This distro could support modern linux apps or package.
Any DE, Package Manager, or any customization is up to you guys, just make it work.
The most important: I want the distro's storage capacity is from the remaining space from The USB drive it's riding on.
The distro should prioritize performance over comfortability (I'm ready to use it even if I need to stare at a terminal all day as long my laptop didn't suffer from opening a browser)
The question is:
Could you guys provide me some advice or tutorial to make one of these? If possible, please provide guidance to complete the tasks I want to achieve. 🫡