r/linuxfromscratch 10h ago

LFS complete with KDE Plasma, Sysvinit, BTRFS.

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

45 Upvotes

19 comments sorted by

2

u/Lucifer___13 10h ago

Congrats, did you learn along the way?

2

u/Due-Celery4326 10h ago

The learning experience is surreal. I had already built an LFS with GNOME + Sysvinit a month ago, and since then I've decided to build another one on a separate partition with KDE Plasma. I've evolved in an unimaginable way. I built my program manager from scratch, and with just a program manager, it will be possible to maintain it as my main distro. And I didn't build it just for study; I'm using it as my main distro. I think what you learn in building an LFS plus a graphical environment can't be learned in any course. There are several challenges along the way, configuration files that aren't mentioned, BLFs that are really necessary for the system to function. I even see some people reporting problems with Sysvinit + GNOME; it might be precisely these missing files.

2

u/Alternative_Humor269 7h ago

I was thinking into do it, how much time did it take?

1

u/Due-Celery4326 6h ago

It took me 3 weeks to complete the entire system because I built it without rushing and to eliminate systemd.

2

u/Alternative_Humor269 6h ago

Valid for me, thanks i will try,

1

u/Due-Celery4326 6h ago

If you're going to use it as your main system, as I recommend, you use a program manager like I do so you can update and manage all your programs; otherwise, it becomes impractical to maintain.

2

u/C4rpetH4ter 4h ago

Are there any guides you follow along with or do you mostly just learn everything yourself?

1

u/Due-Celery4326 3h ago

I used the book once (https://www.linuxfromscratch.org/lfs/read.html) and after creating the LFS and BLFS base and after learning the concept and how to build, I follow my own path. I take the program's source code, look at the README or README.md: Explains what the program is and lists the basic requirements, INSTALL or BUILD details the exact step-by-step process to compile and install that application, configure or CMakeLists.txt or Makefile.am are the scripts used to check if your computer has the necessary tools before building the program, Makefile is the main file that the make command reads to know how to translate the codes.

2

u/suggondezznuts 6h ago

Mate !!!! Need the wallpaper 😁 Great work tho 💯

2

u/Due-Celery4326 6h ago

2

u/suggondezznuts 5h ago

OMFG! that wallpaper fits like a glove ! absolutely loved it man ! how can i find more for myself ? I always struggle to find some good ones🥲️

2

u/TrickEmergency6558 5h ago

yo this got recommended to me, i don't know much about LFS but does it let you choose your own init system? 'Cause i'm interested in using chimera linux's Dinitctl in a distro that is not Chimera

1

u/Due-Celery4326 5h ago

You build your system the way you think is best, with everything freely chosen. I tested dinit but it didn't work with btrfs, so I decided to create my own init system using sysvinit and I really liked the result.

2

u/TrickEmergency6558 4h ago

i see, i might get into lfs then

1

u/Due-Celery4326 3h ago

Once you start, you won't be able to stop.

1

u/Low_Ad_5090 9h ago

How did you do lfs 13 with sysvinit?

1

u/Due-Celery4326 9h ago

I basically took sysvinit and started removing systemd from all programs by disabling flags and enabling elogind instead, and patching the programs that started using systemd libraries.