"Even more common: “Oh, I’m not going to use Gentoo. I want to go all the way and use LFS!”
They never heed my warnings about it. Every one of them either quits in the middle of the install, or soon after, and swears off source based distributions for life.
Slackware and LFS are the Haskells of the Linux distribution world. People jump to the extreme end of the spectrum, and either get burnt or remain unproductive for life, when they should have just used OCaml or F# instead."Linux from Scratch
41–50 of 108 posts
Re: Linux from Scratch
#42Re: Linux from Scratch
#43I did this in 2001 on a 200MHz Pentium with 128MB RAM. Took about eight hours. Great experience. I understand it still takes about eight hours. Faster CPUs but busier software cancelled each other out. Some things never change.
Re: Linux from Scratch
#44> the test suite for Glibc is considered critical. Do not skip it under any circumstance.
> Generally a few tests do not pass. The test failures listed below are usually safe to ignore.
I felt a bit uneasy writing something similar into my software e2e test suite, but hey if glibc can do it, why not!
> It's imperative to strictly follow these steps above unless you completely understand what you are doing. Any unexpected deviation may render the system completely unusable. YOU ARE WARNED.
Is this the Dark Souls of linux distros?
Re: Linux from Scratch
#45Linux from Scratch is great for building a deeper understanding of how the different parts in linux systems work together at their foundation. Working through it also made me appreciate what distributions and package managers actually provide to me even more. However, i do often read people stating it helped them to "understand linux". Not sure what that means to be frank. Because you do not learn much about actually…
Re: Linux from Scratch
#46Stick to RPM based systems as dnf supports transactions. The ability to look at history of package installation and rollback to a known state solves most admin issues.
Re: Linux from Scratch
#47This was probably the best thing I've done to learn the ins and outs of a running Linux system: I think it would be amazing to re-do it with a modern Linux stack (systemd + Wayland), but it can really remove all the "magic" from the full OS implementation for you. However, I've done it in 1999 and ran that system until 2001 when it became too much of a trouble to recompile everything and battle dependencies manually…
At the time, it felt like I was just being told "type this" and "type that", with very little explanation of what anything meant or why it was done one way instead of another.
Maybe after all these years it’s worth giving it another shot? Does it work on a VM?
Re: Linux from Scratch
#48It's been years since I went through this, but whenever someone asks me what they should read to get a deeper understanding of what a Linux distribution is, I point them to this.
Yup, it's where I got a lot of my linux knowledge. I think that Gentoo or even Arch would provide pretty close to the same education level, though, with a lot less time to install.
it only takes three commands to install Gentoo
cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update && . /etc/profile && emerge sync && cd /usr/portage && scripts/bootsrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge gentoo-dev-sources && cd /usr/src/linux && make menuconfig && make install modules_install && emerge gnome mozilla-firefox openoffice && emerge grub && cp /boot/grub/grub.conf.sample /boot/grub/grub.conf && vi /boot/grub/grub.conf && grub && init 6
that's the first one
https://web.archive.org/web/20230601013339/http://bash.org/?...
Re: Linux from Scratch
#49As someone who has been using Linux as a daily driver for 25+ years and also used linuxfromscratch.org for building some packages, I would say, don't waste you time building from scratch. There is very little utility unless you are maintaining some arcane system professionally. Stick to RPM based systems as dnf supports transactions. The ability to look at history of package installation and rollback to a known state…
Re: Linux from Scratch
#50https://www.linuxfromscratch.org/lfs/view/stable/chapter08/g... > the test suite for Glibc is considered critical. Do not skip it under any circumstance. > Generally a few tests do not pass. The test failures listed below are usually safe to ignore. I felt a bit uneasy writing something similar into my software e2e test suite, but hey if glibc can do it, why not! > It's imperative to strictly follow these steps above…
haha Yes. That's a bit what it feels like.