Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello
I am wondering how to get benefit from LFS project , I found myself turned to a copy-paste-machine , I can't find or determine any simple steps to follow , I feel it's only tons of packages to compile and some files to copy .
where can I find a summary or a blueprint for this project and a simple explanation for each step and the main points to build a linux .
Hello
I already read all the book n applied half of it , but actually I lost the concept between these tons of details , I think I need a small version , may be a minimal LFS first before going into these details .
Thnx 4 your replies
Hello
I already read all the book n applied half of it , but actually I lost the concept between these tons of details , I think I need a small version , may be a minimal LFS first before going into these details .
Thnx 4 your replies
Again---specific questions will always get better answers here.
How about this for a simple summary?
A Linux OS has four basic components: the kernel--can be thought of the minimum functionality to interface with the hardware. In the interest of simplicity, assume that all HW drivers are built into the kernel the shell---this is what gives us a usable interface to the kernel. the common shell in Linux is BASH, and includes basic utilities sometimes called the "core utilities". (If you cannot find the man page for a function, it's probably part of BASH Other utilities Applications (OK--not really part of the OS, but part of most actual installations)
The idea behind things like LFS is to build up a system in increments---at any stage of the process, if you don't know what something is or why you need it, then don't install it.
...I lost the concept between these tons of details...
I think that happened because you don't know why you started in the first place. To me, LFS and BLFS are not things one should do just to find out if they have any benefits. Of course you can always do that, but the chances of finding any are low for most people IMO. Unlike trying out a "distro", it's hard and time consuming to try out LFS. Most people will get plowed under well before they find a benefit. I think it's better to build an LFS system because you already see a benefit and have decided that you need it. That's what happened to me. I used distros like Fedora, Debian, Ubuntu, Arch for years. Then one day (probably the day systemd became non-optional in Fedora) I just decided I wanted more control over what my Linux system contains and can do. It wasn't easy at first, but I had something powerful motivating me. Now my BLFS system is my main daily system, and Arch is my last remaining distro (which I now use only to backup my BLFS system).
I hope you make it through your first run at the LFS book and find your benefit.
Hi again n thnx 4 ur wonderful replies , I think my problem is that I wanted to make a small linux project just to strengthen the concept of linux , but LFS gave me more details that I am not keen about now , so I need a small basic version of LFS .. any suggestions ?
so I need a small basic version of LFS .. any suggestions ?
There's no such thing.
A by-the-book LFS system is very basic/minimal. To a point where it isn't very usable as-is (you need to do at least a few chapters from BLFS). You could make it smaller, but not much more basic.
I did not notice this so much before---please don't use the SMS shorthand here. What you meant to say was "...and thank you for your wonderful....etc."
Echoing what druuna says (or what I think he is saying... )---you can use any Linux distro to get a mimimal system. "minimal" could mean removing things, or it could mean simply that you stop installing when you have what you want.
Echoing what druuna says (or what I think he is saying... )---you can use any Linux distro to get a mimimal system. "minimal" could mean removing things, or it could mean simply that you stop installing when you have what you want.
Just to make sure:
Compared to a minimal distribution installation, LFS would be even more bare bones. Among others: No shell startup files like /etc/profile, /etc/profile.d/*, ~/bashrc etc are yet present. No PAM, ssh etc.
LFS isn't a distribution. LFS + BLFS chapters 3 + (parts of) chapter 4 ~= minimal distribution install.
I could create the same product with Arch---just start removing things. (and fixing whatever broke in the process.... )
Would I actually DO this??---probably not....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.