r/linuxfromscratch • • Jul 15 '26

What is the difference between LFS and absolutely nothing?

6 Upvotes

What I mean by "nothing" is absolutely nothing installed. It would boot into the BIOS and display an error, or simply just have a manual type in terminal, but I'm not sure what would happen if a PC booted into NO OS. What is the difference between LFS and an empty terminal? What simple tools does LFS provide, other than a book to help you get started?


r/linuxfromscratch • • Jul 14 '26

Help out a fellow lfs user

5 Upvotes

So i was around halfway through blfs, dealing with the audio drivers and i ran into many issues, like my physical sound card not being detected despite having looked through all the audio settings have enabling ones i need so after 2 recompilations, i decided to grab my config.gz from arch and use it which somehow miraculously still didn't work but I made the stupid mistake of not backing up my previous kernel image and completely overwriting it. Now it's stuck at a black screen and can't even get past grub so would some please kindly share their config.gz. TLDR i fucked up my kernel and i'm asking for someone else's config.gz


r/linuxfromscratch • • Jul 13 '26

I finally released the source code for Depot, my package manager for Vertex Linux

15 Upvotes

After working on it privately for a while, I’ve finally released the source code for Depot, the package manager I’m building for my Linux-from-scratch distribution, Vertex Linux.

Depot is written in Rust and is designed around building and managing packages without depending on an existing distribution’s package ecosystem. It uses TOML based package recipes, so I dont have to write full scripts.

The project is still under active development, so there are definitely incomplete parts. I’m releasing it now because I think having other people inspect the implementation, test it, and point out questionable design decisions will be more useful than continuing to develop it entirely in private.

Repository: https://github.com/SFGOS/Depot

I’d especially appreciate feedback from anyone who has written a package manager, or just an LFS system in general. (hell even gentoo)


r/linuxfromscratch • • Jul 12 '26

what DE/WM do you use for LFS?

13 Upvotes

i wanna know what you consider is the best DE/WM and why?


r/linuxfromscratch • • Jul 12 '26

Linux From Scratch: almost five months on

Thumbnail gallery
38 Upvotes

r/linuxfromscratch • • Jul 11 '26

I actually did it.

30 Upvotes

r/linuxfromscratch • • Jul 11 '26

Initgroups function not implemented

2 Upvotes

I have finished the lfs book, but when I try to login, it says "function not implemented"


r/linuxfromscratch • • Jul 09 '26

Customized LFS build

Post image
23 Upvotes

I’m so very very happy with the build I have gotten done so far building it on VBox, but it boots on bare-metal already too


r/linuxfromscratch • • Jul 08 '26

My daily use system with gnome, sysvinit, zram,btrfs

Post image
27 Upvotes

Now I understand many things about large distros. It's much harder to get rid of systemd in Gnome; it was a lot of work and a headache. Some Gnome functions are already directly using systemd libraries. Honestly, I almost gave up when one last attempt worked and I was encouraged to finish/polish it, but the result was incredibly satisfactory. I can't believe it; I couldn't use Gnome in large distros because of limited memory, only 5GB. Gnome in large distros already started with more than 1GB.And I don't know if the fact that sysvinit also helped, I'll do the same polishing on KDE Plasma later to see what I can achieve in terms of lightness and performance.


r/linuxfromscratch • • Jul 09 '26

Dpms 1.1.2 is out

Thumbnail reddit.com
0 Upvotes

r/linuxfromscratch • • Jul 08 '26

Release notes for 1.1.2 or 1.12

Thumbnail reddit.com
0 Upvotes

r/linuxfromscratch • • Jul 03 '26

Any dedicated package manager for LFS?

3 Upvotes

Ive been wanting to try Linux from scratch lately but not having a stable package manager always pulls me back, and I want to know if are there any "universal" package managers or even dedicated to LFS directly.


r/linuxfromscratch • • Jul 02 '26

Is it possible to build a functional KDE plasma in an LFS system? Yes.

Thumbnail
gallery
88 Upvotes

r/linuxfromscratch • • Jul 01 '26

I built my first package manager in Rust while building my own Linux distro from scratch (WIP)

20 Upvotes

Hey everyone!

A few months ago I started building my own Linux distribution from scratch using LFS/BLFS. After manually compiling everything (GCC, glibc, systemd, XFCE, etc.), I realized something:

LFS doesn't really give you a package manager. You're expected to keep building and installing everything manually.

Now, I know that's kind of the whole point of LFS. It's meant to teach you how Linux actually works by making you do everything yourself, and I think that's exactly how it should be. Chiral isn't meant to replace that learning experience. It's aimed more at people who have already finished LFS/BLFS (or projects like GLFS/GLinux From Scratch) and want something to manage packages afterward instead of compiling everything forever.

So... I decided to build one.

It's called Chiral, and it's a cross-distro package manager written in Rust. The long-term goal is to make it work across as many Linux distributions as possible. I know that's a huge challenge, and I'm sure there are going to be edge cases, but I'm learning as I go.

Right now it can:

- Install packages with dependency resolution

- Remove packages while tracking installed files

- Search packages

- Show package information

- Update packages and self-update

- Work on custom LFS systems and other Linux distributions

It currently falls back through:

  1. My own GitHub package repository
  2. Debian repositories
  3. Arch Linux repositories

The dependency resolver walks the full dependency tree and installs packages in the correct order. It also tries to detect software that's already installed using package managers, "pkg-config", "ldconfig", "PATH", and filesystem checks so it doesn't reinstall things unnecessarily.

It's far from finished. I'm still working on:

- Orphan package detection ("autoremove")

- Better conflict detection

- Improving dependency handling

- Supporting more distributions (or at least as many as I can)

This is honestly my first time writing something this large in Rust or building low-level Linux tooling, so I'm sure there are plenty of things that can be improved. I'd really appreciate feedback, bug reports, suggestions, or anyone willing to test it on different distros.

GitHub:

https://github.com/Amaterus1125/Chiral-CrossDistro-Package-Manager

I'd love to hear what you think, especially from people who have experience with package managers, Linux distributions, or LFS. Any feedback is welcome!


r/linuxfromscratch • • Jul 01 '26

My LFS Based Linux Distro with the Goal of Stopping Distro-Hopping (ENux)

6 Upvotes

Hello everyone,

I've been building a Linux distribution called ENux.

The base system is built from LFS, and on top of it I've built a custom userspace layer called The ENux Layer. Its goal is to let multiple Linux ecosystems and their native package managers to coexist on a single system, without merging or reimplementing any of them.

Instead of one universal package format, ENux keeps each distro's userland in its own rootfs under /enux/layer/<name>/ and routes commands to the right one transparently. Type pacman -Syu or emerge --sync on the ENux base, and the real, native tool runs inside its own layer, full native repos, native config, no wrapper reimplementation. apt, dnf, apk, zypper, xbps,all work the same way, typed by name.

Execution is handled by a small helper with the cap_sys_chroot file capability (not setuid) inspired by early Bedrock Linux. It runs commands in a layer's full filesystem view as the calling user, no root needed for read operations. Because it's a plain chroot() rather than a user namespace, it also works nested inside another chroot and inside non-PID-1 containers, I've tested it running the full layer stack inside Docker.

At a high level, ENux is:

  • Built on LFS
  • The ENux Layer, the execution-routing layer described above
  • Cross-distro package managers, used natively, by name
  • A custom initramfs + init system
  • A CLI installer (TUI is WIP)

GitHub: https://github.com/ENux-Distro/ENux

I'd really appreciate the feedback from you everyone.


r/linuxfromscratch • • Jun 28 '26

A new oponent arrives!

21 Upvotes

Greetings, ive made a small linux distro called Static Linux.

https://staticlinux.org
https://codeberg.org/staticlinux
https://discord.gg/hfgdDvRehr

we are a source-based distro that follows the UNIX philosophy,

and we are peak (trust)

our tooling is simple, and auditable, we have many cool stuff like

  • a custom init system wrote in rust
  • a custom package manager wrote in C named ace (ace compiles everything)

and more but i forgor.

contribute, come, speak, whatever! i just want YOU to come and, maybe, try it?


r/linuxfromscratch • • Jun 26 '26

Hello Guys !!! I just installed Linux From Scratch… one less month

Thumbnail
gallery
110 Upvotes

After a month of patience, sweat, and manual compilation, I finally moved past the basic LFS prompt and built a fully functional daily driver environment!

The last screenshot shows the absolute madness of downloading, unpacking, and configuring every single dependency (`libdrm`, `xcb`, `xfce4-*` packages) by hand. No package manager, just raw terminal power.


r/linuxfromscratch • • Jun 24 '26

My XFCE distro , made in 20 days , and i am pretty happy how it turned out , next step maybe glfs if its worth it.

Post image
16 Upvotes

r/linuxfromscratch • • Jun 23 '26

Installed SELinux and built GNOME on my existing LFS

Post image
54 Upvotes

r/linuxfromscratch • • Jun 18 '26

i did it bro <3

17 Upvotes

i installed lfs 13.0 but compiling libnss for networkmanager and desktop and im dual booting linux mint for host system(i will delete it when i done)


r/linuxfromscratch • • Jun 18 '26

I did it

18 Upvotes

r/linuxfromscratch • • Jun 17 '26

A package manager for linux distributions

3 Upvotes

lately i was working on a package manager for other linux distros and for cross platform so i made dpms discovery package management system well it is still in testing and it has less mirrors and for mirrors i used git so if any body wants to make packages can make and it is not a big project like apt yum or dnf so any body can test it and use it. THE SOURCE CODE FOR DPMS :

https://github.com/Discovery-linux/dpms


r/linuxfromscratch • • Jun 16 '26

I built a package manager in Rust as a learning projet for my LFS system

12 Upvotes

Hi guys, I wanted to share you my progression with my LFS system.

Some months ago i reached the final step of BLFS and i've been running my system that i called onyx since then.

I wanted to learn rust at the same time and the package manager called cards i was using wasn't suitable for my needs, therefore, i decided to create my own.

The readme will more likely show you everything it's supposed to be able to do, but just note that it's support build styles, orphans detection, community repositories like aur, hash verification by default etc etc.

I will work on the readme to ensure that all the features are listed correctly.

I also built a fetcher to see if your packages needs to be updated or not based on archlinux packages : https://github.com/Delta-Azura/raw-fetch

Here is the link for the package manager itself : https://github.com/Delta-Azura/raw


r/linuxfromscratch • • Jun 12 '26

LFS Questions

10 Upvotes

I’ve been doing some light research on installing Linux from scratch. I’m thinking about using a live USB .iso, and building it on the hard drive from there.

- What are the pros and cons of this approach?
- What’s the best base distro to work from as the base? I’m very familiar with Debian based distros, so I was thinking about just using plain ole Debian.

Any advice? And roughly how much time should I plan on this taking? I’m not in a hurry, and want to do it right, just want a general idea of the time commitment. My experience level with Linux is probably somewhere between intermediate-> proficient. Thanks in advance!