Slashdot Mirror


How to Build Your Own Linux Distribution

Shelly writes "Go to the source to learn Linux basics and build the right Linux for you. Linux From Scratch (LFS) and its descendants represent a new way to teach users how the Linux operating systems work. LFS is based on the assumption that compiling a complete operating system piece by piece not only teaches how the operating system works but also allows an independent operator to build systems for speed, footprint, or security."

5 of 192 comments (clear)

  1. nice overview by professorhojo · · Score: 5, Informative
  2. Not really that new by Dancin_Santa · · Score: 5, Informative

    People have been doing LFS for years. It's nothing really too new or significant.

    It's not even a really good way to learn about how "Linux the OS" works. It's just another way of spending an inordinate amount of time tinkering with your computer (not that there's anything wrong with that).

    If you want the benefits of LFS without the pain, just stick with Gentoo or Sorcerer Linux and let someone else worry about the sources. You still get the custom compilation benefits but don't have to waste time trying to track down stupid dependency problems (at least not as much as you would with LFS, but more than with a mainstream distro).

  3. Go to the source by Dancin_Santa · · Score: 3, Informative
  4. An Analogy by Ann+Elk · · Score: 4, Informative

    Building your own Linux distribution is like building your own airplane.

    People build their own airplanes not because they want Airplane X or Feature Y, they do it because they want to build an airplane. They want to take control of the construction process and be intimately familiar with the final product. They want to learn how the various airplane systems function. They will not necessarily learn the detailed workings of an internal combustion engine, but they will learn how it interacts with other systems.

    The same is true with LFS. If you want a generic Linux distribution, then install Fedora, Gentoo, Debian, or whatever suits you. However, if you want to build your own Linux distribution, if want to take control and be intimately familiar with the final product, then LFS is the way to go. You will learn how the various components function. You will not necessarily learn the detailed workings of the Linux kernel, but you will learn how it interacts with other system components.

  5. This isn't logic by LinuxRulz · · Score: 3, Informative
    I find all this a bit funny. I've been asked a thousand times "which distro is the best to learn how linux works". Now, I read that LFS helps learning how the OS works. Let me disagree:
    When we look to Windows admins, do they need to install it from scratch to understand the internals and how to repair things? No!
    And that's exactly the same here. We don't need to know how to compile things to know how they interact and how to repair what's broken. Yes, you can learn to assemble an OS but WHO CARES? All the enterprises or people you'll met will ALL used canned distributions of Linux. They all have their own problems installing but also have their way to solve it.
    If you want to learn the system internal do it with a distro you like. Install packages one by one and see how they work, what they do, etc. but don't give you the trouble to compile all from scratch.

    If you are still searching problems to solve to learn something after that, check out your distro's bug tracker. I'm sure they'll appreciate you helping them solve the thousand problem there are!