You can tell it's written by real Linux users because the landing page UX doesn't make it immediately obvious where to even start reading.
Idk what to tell you if the “welcome to Linux from scratch” header wasn’t enough of a hint
Linux from Scratch
91–100 of 117 posts
Re: Linux from Scratch
#92LFS takes the wrong approach in my opinion. I did it once manually over a couple of days. I suppose I hoped enduring the pain of waiting for the packages to compile would somehow make me smarter. It didn’t. I didn’t learn much. It was like following a baking recipe. I know I need to add eggs and sugar in the ratio it says but I’d be damned if I could tell you why that specific ratio works. It’s just too much to take…
Except you can write bootloader only if you have something to boot. Bootloaders as we know them came after OSes, because the need of a bootloader is to boot something. Following your logic of building a piece only if needed, a bootloader should come after. I like the recipe analogy and I actually think adding things only if needed will help cutting unuseful features and possibly to have different implementations for…
Re: Linux from Scratch
#93Earlier quoted context omitted.
It is more how stuff is compiled than how stuff works. Fundamental things like how processes are scheduled are not explained by LFS.
"works" is a loaded term. LFS is how the rubber meets the road, you want how the rubber is made, for that you need something like https://www.baeldung.com/linux/processes-guide or https://linux-kernel-labs.github.io/refs/heads/master/lectur...
Re: Linux from Scratch
#94Earlier quoted context omitted.
Except you can write bootloader only if you have something to boot. Bootloaders as we know them came after OSes, because the need of a bootloader is to boot something. Following your logic of building a piece only if needed, a bootloader should come after. I like the recipe analogy and I actually think adding things only if needed will help cutting unuseful features and possibly to have different implementations for…
in the bad olden times you definitely started to write your operating system for your new computer from the first instruction executed upwards. it wasn't at all common to have a comprehensive virtualization/simulation environment.
Re: Linux from Scratch
#95LFS takes the wrong approach in my opinion. I did it once manually over a couple of days. I suppose I hoped enduring the pain of waiting for the packages to compile would somehow make me smarter. It didn’t. I didn’t learn much. It was like following a baking recipe. I know I need to add eggs and sugar in the ratio it says but I’d be damned if I could tell you why that specific ratio works. It’s just too much to take…
I'd like to counter your comment. LFS helped me a lot. It taught me how to compile packages manually, and how GNU/Linux components fit together. Armed with that knowledge, I could do things others could not do: - Make applications that bundle/automatically download their dependencies, compile them with custom flags (static linking) - Diagnose build errors buried in deep dependencies when using vcpkg - Compile program…
All this for running on embedded Linux with 32MB flash drive running from read-only volume powering two kiosk displays.
Re: Linux from Scratch
#96We did that, but in containers. https://stagex.tools/
Interesting project. Why does it use LLVM toolchain when it already builds gcc in an earlier stage?
Re: Linux from Scratch
#97Earlier quoted context omitted.
in the bad olden times you definitely started to write your operating system for your new computer from the first instruction executed upwards. it wasn't at all common to have a comprehensive virtualization/simulation environment.
I can't understand what is the point you are trying to make
Re: Linux from Scratch
#98LFS takes the wrong approach in my opinion. I did it once manually over a couple of days. I suppose I hoped enduring the pain of waiting for the packages to compile would somehow make me smarter. It didn’t. I didn’t learn much. It was like following a baking recipe. I know I need to add eggs and sugar in the ratio it says but I’d be damned if I could tell you why that specific ratio works. It’s just too much to take…
> I did it once manually over a couple of days. Sounds like a speedrun of the tutorial. How did you approach packaging then and what system did you use to compile everything? I did the tutorial in the late 2000s I think and it took me 4-6 months if I remember correctly. At the time I wasn't completely new to Linux but setting up things like the boot loader was quite tricky for me. For me the main motivation was getti…
Re: Linux from Scratch
#99Earlier quoted context omitted.
Learning how to compile packages manually it was a common skill long before Linux came to be, and how GNU/Linux fits together could also easily be learnt with Slackware or Yggdrasil.
>Learning how to compile packages manually it was a common skill long before Linux came to be Right. I used to compile many open source packages from source on many flavors of Unix back in the day, for years. Perl, Python, MySQL, many others. Miscellaneous utilities. Esoteric languages. Even Oracle, once, on a Unix server, right at a large manufacturing company site. Even building Unix kernels from source was common…
Re: Linux from Scratch
#100LFS takes the wrong approach in my opinion. I did it once manually over a couple of days. I suppose I hoped enduring the pain of waiting for the packages to compile would somehow make me smarter. It didn’t. I didn’t learn much. It was like following a baking recipe. I know I need to add eggs and sugar in the ratio it says but I’d be damned if I could tell you why that specific ratio works. It’s just too much to take…
Except you can write bootloader only if you have something to boot. Bootloaders as we know them came after OSes, because the need of a bootloader is to boot something. Following your logic of building a piece only if needed, a bootloader should come after. I like the recipe analogy and I actually think adding things only if needed will help cutting unuseful features and possibly to have different implementations for…