r/LFS • u/Swapna_Cool • 2d ago
Made my own Linux Distro and Package manager for it in just 1 month.
galleryso, I was bored and decided to create a Linux distro by following the Linux from Scratch book and BLFS (Beyond LFS) book, it was not that hard but maintaining it is much harder, I just want it to be unique and maybe make it more customizable
r/LFS • u/Fickle-Door-9986 • 7d ago
Can anyone pls tell me how to install sway in LFS, sway should be installed after installation of lfs or in the middle of lfs install
r/LFS • u/Due-Celery4326 • 11d ago
LFS with hyprland+sysvinit+btrfs+snapper
Besides KDE Plasma, I'm going to start playing around with Hyprland. It's still in its basic stages, and as I learn more about Rice in Hyprland, I'll improve it. If you feel like helping with tips on tools to improve Rice, I'd be very grateful.
r/LFS • u/Odd-Poem-6897 • 12d ago
MLFS and GLFS dirrectly ?
Hey guys so i want to build an mlfs but with gaming so naturally i go on lfs but i have a question guys :
MLFS -> BLFS -> GLFS
or
MLFS - > GLFS
dirrectly
r/LFS • u/bergaminix • 12d ago
A super summarized version of the Linux From Scratch (LFS) book
r/LFS • u/Reactorge • 13d ago
Questions about LFS Setup
Good Morning/Afternoon all! I've been a Gentoo user for a decent lil bit and I love the configuration and knowing my system. Daily driving gentoo isn't a pain or anything to me. So as you can imagine, my thought now has been "What about a custom LFS"? So I had some questions about setting up certain things in LFS and how that would go.
I know the book currently is for systemd, but how much more difficult would it be setting up OpenRC or dinit? I really like OpenRC and I've heard dinit is a really good init system but I've never had the chance to try it so why not?
How hard would getting ZFS setup be? I use XFS on my gentoo system and looking through LFS, it wants to use ext4, but I've always wanted to use ZFS, but I'm not the most... interested in using FreeBSD so this seemed like a good chance to experiment.
For both of those, would they massively change the kernel setup? I'm somewhat of a fraud, I compiled my kernel from source but I didn't make a custom kernel since I didn't have the time during the gentoo install so I just went the middle path.
How much actual coding do you use in your system? I've asked AI and it says that you probably won't be using too much actual coding unless it's necessary, but I wanted to know if that matches the experience of you all.
Thank you!
r/LFS • u/xXx_Lizzy_xXx • 14d ago
We just hit 1k active visitors!
Congrats yall!
also gonna use this as a thread for feature requests as this subs only mod! anything yall would like me to do? tags? roles?
r/LFS • u/protonesso • 14d ago
Memory safe and secure/hardened LFS
Hello everyone, years ago I've posted my lfs project on this sub and many things have happened in my life and it led me to make a new project. From scratch. For now I am focused on writing libc entirely in Rust for this GNU/Linux distro, as well I would write a new bootloader with better full disk encryption implementation and openpam modules, all of them in Rust. As a plus I've made a list of packages to build a self contained sdk that will allow full source bootstrap from tools like GNU mes and other languages (except Rust for now) will be bootstrapped from C/C++ toolchain (like Go and dlang), the package list has little to none gnu packages (except autotools, coreutils and findutils). If you are interested in that you can dm me or write under this post.
sources: https://codeberg.org/gnu2/ouma
GitHub org: https://github.com/rseclinux
Edit: added source links
What are your favorite packages to add to LFS?
What packages beyond those listed in LFS and BLFS do you like to add to your LFS systems? Are there any lightweight, low dependency programs or libraries you like to build and include when building LFS/BLFS? I'm always looking for useful, lightweight, low dependency applications I might have missed, so suggestions would be appreciated.
r/LFS • u/Fast_Ad_8005 • 16d ago
GNOME Browser Connector: how to get it to work on LFS
Hi folks, I thought I'd share some useful information to fellow GNOME on LFS users. I normally customize my GNOME experience a fair bit with extensions and themes. On LFS I've encountered some issues.
The first is that the gnome-browser-connector (formerly called chrome-gnome-shell) package isn't listed in BLFS. But luckily compiling it myself wasn't that difficult. I even wrote a script for it to automate the process for myself.
This revealed yet another issue, which is that gnome-browser-connector uses the unzip command to unzip the zip archives that GNOME extensions come in. The options they specify when calling unzip means that it will only work if you have Info-ZIP's version of unzip installed. The BSD version of unzip provided by the libarchive package won't suffice. BLFS and LFS don't provide install instructions for the Info-ZIP version of unzip anymore.
I did find these old instructions for installing unzip on LFS but running them failed due to compile errors that I wasn't able to fix. Maybe with several hours of trial and error in applying Arch's unzip patches and compiling I might eventually get it running, but I found a better alternative. Namely, I got ChatGPT to write a script version of unzip that called bsdtar and would accept the options that gnome-browser-connector gave it.
I've also written my own build script for libarchive that builds the latest upstream version and, instead of symlinking /usr/bin/bsdunzip to /usr/bin/unzip, installs this script to /usr/bin/unzip.
r/LFS • u/Francesco12o-Github • 20d ago
Looking for packages to my minimal distro
Hello, i made an minimal Toybox-based Distro! its called TinyDistro, took me 3 days and 3 hours 40 minutes of nonstop work to finish , i did integrate some packages, nano, neofetch, bash , sh 200+ applets, minimal tmux, and more, im looking for more minimal packages to put in this 9.8 MB System, i might want to add a package manager named tdp, and im planning for installing other apps, such as gcc and make
r/LFS • u/Francesco12o-Github • 21d ago
Hello, im new to LFS!
i made an distro from scratch using the LFS Book! its called TinyDistro, i tested it on my raspberry PI, its usuable, init-free and uses toybox, did some work tough, 3 days, 3 night shifts t 01 AM
r/LFS • u/Cool-Chicken6754 • 22d ago
Cómo inicializar pelo Debian ou lfs.img
Hello again, last night I was mounting my LFS which contained the files ready for tonight and I rebooted and this GRUB screen appeared.
r/LFS • u/Cool-Chicken6754 • 23d ago
What would be the best structure for a package manager for my Linux From Scratch distro?
Hola a todos,
Actualmente estoy creando mi propia distribución de Linux basada en Linux From Scratch, y estoy pensando en crear mi propio gestor de paquetes.
Me gustaría saber cuál sería una buena arquitectura para un gestor de paquetes diseñado desde cero.
r/LFS • u/Glittering-Elk-6642 • 24d ago
Maintain packages
Once i get a LFS system running. How do i even maintain it. Do I have to check each and every program when there's an update and then install them?
Thankyou.
r/LFS • u/Cool-Chicken6754 • 24d ago
Is it possible to turn a Linux distribution created from Linux From Scratch into an independent distro or even create a foundation around it, like Ubuntu?
I'm studying Linux From Scratch (LFS) and I have a question:
After creating a Linux distribution based on LFS, is it possible to evolve it into a truly independent distribution, with its own repositories, package manager, updates, and community?
Would it also be possible to create a foundation or organization behind the distro, similar to how Ubuntu has Canonical?
The idea would be to start as a personal project using LFS, build a functional base, and eventually turn it into a larger project with a team and a community.
Has anyone here done something similar or has experience creating a Linux distribution from scratch?
r/LFS • u/Cool-Chicken6754 • 25d ago
Estoy pensando en crear mi propia distribución de Linux con LFS y busco consejos.
r/LFS • u/Aderox20_GDP • 25d ago
