Re: Can I create my own Teo En Ming Linux distribution just by following the Linux From Scratch book?
Thomas Trepl <[email protected]> Wed, 03 Oct 2018 14:24:17 +0200
| Newsgroups | gmane.linux.lfs.general |
|---|---|
| Message-ID | <990b2a2ca894cead860a78c0471d021500a12c6e.camel@linuxfromscratch.org> |
Am Mittwoch, den 03.10.2018, 06:44 +0000 schrieb Turritopsis Dohrnii Teo En Ming: > Good afternoon from Singapore, > > As per subject/topic, can I create my own Teo En Ming Linux distribution just by following the Linux From Scratch book? > > I have always wanted to create a Linux distribution of my own, just like Ubuntu, Fedora, OpenSUSE, CentOS, etc. First of all, Yes you can. But you have to keep in mind that LFS provides you instructions to build a running Linux system on the machine on which you are going thru the instructions. It does not create a distro out of the box. For a distribution, you open the box of pandora in terms of * Compile CPU architecture independend Your distro should run on several different CPUs (Core-2, i7, AMD, ... * Package manager (B)LFS does not use any of them as LFS does not use precompiled binaries (which distros usually provide). LFS builds all from source, right on the target machine * Instruction sequence & target Some instructions of (B)LFS packages needs to be run on the target machine before/after the binaries has been placed on it, and not on the build machine. * Dependencies Binaries may have dependencies to other packages. You need to keep track which package depends on which other package. Difficult to handle are circular dependencies (A needs B, B needs A or A needs B, B needs C, C needs A) * Take care of user changes Do not overwrite config files on the target machine. The user might have made changes which then would be lost. * ... Many other more or less difficult issues It all can be handled but its non-trivial. -- Thomas -- http://lists.linuxfromscratch.org/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page