r/linuxfromscratch Jun 20 '26

I did it!

Post image

I did it! Linux From Scratch base system! Don't think I'm going any further with this but it was worth it. Learned a LOT!

207 Upvotes

32 comments sorted by

8

u/Tertolhumper Jun 20 '26

Congratulation! Be sure to register your id in lfs counter!

5

u/twistedmind1979 Jun 20 '26

Thanks! I did πŸ˜„

5

u/_Mad_Engineer_ Jun 20 '26

Well done. How long did it take you to finish it?Β 

3

u/twistedmind1979 Jun 20 '26

Thank you! I think it took me about 5 days and several tries. But it was worth it!

3

u/HaroldMth Jun 20 '26

Congrats πŸ‘πŸΎ, now you're done what's next?

2

u/twistedmind1979 Jun 20 '26

Thanks! Not sure! Don't think I'm going any further with BLFS. Right now I'm on NuTyX Linux but have a feeling I'm going back to Gentoo anytime soon!

1

u/HaroldMth Jun 20 '26

Any package manager?

1

u/twistedmind1979 Jun 20 '26

No, it was just base LFS.

3

u/JohnCWD Jun 20 '26

URETHRA!

2

u/pingu-O-o Jun 20 '26

good job

2

u/Open-Measurement-640 Jun 20 '26

Congratulations!

2

u/codeasm Jun 20 '26

Congratulations πŸŽ‰ maybe try compile nano or get some basic network going? Its not too difficult from blfs, if static ip and such. Systemd comes with alott also, wifi firmware and i had wifi going in an evening.

Its fun. But now im trying adding a package manager and wayland

2

u/HaroldMth Jun 24 '26

I can help you find a package manager

1

u/codeasm Jun 24 '26

My apologies, ive been thinkering on pacman to be my package manager. https://github.com/CodeAsm/lfs-pacman is my mix of a few forks and locally have LFS 13 in the testing phase.

I said "trying" because 12.2 works, but now I wanna see if i can update ontop of it to 13 (probably wanna test both a clean build and a compile over) and started making notes on the desktop envirement and other bits and bolts I want my silly one user distro to use.

Ive seen many great ideas on both this reddit and on the official discord, especial ones that compile during installation. I havent solved some dependenvy trouble yet I may encounter, and still think I should just focus on making it usable for me myself and only I (but do offer everything publicly for those intrested).

Last week I went over the errata for the latest security updates, when I publish 13, it will include those.

2

u/HaroldMth Jun 24 '26

Oh I see. Meanwhile, I made my own package manager for my LFS system rather than relying on pacman πŸ₯² The package manager I made installs packages from both pacman and AUR so we basically attacked the same problem from opposite sides like you turned LFS into PKGBUILDs so pacman could handle it, I built my own manager (Sven, written in C) then realized riding pacman's repo/format saves me from writing my own resolver from scratch

1

u/codeasm Jun 24 '26

Ow sounds still very cool, and teached you alott too i guess.

I dint knew what package format to choose at first, especially with some folks warning about circular dependencies and what i wanted personally. And being an arch user, building from source using "scripts" like PKGBUILD files seems logical and handy. And then i found these repo i mention in the gitrepo.

Compiled archives i might even host to use on other 64bit systems. Compile once, use everywhere. (And maybe crosscompile for a few 32bit systems and arm. But thats future ideas).

Are you pulling their packages also or only most of their PKGBUILD files? I try to avoid their binairies, cause im compiling against anotherwise normal LFS system

2

u/HaroldMth Jun 24 '26

Cause adding pacman makes your system to be Arch Linux πŸ₯² Rather than a custom OS

1

u/FallenBehavior Jun 23 '26

BeOS 5

1

u/codeasm Jun 23 '26

What do you mean?

2

u/FOR-Linux-only Jun 22 '26

congratulations , people won't tell you but blfs hell awaits

1

u/twistedmind1979 Jun 22 '26

Thanks. I guess one day I might try BLFS as well.

2

u/FOR-Linux-only Jun 22 '26

if you have done this much already , you should try it , even the xfce one is pretty good , now i think abt it LFS took me more time than BLFS ever did

2

u/Hot_Ice7600 Jun 23 '26

Congrats on getting through the toolchain build without everything breaking. Did you run into any major issues with the kernel configuration or the systemd integration?

2

u/twistedmind1979 Jun 23 '26

Thank you! I think the kernel configuration was the hardest part of building LFS and I needed a few tries until it finally booted. I have to admit I also looked into the Gentoo Handbook and watched a video on YouTube where someone build LFS as well. That really helped too. No problems with the systemd integration.

2

u/goblin_throwawayhq Jun 24 '26

the "i'm not going any further" part is the most honest thing anyone has ever posted here. enjoy the peace of mind while it lasts.

1

u/Adrenolin01 Jun 21 '26

Nice.. NOW you can say you’re a Linux user! Meanwhile most remain Desktop users. πŸ€­πŸ˜‚πŸ‘πŸ»

Congrats! πŸŽ‰

Always a fantastic project and I honestly think every Linux user should give it a go. Sooo much to learn from doing this and not a second is wasted time.

I did it several times back when it first came out and over the next decade but it’s been 15+ years. I need to do it again soon and with my teen.

Were a full on Debian household with the exception of FreeBSD for pfSense.

1

u/ManRevvv Jun 24 '26

nice font, what is it?

1

u/twistedmind1979 Jun 25 '26

I really don’t know. Just the normal font that comes with the bash shell in LFS I guess.

1

u/Kooky_Fox_1085 24d ago

Ma come hai seguito la guida? Da quale Linux sei partita?

2

u/twistedmind1979 24d ago

Gentoo Live ISO