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.
I'm going to build it using Emmet's multilib instructions. I used a modified version on my present LFS but I want to really do it from scratch this time.
Why do I want multilib? So as to be able to use my printer, which has 32-bit drivers.
This is the upcoming version of LFS. It has been marked for release as stable in the near future and is in the meantime considered to be under testing. Major components of the book should stay unchanged from day to day, but minor adjustments and bug fixes may be applied while the book undergoes testing.
If you don't mind me asking, from your own experience do you know how long in general it takes to move from Pre-release to stable?
I've never built an LFS before, but have been wanting to for quite some time. Since it would be my first time I'm unsure if I should build the Pre-release. So, I guess I could just build 8.4 now or just wait for the Pre-release to turn stable.
I've never built an LFS before, but have been wanting to for quite some time. Since it would be my first time I'm unsure if I should build the Pre-release. So, I guess I could just build 8.4 now or just wait for the Pre-release to turn stable.
I wouldn't use a release candidate if it's your first time. As I said above, they are pretty good but why take an extra risk?
Some tips from experience:
1) Choose your host system carefully. People who build LFS from Fedora or Ubuntu seem to have more trouble. Debian is fine provided that you install gawk (by default Debian uses mawk, which won't work) and make sure the system shell sh points to bash. Slackware is considered ideal.
2) Be meticulous about the settings in Chapter 4. It looks boring, and you will be in a hurry to actually start building things, but making a mistake here can cause a wreck further downstream.
3) Don't diverge from the book on your first build. You can experiment in later ones, but never alter the order in which packages are built and installed. That won't work.
4) Use copy and paste as much as possible rather than transcribing. It's not a test of accuracy in typing!
5) You might like to test out instructions for edits and so on by finding out exactly what each one does and confirming that the file has been altered accordingly. That's not necessary at all, but it will add to your understanding.
How do most of the lfs gurus upgrade there lfs systems to a new release? I have a 8.2 lfs sitting on a drive that came out of a broke laptop that I'm thinking about updating/upgrading
Last edited by colorpurple21859; 08-21-2019 at 08:23 AM.
How do most of the lfs gurus upgrade there lfs systems to a new release? I have a 8.2 lfs sitting on a drive that came out of a broke laptop that I'm thinking about updating/upgrading
You don't upgrade. You use the old LFS as a host for building the new one, although I'm not sure if you can build 9.1 from 8.2. It's probably too great a gap. But the real gurus use automated scripts (automated LFS or ALFS) so that they can build a complete system in one day. I don't do that because I think it spoils the fun. What's the point of doing it if you're not going to do it by hand?
Hey, I've noticed one difference already. Perhaps someone can explain it.
On all my previous LFS builds, the temporary bash in tools did not behave normally when printing long lines. The line would move to the left and the beginning of it would disappear. Only when the final Chapter 6 bash, built against readline, was installed, did I see the normal behaviour of running over to the next line. But this time around, bash behaves normally from the start.
You don't upgrade. You use the old LFS as a host for building the new one
That is what I thought but wasn't sure. I prefer Slackware as a host for building lfs
Quote:
But the real gurus use automated scripts (automated LFS or ALFS) so that they can build a complete system in one day. I don't do that because I think it spoils the fun. What's the point of doing it if you're not going to do it by hand?
I wouldn't use a release candidate if it's your first time. As I said above, they are pretty good but why take an extra risk?
Some tips from experience:
1) Choose your host system carefully. People who build LFS from Fedora or Ubuntu seem to have more trouble. Debian is fine provided that you install gawk (by default Debian uses mawk, which won't work) and make sure the system shell sh points to bash. Slackware is considered ideal.
2) Be meticulous about the settings in Chapter 4. It looks boring, and you will be in a hurry to actually start building things, but making a mistake here can cause a wreck further downstream.
3) Don't diverge from the book on your first build. You can experiment in later ones, but never alter the order in which packages are built and installed. That won't work.
4) Use copy and paste as much as possible rather than transcribing. It's not a test of accuracy in typing!
5) You might like to test out instructions for edits and so on by finding out exactly what each one does and confirming that the file has been altered accordingly. That's not necessary at all, but it will add to your understanding.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.