r/LFS • • 5d ago

No screen on my LFS (laptop)

18 Upvotes

One week ago, I thought that making a Linux from Scratch without using a stable resource would be a very funny and different project. Amazing that my idea was, it is and was very funny to do. The problem is that it seems working, without providing me a console. Here are what I do have.
Kernel: Linux 7.2.2
I use BusyBox compiled statically.
My /init is a SH file, and launches /bin/sh.
So, if I type “exit”, this should kernel panic as we cannot kill PID1.
Great. I also compiled lua statically, and we all know that running “while true do end” in lua just makes an infinite loop that ends at a given time the fans turn faster.
I’ve tried both. And indeed, I know that I had a kernel panic as I’ve typed “exit” and the CAPSLOCK del was light up and down (or off idk what we properly say in English…)
I’ve tried both GRUB and Limine, with also another version of the Linux kernel and even by following a tutorial made from ChatGPT (sorry for thattttt….) and still the same problem. I’ve also tried to boot this from QEMU.. WHICH WORKED!
I’ve tried first on a USB stick.. nothing. Then my NVME… still the same problem.
I honestly don’t have any clue on how to get this work and I think that this won’t be as detailed as needed for people to understand so if any needed information is, please ask me.
Some informations I’ve forgot to put:
It’s on a laptop but I tried wyswysOS (the name I’ve given to this project) on other laptop and still the same issue.
I’m running Linux on all tested laptops, and 6.x, 7.x and 5.c kernel versions are supported.
SOLVED: I turned DRM_I915 off


r/LFS • • 6d ago

Another version (0.1.3) - Maginat (Linux From Scratch)

Thumbnail
gallery
32 Upvotes

r/LFS • • 12d ago

I built a Linux system from source with no /usr at the root, on musl. Here is how it went

Thumbnail gallery
4 Upvotes

r/LFS • • 17d ago

Finally something on my own

Post image
74 Upvotes

r/LFS • • 18d ago

LFS on My own lulu window manager

Thumbnail gallery
4 Upvotes

r/LFS • • 20d ago

This is the way!!

Post image
12 Upvotes

r/LFS • • 20d ago

Full KDE install

Post image
133 Upvotes

Still working out some issues with DBUS, but I got it fully functional and, planning on adding steam and other gaming stuff to this

It also has full Wayland and X11 support


r/LFS • • 21d ago

Maginat 0.1.2: my from-scratch LFS 12.4 Xfce distro

Thumbnail
gallery
23 Upvotes

Hi all, I just released 0.1.2 of Maginat, a small independent distro I build from scratch following Linux From Scratch (Xfce, SysV init, no systemd).

What's new:

- Kernel 6.18.58 LTS and a 1.4 GB ISO (the compiler moved to an optional download)

- Signed system updates on installed systems (kernel and packages), through a new "Update Maginat" tool: Ed25519-signed index, SHA-256 checked packages, previous kernel kept in GRUB as a fallback

- Desktop widgets you choose from a tray icon: clock, calendar, weather, system monitor, battery/network, quick links, notes (nothing on by default)

- One unified tray (volume, brightness, battery, Bluetooth), own cursor theme and system icons, under 500 MB of RAM at idle on real hardware

- New Blackjack and Poker with animations and automatic next hand

- Flatpak Store, driverless printing and scanning, USB drives of any format

Site: https://aleps31.github.io/Maginat/

Release: https://github.com/Aleps31/Maginat/releases/tag/v0.1.2


r/LFS • • 22d ago

cannot upgrade glibc: msgfmt has no iconv

2 Upvotes

I have a strange phenomenon while trying to follow the LFS book for my first try at updating glibc.
So far I've always rebuilt the whole system (A/B partitions) but I got curious 🙂

glibc can be compiled but install DESTDIR fails with a strange error message. I changed to the directory and tried some commands manually then:

root@lfs /sources/13.1/glibc-2.44/po # msgfmt -o /sources/13.1/glibc-2.44/build/po/ar.mo ar.po
root@lfs /sources/13.1/glibc-2.44/po # msgfmt -o /sources/13.1/glibc-2.44/build/po/en_GB.mo en_GB.po
msgfmt: Cannot convert from "ASCII" to "UTF-8". msgfmt relies on iconv(). This version was built without iconv().

So msgfmt can convert ar.mo but not en_GB.mo.
I've rebuilt gettext multiple times, even installed the latest libiconv again, ran configure again on the gettext package, but nothing works - always this infamous error message. I can see msgfmt now has a reference to libiconv.so.2 (it didn't have that previously):

root@lfs /sources/13.1/glibc-2.44/po # ldd /bin/msgfmt  
linux-vdso.so.1 (0x00007f1ccb6d0000)  
[libgettextsrc-1.0.so](http://libgettextsrc-1.0.so) => /usr/lib/libgettextsrc-1.0.so (0x00007f1ccb643000)  
[libgettextlib-1.0.so](http://libgettextlib-1.0.so) => /usr/lib/libgettextlib-1.0.so (0x00007f1ccb4d0000)  
libattr.so.1 => /usr/lib/libattr.so.1 (0x00007f1ccb4c8000)  
libacl.so.1 => /usr/lib/libacl.so.1 (0x00007f1ccb4bc000)  
libxml2.so.16 => /usr/lib/libxml2.so.16 (0x00007f1ccb335000)  
libz.so.1 => /usr/lib/libz.so.1 (0x00007f1ccb316000)  
libtextstyle.so.0 => /usr/lib/libtextstyle.so.0 (0x00007f1ccb25b000)  
libm.so.6 => /usr/lib/libm.so.6 (0x00007f1ccb168000)  
libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007f1ccb0ed000)  
libintl.so.8 => /usr/lib/libintl.so.8 (0x00007f1ccb0c6000)  
libc.so.6 => /usr/lib/libc.so.6 (0x00007f1ccaedf000)  
libiconv.so.2 => /usr/lib/libiconv.so.2 (0x00007f1ccadf7000)  
libicuuc.so.78 => /usr/lib/libicuuc.so.78 (0x00007f1ccabc9000)  
/lib64/ld-linux-x86-64.so.2 (0x00007f1ccb6d2000)  
libicudata.so.78 => /usr/lib/libicudata.so.78 (0x00007f1cc8c34000)  
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1cc896d000)  
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f1cc893f000)  

I have no idea what I'm doing wrong here. Previous full installation (glibc 2.42) worked fine.


r/LFS • • 25d ago

Glibc & mesa frustation.

3 Upvotes

SOLVED !

Just doing my BLFS rebuild and found particular frustration with mesa and probably glibc. I pick older version (25.2.3) and I thought it would be easy and its llvm can be disabled (cause I've done it before), only to find that newest glibc (2.44) ruin the build !

Glibc 2.44 gained native C11 <threads.h> support in 2.28 and now also exposes once_flag and call_once through <stdlib.h>.

Now the only options I have are self-patch the mesa 25.2.3 to be compatible with glibc 2.44 or just build the 26.2.3 (which need long-*ss llvm build).


r/LFS • • 25d ago

Is this a normal fastfetch?

4 Upvotes

Hmph


r/LFS • • 28d ago

Is there a way to install LFS in Virtual Box compilation set to ARM?

4 Upvotes

r/LFS • • Oct 19 '26

Maginat 0.1.1 released - update to my LFS 12.4/Xfce distribution

Thumbnail
gallery
9 Upvotes

Update on Maginat, my independent LFS 12.4 distro (SysV init, Xfce): 0.1.1 is out.

New: nftables firewall on by default, Mesa 25.1.8 with LLVM 20 (Intel/AMD/NVIDIA drivers), CPU microcode, chrony, weekly TRIM, printer/scanner tools, screen lock, and a graphical installer for BIOS and UEFI.

Tested in QEMU and live on a Dell Vostro 15-3568. Still experimental, so try it in a VM first.

Release + ISO: https://github.com/Aleps31/Maginat/releases/tag/v0.1.1


r/LFS • • Oct 18 '26

Systemd-journald service prevents unmounting /mnt/lfs/var/run.

Thumbnail reddit.com
1 Upvotes

r/LFS • • Oct 13 '26

Hello , icreated my own lfs clean distro that use 60mb ram on boot

1 Upvotes

But ihave a problem isearch of a desktop environment like mate or xfce that most lightweight and secure and modern design like mate design , image this os from scratch and iwaireted my own tools on it , do you recommend to make my own desktop environment and publish the open source code of this distro (note :the terminal based version its that use 60 mb not has a graphical , only a terminal , the is distro is for cyber security and forensics its lightweight stable and secure with package manager nix sandboxed and secured


r/LFS • • Oct 13 '26

How to Create a Distro using LFS

9 Upvotes

I have done up to chapter 8 of LFS and was wondering how do people turn this into their own distro? Is there any books I should read outside of the LFS manual to get the full picture? I am a noob when it comes to distro development so answer like I am five years old (not literally). I just want to hear your guy's success stories and tips!


r/LFS • • Oct 12 '26

Maginat 0.1: an independent distro made with LFS 12.4

6 Upvotes

Hi all! I’m releasing Maginat 0.1, an independent Linux distribution built from scratch following Linux From Scratch 12.4 (SysV init), with the Xfce desktop.

What is included:

  • Linux kernel 6.16.1, glibc 2.42, GCC 15.2.0

  • Xfce 4.20 with LightDM

  • Wi-Fi and Ethernet via NetworkManager (tray applet), WireGuard and OpenVPN

  • Bluetooth (BlueZ) with tray icon, battery indicator, power management, PulseAudio

  • Software through Flatpak (Flathub preconfigured) and AppImage

  • LibreOffice, Thunderbird, Mullvad Browser and more.

  • Graphical installer, USB-writing tool, live session with optional persistence

  • English and Italian, chosen in the first boot menu

  • Hybrid ISO (about 1.7 GB), boots in BIOS and UEFI

Source code, build scripts and ISO: https://github.com/Aleps31/Maginat

Feedback, bug reports and suggestions are very welcome!


r/LFS • • Oct 11 '26

BFSOS 0.9.1.1 — stable development release, looking for testers and feedback

Thumbnail reddit.com
1 Upvotes

FYI


r/LFS • • Oct 10 '26

BFSOS 0.9.1.1 — stable development release, looking for testers and feedback

0 Upvotes

BFSOS 0.9.1.1 is now available, and I’m looking for people willing to test it and give feedback.

BFSOS is an independently maintained Linux distribution built with an LFS-style bootstrap and a CRUX-inspired ports/package-management system. It has its own installer, ISO builder, ports tree, updater tooling, desktop selections, and release process.

At this point I consider 0.9.1.1 stable enough for regular testing. I’m not calling it 1.0-rc yet mainly because I’m still working through documentation, screenshots, and website polish rather than because of major known stability problems.

Project website:

https://bfsos.sourceforge.io/

Source code / ports / installer:

https://github.com/bmadonnaster/BFSOS

ISO and base-system downloads are available through the BFSOS SourceForge project/download pages linked from the website.

I’d especially appreciate testing of the installer in both VMs and on spare bare-metal systems, including UEFI boot, networking, storage layouts, desktop sessions, hardware detection, package installation/updating, and general day-to-day use.

The distro currently includes multiple desktop environments and a fairly large ports tree, and the updater can check the tree against upstream/reference sources while keeping version-locked packages coordinated.

The documentation is still being updated, so feedback about confusing or missing instructions is useful too.

If you try it, I’d appreciate hearing:

\* what hardware or VM configuration you used;

\* whether installation completed successfully;

\* which desktop/session you tested;

\* anything that failed or behaved strangely;

\* anything in the documentation that was unclear.

Bug reports and code contributions can be submitted through GitHub.

Thanks to anyone willing to give it a spin.


r/LFS • • Oct 04 '26

FreeCTX64 - my first linux distro minimal enough to build C Projects and execute the projects on the system

Thumbnail
github.com
8 Upvotes

FreeCTX64 is an Open Source Free Project for ARM Development boards that can run your C code directly in the Operating system, it comes with a prebuild linux kernel and some tools it requires build-essential gcc clang cpio qemu-system-arm qemu-system-aarch64 git and if you want to make a bootable ISO and send it here if you want , that requires xorriso grub-common grub-pc-bin grub-efi-amd64-bin


r/LFS • • Sep 24 '26

lfs

12 Upvotes

que distro me recomiendan para hacer lfs?


r/LFS • • Sep 23 '26

Has anyone tried JHALFS, I have already made a distro using normal method.

8 Upvotes

has anyone actually tried it, if yes then tell me how different it is from normal LFS, like I know that when I did the whole LFS/BLFS thing it took me a long time and 1000 errors to make one, I have heard that jhalfs is mostly error prone in LFS and have its own book directry to download BLFS packages, I want to try it but I don't want it to be as tiresome as LFS was.


r/LFS • • Sep 19 '26

Another e-Reader Friendly LFS ePub

Thumbnail gallery
23 Upvotes

r/LFS • • Sep 19 '26

Happy Software Freedom Day 2026

11 Upvotes

If you haven't heard about it, Software Freedom Day is a worldwide celebration of Free, Libre and Open Source software. There are free events all around the globe and virtually. One of the virtual events today will be on building software from source LFS style and customizing your Linux distributions. You can check for local or virtual events here: https://digitalfreedoms.org/en/sfd/archive?view=list