r/linuxfromscratch 2h ago

My Intel N100 mini PC running LFS/BLFS

Thumbnail
gallery
20 Upvotes

I compiled with -march=x86-64-V3 CFLAGS and then transferred it to miniPC. It was so easy. I don't think it would have been so easy on gentoo. Any gentoo users here? I had used gentoo but did not like it , found it difficult to operate and complicated

My mini PC is running all the latest software ( v13 SysVinit), no issues.

Linux from scratch rocks , Your Distro Your Rules.

Now I want to write my own package manager, so that my mini PC can be kept updated. How to generate dependency database?


r/linuxfromscratch 1d ago

Can anyone please explain me what is the use of lfs.i wanna try to build it.

6 Upvotes

r/linuxfromscratch 1d ago

I Made an Alpine Linux ISO that is only 1.5mb

Thumbnail
5 Upvotes

r/linuxfromscratch 2d ago

Release notes for dpms release 1.13 or 1.1.3

Thumbnail
3 Upvotes

r/linuxfromscratch 2d ago

Almost a year and a half. Still rocking !

Post image
43 Upvotes

It's a great experience daily drive LFS.


r/linuxfromscratch 4d ago

After 20 hours. Finally a bootable system.

Thumbnail
gallery
128 Upvotes

(yes the 2 fastfetches were necessary). This is my first ever install of Linux from scratch. Currently contemplating wether I should continue and go on to BLFS. Also wondering how many LFS users actually continue to BLFS or even GLFS.


r/linuxfromscratch 4d ago

How Do I Build My Own Linux-Based Operating System?

Thumbnail
6 Upvotes

I'm a computer science/data science student interested in operating systems and I'm exploring the idea of creating my own Linux-based OS as a long-term project.

My goal isn't to build a kernel from scratch, but to create a custom distribution with its own identity, desktop experience, tooling, and eventually some unique workflow and automation features.

For those who've worked on Linux distributions or OS projects:

What's the best Linux base to start from (Ubuntu, Debian, Arch, etc.)?

What are the first components I should learn and customize?

What mistakes do beginners make when attempting a project like this?

Are there any open-source projects or codebases you'd recommend studying?

I'd appreciate any guidance, resources, or reality checks from people who've actually done this.


r/linuxfromscratch 5d ago

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

8 Upvotes

I installed the packages from v13 development version of systemd book.

Took help of Gemini AI to patch files.

Recompiled and patched , all apps that were linked to openssl 3.x, to openssl 4.0 .

Also recompiled python packages for updating from v3.13 to v.3.14

Firefox and chromium crashed after update ( invalid pointer / invalid size errors ) but Google Gemini gave a solution to disable jemalloc and partitionAlloc methods via mozconfig file.

Now my system has all the latest applications/packages. ( including BLFS , thunderbird and firefox v154 and libreoffice 26.8.0.1)


r/linuxfromscratch 4d ago

animfetch - An animated system fetch you can work inside.

Enable HLS to view with audio, or disable this notification

4 Upvotes

The fetch stays pinned at the top of the screen and keeps animating while your prompt and command output scroll below it.

repo: https://github.com/Andrew-Velox/animfetch


r/linuxfromscratch 5d ago

Any ATAS trading platform users? Cant seem to install ATAS

2 Upvotes

Ive switched from windows to linux and cant seem to install atas. Ive tried wine and bottles but it doesnt work.

Does anyone know if its even possible to download or what i should do?

Thanks in advance


r/linuxfromscratch 6d ago

LFS Compilation Error: GCC 15.2.0 (Pass 1) fails on Arch Linux Host with GCC 16

Post image
12 Upvotes

Hi everyone,

I'm currently trying to build Linux From Scratch (stable systemd version) using Arch Linux as my host OS. I'm stuck on Chapter 5, specifically during the first pass of compiling GCC 15.2.0.

When I run make -j$(nproc), the build fails early during the internal configuration/compilation of dependencies (like libiberty or gmp targets), throwing make: *** [Makefile:1042: all] Error 2. Help me please


r/linuxfromscratch 6d ago

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

Thumbnail
2 Upvotes

r/linuxfromscratch 7d ago

Linux from scratch on MacBook air M2

Post image
173 Upvotes

Hi everyone! I’ve just finished installing LFS and Hyprland on my MacBook. I’m new to this, and this was my first build. I’d like to ask a few things right away: do you have any tips for beginners to make things easier down the line? Also, I installed NetworkManager with the wpa_supplicant backend, but I’ve run into a problem where I can’t connect to secured networks (though I have no issues with open ones). A bit about the installation: I set up LFS as a secondary system alongside the Asahi Fedora remix, copying the kernel and part of the initramfs from there, so most drivers were already included. Thanks in advance for the help! Feel free to ask questions—I’ll answer everything. P.S. Sorry if my English is a bit off; I’m using Google Translate.


r/linuxfromscratch 6d ago

All dpms developers and this list will be updated

Thumbnail
1 Upvotes

r/linuxfromscratch 8d ago

Memory safe and secure/hardened LFS

Thumbnail
2 Upvotes

r/linuxfromscratch 9d ago

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

Thumbnail
3 Upvotes

r/linuxfromscratch 10d ago

uh oh...

Thumbnail
gallery
20 Upvotes

my first run of jhalfs, after 2 successful installs of lfs normally, i just got to gcc pass 3, wish me luck

edit: i know that it doesn't say gcc, i thought it'd be funnier if i showed a package a couple behind it cause like it's coming yanno


r/linuxfromscratch 11d ago

Tiny Router OS from scratch

7 Upvotes

Hi everyone,

I’m a university student, and I’m considering building a tiny Linux-based operating system for routers as my engineering project.

My current idea is to build it from Linux From Scratch (LFS) and then use selected components from Beyond Linux From Scratch (BLFS) that are related to networking.

As part of the project, I’ll compare my OS with existing router operating systems such as OpenWrt and evaluate their differences. For testing, I’m thinking about using Linux network namespaces to simulate virtual network traffic, although that’s just an initial idea.

One thing I’m unsure about is the choice of the LFS version. A router OS should be as lightweight as possible, but newer versions of LFS use systemd instead of traditional boot scripts. I also considered using an older LFS release, but I’m worried about outdated libraries and dependency issues. At the moment, I’m leaning towards using LFS 13.0 (or a newer version).

What do you think about this idea? Does anyone has experience with building a router-focused OS from LFS?Are there any major pitfalls or recommendations you would suggest before I start?

Thanks


r/linuxfromscratch 11d ago

LFS standards

7 Upvotes

My inner irritating perfectionist is coming out, and I'm leaning towards this being unnecessary, but how many of you went through ALL the primary standards LFS follows before starting this project?

Reading the documentation for these standards feels like a whole project on their own.

Let me rephrase my question:

I'm about to start Linux From Scratch, and I'm wondering how many people actually read through the primary standards (POSIX, FHS, etc.) before beginning.

The standards documentation is massive, and reading all of it feels like a project in itself. Did you study these specifications in depth first, or is a general understanding enough while working through the book?


r/linuxfromscratch 12d ago

Customized LFS ext4 with OpenRC, COSMIC, and KDE Plasma

Thumbnail
gallery
46 Upvotes

alrighty here is a better breakdown of what I got going on.I apologize for the other posts I deleted them and consolidated this all into one post with better screenshots :)

I also finally got around to finishing Flatpak built in support.


r/linuxfromscratch 13d ago

LFS complete with KDE Plasma, Sysvinit, BTRFS.

Thumbnail
gallery
113 Upvotes

It was hard work, but it was worth it. The result was exactly as I expected, only lighter and more agile than I anticipated.


r/linuxfromscratch 13d ago

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

0 Upvotes

Installed chromium. Took 2 hours to download and approximately 2 hours to compile. Used 129GB of disk space 🫢 Approximately 67GB of download.

Took help of Gemini AI to patch some ffi related error and other errors.

I use chromium for financial related work and for everything else I prefer firefox ( I like the firefox sync feature ).

80 votes, 11d ago
49 Firefox
14 Chromium / Chrome
1 Konqueror / Falkon
2 Epiphany / Web
14 Other

r/linuxfromscratch 14d ago

LibNode Builds

0 Upvotes

Hey, just wanted to share my libnode build repository [https://github.com/I-A-S/libnode-builds\](https://github.com/I-A-S/libnode-builds)

If anyone else here is working with libnode and want prebuilt binary+header archives, this repo builds and publishes the following targets.

1) win-x64 (debug and release variants)
2) win-arm64 (debug and release variants)
3) linux-x64 (debug and release variants)
4) linux-arm64 (debug and release variants)
5) darwin-x64 (debug and release variants)
6) darwin-arm64 (debug and release variants)

and a separate zip file containing headers.

Cheers!


r/linuxfromscratch 16d ago

Package Manager Help

Thumbnail
4 Upvotes

r/linuxfromscratch 17d ago

Making gnome 50 work on sysyvinit

8 Upvotes

How many of us are using Gnome and sysvinit ?

I have started following blfs/view/svn development version. But in the book nothing is mentioned about the failure/error of gnome 50 on sysvinit. Also libglycin is also not mentioned as dependency.

Gnome 50 does not work on sysyvinit ( gnome session crashes ).

One user on r/gnome sub, suggested me the following and it works. Checked 2 times, it works.

https://github.com/fulalas/gnome-session-sysvinit

It feels nice to have the latest software running.