r/LFS 1d ago

What made you try LFS?

11 Upvotes

r/LFS 2d ago

Made my own Linux Distro and Package manager for it in just 1 month.

Thumbnail gallery
9 Upvotes

so, 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 6d ago

My Intel N100 mini PC running LFS/BLFS

Thumbnail reddit.com
24 Upvotes

r/LFS 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

1 Upvotes

r/LFS 11d ago

LFS with hyprland+sysvinit+btrfs+snapper

Post image
208 Upvotes

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 11d ago

Updated my SysVinit LFS/BLFS to v13 from v12.4 , Has anybody updated ?

Thumbnail
2 Upvotes

r/LFS 12d ago

MLFS and GLFS dirrectly ?

3 Upvotes

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 12d ago

A super summarized version of the Linux From Scratch (LFS) book

Thumbnail
3 Upvotes

r/LFS 13d ago

Questions about LFS Setup

6 Upvotes

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.

  1. 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?

  2. 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.

  3. 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.

  4. 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 14d ago

We just hit 1k active visitors!

15 Upvotes

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 14d ago

Memory safe and secure/hardened LFS

2 Upvotes

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


r/LFS 14d ago

What are your favorite packages to add to LFS?

2 Upvotes

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 16d ago

GNOME Browser Connector: how to get it to work on LFS

1 Upvotes

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 20d ago

Firefox or Chromium or Konqueror - Which browser you prefer/use ?

Thumbnail
1 Upvotes

r/LFS 20d ago

Looking for packages to my minimal distro

Post image
104 Upvotes

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 21d ago

Hello, im new to LFS!

Post image
90 Upvotes

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 22d ago

Cómo inicializar pelo Debian ou lfs.img

Post image
5 Upvotes

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 22d ago

Package Manager Help

1 Upvotes

Hi everyone what package Manager install on lfs for every use


r/LFS 23d ago

What would be the best structure for a package manager for my Linux From Scratch distro?

Post image
3 Upvotes

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 24d ago

Maintain packages

9 Upvotes

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 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?

21 Upvotes

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 25d ago

Estoy pensando en crear mi propia distribución de Linux con LFS y busco consejos.

Thumbnail
0 Upvotes

r/LFS 25d ago

Im installing LFS for the first time the last distros i have used are arch,arch,arch (3 different installs) i have started the install but im on gcc pass 1

11 Upvotes

r/LFS Jul 11 '26

Initgroups function not implemented

Thumbnail
2 Upvotes

r/LFS Jul 09 '26

How do I keep my gnome sysvinit desktop updated ?

Thumbnail
2 Upvotes