Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-02-2005, 12:21 PM
|
#1
|
Member
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Rep:
|
LFS Vs. Slackware.
I read somewhere that it was possible for a user to get minimum Slackware 10.0 installed/running on a Pentium 133 Machine with very little Ram.
Can one do the same with LFS ? I perhaps missed the minimum systems recquirements for LFS. Can someone tell me the min. syst. recquirements for LFS or give me the link in this regard please ?
Also, how does LFS differ from Slackware ? Is Slackware more like Gentoo ?
Thanks.
Vijay 
|
|
|
01-02-2005, 01:05 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Vijay - you have a stack of posts asking questions about LFS. LFS is a system you compile specifically for your hardware, this means that the system requirements are whatever you have. If you have an old, slow pc you would compile with less intensive apps (no KDE or Gnome, for example). If you have a newer system, you would compile and install for that system.
Slackware is like Gentoo in that it is very configurable, will run on older kit and is very popular.
|
|
|
01-02-2005, 02:51 PM
|
#3
|
Member
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Original Poster
Rep:
|
Thanks very much for the response/clarification.
Initially, when I came on here over a year ago, the same happened. I asked quite a few questions, then took the plunge, learned/installed Linux. After that I remained mostly a lurker here for a long time but for occassional posts.
With LFS too I expect it to be the same way.
Vijay 
|
|
|
01-02-2005, 04:49 PM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
Yeah, I've got Slack10 on a P100/32MB but X was such a hassle that I took it off. A minimal X is doable but just not worth it. So you could get LFS to do the same except you're faced with the need to cross-compile or spend a few years on the project.  Compiling just a kernel on a P100 can take what may have been up to 8 hours. (I dunno - I fell asleep both times.) Plus, LFS requires a lot of build space which you may not have on a old box. I compiled those kernels with Core, which is a bare minimum prebuilt system which then requires a kernel compile and space was tight in 812MB.  I didn't have room for kernel sources and compiling with Vector, for instance.
Regarding Slack, LFS, and Gentoo - LFS is a source-by-hand distro. Gentoo is a source-by-package-management distro. It's much more automatic and I found fine-grained control harder to exercise. Granted, I probably did not invest in learning the package system to the extent I should have but that's what I didn't like about it. Learning Gentoo may *help* with all things but it mostly applies to Gentoo. Building LFS or even compiling on top of Slack is a worthwhile investment because what you learn applies to the basic universal Linux build tools without a special layer on top. And Slackware is a binary distro that's just very compile-friendly. In a weird sense, it's kind of like Core in that way. You can slap on as minimal a system as you'd like and build as much as you'd like. Or kind of like Gentoo from a stage 2 or 3 or whatever (I built mine from the ground up, so forget what stage is what).
I don't really know what you want, so I can't say which is most suited, but those are some key differences. Core or Gentoo from a certain stage or a minimal Slack will give you a fast prebuilt binary base and Gentoo from another stage or LFS will give you a purely source-built system - one 'automatically' and one 'manually'. Compiling will take longer on an old box, but *any* of these systems should run. And probably none of them would run X all that well on a very old box.
|
|
|
01-02-2005, 05:56 PM
|
#5
|
Member
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Original Poster
Rep:
|
Great post. Thanks for the helpful explanations. I want to try LFS for sure but just wanted to know basic info. about other related Distros. That is all.
Vijay 
|
|
|
01-04-2005, 07:26 PM
|
#6
|
Member
Registered: Sep 2004
Distribution: Gentoo
Posts: 134
Rep:
|
I see LFS as nothing more than an educational tool, be warned of that before you install it. If you want a system with all the speed benefits of LFS (but also most of the pain in configuring it) I recommend that you try Gentoo.
|
|
|
01-04-2005, 10:46 PM
|
#7
|
Member
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Original Poster
Rep:
|
Quote:
Originally posted by uman
I see LFS as nothing more than an educational tool, be warned of that before you install it. If you want a system with all the speed benefits of LFS (but also most of the pain in configuring it) I recommend that you try Gentoo.
|
I am beginning to believe this. However, LFS is a great lerning experience. I read a part of the Gentoo manual for change today briefly. After reading LFS, Gentoo seems to be much easier. So once a user knows LFS, I feel that the Linux experience becomes a whole lot better.
Vijay 
|
|
|
01-04-2005, 11:47 PM
|
#8
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
Quote:
Originally posted by uman
I see LFS as nothing more than an educational tool,
|
Yea an education in the fact that less is always more and being in controll is always better !
|
|
|
01-05-2005, 07:26 AM
|
#9
|
Member
Registered: Sep 2004
Distribution: Gentoo
Posts: 134
Rep:
|
People who say things like this have never tried Gentoo.
It's all the good things about LFS with a brilliant (source-based) package manager
|
|
|
01-05-2005, 08:30 PM
|
#10
|
Member
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Original Poster
Rep:
|
Quote:
Originally posted by uman
People who say things like this have never tried Gentoo.
It's all the good things about LFS with a brilliant (source-based) package manager
|
What are some of the advantages of upgrading packages ?
Other than security and extra features, there don't seem to be any.
Thanks.
Vijay
|
|
|
01-05-2005, 10:11 PM
|
#11
|
Member
Registered: Sep 2004
Distribution: Gentoo
Posts: 134
Rep:
|
Not only does it make it easy to upgrade packages, it makes it easy to uninstall them and reinstall new ones, and the system keeps track of all the dependancies.
And aren't security and extra features important?
|
|
|
01-25-2005, 01:03 AM
|
#12
|
Member
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561
Rep:
|
Quote:
Originally posted by digiot
Yeah, I've got Slack10 on a P100/32MB but X was such a hassle that I took it off. A minimal X is doable but just not worth it. So you could get LFS to do the same except you're faced with the need to cross-compile or spend a few years on the project. Compiling just a kernel on a P100 can take what may have been up to 8 hours. (I dunno - I fell asleep both times.)
|
There is really no reason to cross-compile unless you are switching architectures completely, ie going from i386 to sparc and etc. I recently built an entire LFS 6.0 system for a Pentium II 300 by sharing the Pentium 300's hard drive via NFS, on my Pentium 4 2.53ghz system running Slackware 10. I used a Knoppix LiveCD to boot the Pentium 300 PC and setup the NFS share. There are a few hurdles such as not being able to install the bootloader remotely of course, but all in all it went well and beats the hell out of waiting for days/weeks for packages to compile. In the past I've also physically removed a hard drive, placed it in a faster PC, built the system on it and put it back without issue. You just have to be careful to not hose your host system.
Edit: Oops, I spoke too soon. The 300 and and 2.53ghz are both technically i686's...hehe. But anyway, still seems like alot less trouble to build for a different target than to spend days/weeks compiling.
Last edited by DaHammer; 01-25-2005 at 01:44 AM.
|
|
|
All times are GMT -5. The time now is 08:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|