r/linuxfromscratch • • Oct 15 '25

I built my own independent Linux Distro as my college FYP.

Post image
686 Upvotes

To make it unique from other distros, I designed and developed the Init system and Shell, myself. I also implemented a dual boot mode, where the users get two boot options: Persistent and Ephemeral. The persistent mode is the standard and traditional boot mode, where all changes are saved on disk. While, the ephemeral mode, doesn't save any writes or modifications on disk. The entire session runs on RAM. Even TailsOS does the same, but here, the persistent root filesystem itself is mounted read-only, and all the writes on existing files happen in RAM. This makes it a fine test-environment. Although these aren't mind-boggling features. With the given timeline of 2 months i could only achieve this.

Now my next step is to build a package manager. If any folks here have any kinda experience, please post your suggestions and reviews.


r/linuxfromscratch • • Feb 09 '26

Celebrating one year daily-drive LinuxFromScratch.

Post image
660 Upvotes

It's been a good run.


r/linuxfromscratch • • Jan 12 '26 Hooray

I finally DID IT!

Post image
366 Upvotes

After a few attempts that failed before, i tried building my own Linux from Scratch while i was on Christmas break.

P.S. if anyone asks who is ahvagbo, that's me. it's just the fact that i can't change my reddit username to such (although i could change my other socials handle to ahvagbo).


r/linuxfromscratch • • Mar 02 '26

I finished* my Linux From Scratch run

Post image
307 Upvotes

Well, I finally got some DE going. Sadly, it's not KDE Plasma, as I have hoped, I'm still trying to troubleshoot it, but I'm kinda out of ideas (I would be really thankful if someone is willing to help). I'll consider this done when I get Plasma going. I also have some fixing to do with xfce4 and with lightdm-greeter. I must say, LFS is cool!


r/linuxfromscratch • • Feb 20 '26 Mindblown

First LFS install!

Post image
279 Upvotes

r/linuxfromscratch • • Jan 11 '25

Finally finished my Dream LFS (Linux From Scratch) System

Post image
272 Upvotes

r/linuxfromscratch • • 20d ago

This is the way!!

Post image
271 Upvotes

My LFS Journey Started with a YouTube video from Tony on Oct 2025. From 12.4 now I reached 13.1. I keep my mesa latest. have steam, heroic, epic all working. Hosted a bunch of self hosting apps. Firefox and Brave feels the browsers i need.

Podman and Distrobox let me test any distro or that odd pkg u care about. (I don't have any though)

Davinci resolve studio, OBS all working smoothly.

After all i will decide which pkg versions i want.

I feel LFS is the End game of all distros.

I love LFS.

[Edit]

Thanks for all the love guys.

You can review my MLFS build repo here. It only contains the Terminal LFS bit.

https://github.com/benevantmathew/bene-lfs


r/linuxfromscratch • • Feb 17 '26

First time building a Linux Distribution from source

Thumbnail
gallery
247 Upvotes

I'm daily driving Linux for about 10 years (I started with Ubuntu 16.04 LTS). But for the past few days I tried something new: Installing LFS.

I followed the LFS 12.4 book using a Fedora Live ISO as the host distribution in a VM.

Instead of GRUB I used EFI for booting. I'm also using a swap image instead of a partition.

I didn't have any problems with the installation. But there where some problems after the first boot: Read-only filesystem and a syntax error in /etc/profile.

The first problem was caused by the swap image: I re-mounted / and removed the swap image from /etc/fstab. And the second problem was solved by adding a missing fi statement in /etc/profile. After a reboot it worked again.

My goal for this project was to not boot anything besides LFS on that VM after the first successful boot. Because I did not install wget nor curl, I had to get creative*:* My solution was a self-made script using the openssl s_client (see third screenshot) to download the archives required to install the openssh server (spoiler alert: Do not use in production! I wasted about an hour making the script and it does not event work 100% of the time. Sometimes I had to manually remove some leftover HTTP header lines from the tar archives files with tail).

But anyway, this script was good enough to get the openssh server up and running. Afterwards I simply used scp to get the archives for install wget on this VM. Then I installed some further packages from the BLFS book: tree, make-ca, curl, lsb-tools, bind (utlis), which, fcron, cmake, and a few libraries. Afterwards I installed fastfetch from GitHub. (See fourth screenshot for the full package list).

Later on I found out, that the swap init script was loaded before the mountfs init script: I changed the order of the init scripts so that swap was loaded after mountfs , I uncommented the swap image file in /etc/fstab, and after rebooting, the swap image worked and / was no longer read-only.

My next goal is to install some further programs (like htop, lshw, and screen). Afterwards I want to get audio working and to install the rust compiler to compile some rust-based console games. Maybe I will also install a DE with Wayland.


r/linuxfromscratch • • Mar 30 '26

First launch of Linux From Scratch in chroot! 🐧

Post image
241 Upvotes

r/linuxfromscratch • • Dec 19 '25

Finally got my first LFS install to where I wanted to, so here's its fetch :3

Post image
217 Upvotes

Took like 18 hours to complete the LFS book, and 3 days since to get here


r/linuxfromscratch • • Apr 19 '26 Heartwarming

After 4 days I finished this

Post image
215 Upvotes

It was fun and quite time-consuming to be honest, but it's done now


r/linuxfromscratch • • Sep 27 '26

I did my first LFS build!!

Post image
211 Upvotes

I just installed LFS in dual boot with Gentoo, and I found it fun, I'm going to continue with BLFS, this took me a day and a half


r/linuxfromscratch • • Jul 29 '26

Linux from scratch on MacBook air M2

Post image
186 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 • • Jan 20 '26

I DID IT (again)

Post image
186 Upvotes

So as i had success building LFS 12.4-systemd on a loop device, this time i thought of building LFS 12.4 (with sysvinit) on a spare HDD that i had at home (i took it with me to my dorm), cuz why not?

I spent some time setting up GRUB with UEFI and making Wi-Fi work.


r/linuxfromscratch • • Feb 12 '26

Success, LFS without fhs

Post image
175 Upvotes

It took me 5 days trying and it finally worked. The downside is that to compile it you need to patch the paths, configure, etc.


r/linuxfromscratch • • Feb 26 '26

My first LFS install!

Post image
170 Upvotes

how can i get xorg and dwm?


r/linuxfromscratch • • Feb 15 '26

Built LFS as my first experience with Linux and using the internet with a terminal browser for the first time in my life

Thumbnail
gallery
152 Upvotes

Accessing the internet never felt so good


r/linuxfromscratch • • Apr 04 '26

little joke for you all

Post image
146 Upvotes

r/linuxfromscratch • • Apr 10 '26

First boot

Post image
145 Upvotes

r/linuxfromscratch • • Feb 03 '26

I'm joining the forces

Post image
144 Upvotes

Don't mind large swap

Now - I'll try to get Xorg running


r/linuxfromscratch • • Feb 18 '25

This took a good while, but I finally did it

Post image
144 Upvotes

My LFS is now "Can it run DOOM" certified. I have yet to get a screenshot utility, but I was eager to share lmao


r/linuxfromscratch • • Apr 04 '26 Heartwarming

Built a LFS automated installer

Post image
143 Upvotes

I’ve been working on a hobby project and think it’s time to share it.

It’s called LFS-AI: Linux From Scratch - Automated Installer written completely in Bash. The main idea came from rebuilding LFS enough times that I wanted a faster, more repeatable path toward BLFS.

It is not a fully standard LFS build. I made a few intentional changes from the book. I use Limine instead of GRUB, and graft as a simple package manager. There are also a few BLFS packages to ease the post install pains, wget and make-ca to name a few.

If anyone is interested in testing it, please upload logs and share critiques, I would greatly appreciate it!

GitHub: https://github.com/Vercety1534/lfs-ai


r/linuxfromscratch • • Feb 07 '26

Finally success installing LFS 12.4

Post image
141 Upvotes

It took about two weeks (5 trials).

- Used official LFS 12.4 guide

- Youtube tutorial

- Also asked at ChatGPT (Don't trust all the answers from it. Just take it as advice)

I need a break before dive into BLFS. :)


r/linuxfromscratch • • Sep 11 '26

I DID IT. I BUILT BY FIRST LFS

Post image
140 Upvotes

I am now contemplating deleting this VM for good. Honestly, that was probably the most difficult thing I've done with linux. 11 hours total across two days. Don't feel like that was worth it, but honestly whatever