Slashdot Mirror


LFS 4.0 Released

Tekmage writes "For those of you who have never had the pleasure of rolling your own Linux install from scratch, take a moment to check out Version 4.0 of Linux From Scratch. Definitely for the techies amonst us, there is (IMHO) truly no better way out there to get down and dirty with the inner workings of our favorite OS." LFS organizes its documentation into "books"; 4.0's book is dated yesterday.

180 comments

  1. I nearly got.. by Anonymous Coward · · Score: 1, Funny

    an orgasm when I got LFS installed! It is so cool it can not be described.

  2. It's a great resource by bsharitt · · Score: 1

    I've used LFS before to build my own personal distro, and it's a great resource. With basic knowledge of Linux and how to compile, LFS can allow you to make your very own distro.

    1. Re:It's a great resource by Moonshadow · · Score: 2

      Seems like a great way to learn the OS, anyway. Not for everyone, I suppose, but definately cool for the learning crowd, or if you plan on doing a large number of custom installs.

    2. Re:It's a great resource by Anonymous Coward · · Score: 0

      The great thing about it is, when you start out with basic knowledge, you end up learning more and more about Linux as you go through the book and the hints, an at the end your friends see you as an Ubergeek, that certainly happened to me.

      Well, at least it made me feel like an ubergeek. :p

      Remember, put in #define BUILDRENDER YES if you want nice AA in XFree...

    3. Re:It's a great resource by vb.warrior · · Score: 1

      And I'm sure this makes up the screaming frustration buried deep within your soul.

  3. LFS is really good by Ron885 · · Score: 2, Informative

    I have been using lfs for about two years. I cannot imagine going back to a normal distribution. LFS gives you so much freedom with the way YOU want to setup your system. If you are looking for just something to do, or if you dislike all the available distributions, try out LFS and you wont be sorry.

    1. Re:LFS is really good by Mr2cents · · Score: 1

      I installed it too, it took me three days but I learned a lot, and it's really nice to have it boot for the first time (I didn't get an ograsm though :)). I don't use it on my desktop, just on the router - not doing anything else. But it's too much a hassle for me to manage/upgrade packages - I like Debian better. Does anyone care to share some hints on that? e.g., I would like something like this:

      [program] -l logfile make install

      that dumps all files created by make install.

      --
      "It's too bad that stupidity isn't painful." - Anton LaVey
    2. Re:LFS is really good by Ron885 · · Score: 1

      you should take a look at install-log or installwatch. you can check the lfs hints repository for some information on them

    3. Re:LFS is really good by JebusIsLord · · Score: 2, Informative

      As a compromise, use gentoo linux. It still gives lots of control to the build and upgrades are a cinch.

      --
      Jeremy
    4. Re:LFS is really good by Ron885 · · Score: 1

      why does everyone have to keep saying... "dont use lfs, use gentoo"? if someone wants to use lfs they will use lfs. some people dont like gentoo(myself) and there are many others that dont like it also, namely many of the regulars in #LFS @ irc.linuxfromscratch.org. All i'm seeing in these "just use gentoo" posts is this: "gentoo is the best, use it or else". that is not what linux is about.

    5. Re:LFS is really good by JebusIsLord · · Score: 1

      I just meant if package management is an issue gentoo is a good compromise. Read in context of the parent post. I myself used gentoo previously but became an even bigger control freak and actually switched to LFS recently.

      --
      Jeremy
    6. Re:LFS is really good by Josh · · Score: 2, Interesting

      It's easy to understand how LFS enables greater customization. It's also easy for most conventional distribution users to think of particular packages that they like to compile from source to their own custom specs (typically kernel, if nothing else). But it would be nice if an LFS advocate could post something on the most appealing/useful examples of massive customization that they feel justify the extra time/effort involved compared to using a distro with customizations tacked on.

    7. Re:LFS is really good by GreyWolf3000 · · Score: 2

      There are many ways to manage packages in LFS. The great thing is that you can choose how it's done (symlinks, file logging, even .deb or .rpm). The kep here is choice. "Your distro, your rules."

      --
      Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    8. Re:LFS is really good by CrazyBrett · · Score: 3, Informative

      Ok, here's an example. My linux system at home (functioning as development machine, router, and firewall) is LFS. I've got each package installed in its own subdirectory under /pkg, and I've got /bin /lib /include and /man full of symlinks to the corresponding files in those directories (this is so utils like gcc, man, and the shell can find things without having to go searching all over the disk).

      Removing a package is trivial: just delete its directory and remove the symlinks. Upgrading a package is trivial too: install the new package into a new directory, update the symlinks, and remove the old dir. If an upgrade has some problems, I can roll back to a previous install by rolling back the symlinks (provided I haven't deleted the old installation yet). My next project is to create a program that can manage the symlinks automatically, to make it even easier. (Preemptively: yes, I know about "stow", no, it doesn't do what I want)

      I don't know of any regular distribution that lets you do that :)

  4. Too many todo's by NightWhistler · · Score: 1

    Doing a full LFS install has been on my to-do list for quite some time now... perhaps I should try it someday soon. Until now, I have always been a faithful Slackare user, and I've done a bit of hacking in a few programs myself... as I see it, LFS is the perfect way to get the ultimate "feel" for Linux... I'm just not quite sure if I'm up to the task... building a simple Linux system I can handle, but building a full KDE-setup may be a bit too much for me right now...

    --
    PageTurner Reader: open-source e-reader for Android with cloudsync. http://pageturner-reader.org
    1. Re:Too many todo's by Johan+Veenstra · · Score: 1

      To follow the books you need some skills, but since you've been using Slackware, you're almost overqualified :)

      Besides some skills, the only other thing you'll need is time and patience.

      Johan Veenstra

    2. Re:Too many todo's by HIghoS · · Score: 5, Informative

      Hey fear not. Getting KDE running on an LFS system is not *that* hard.

      There's a subproject of LFS, that isn't as well known as it should be, that's documenting the process of installing software after (or I should say 'beyond' :) the completion of the lfs-book.

      http://beyond.linuxfromscratch.org/view/cvs/

      In there, you will find all the information required to install the graphic libraries, X11, KDE, and so forth.

      You can also check out the lfs-hints for additional software/issues that are not covered by the blfs-book;

      http://hints.linuxfromscratch.org/hints.shtml

      It's more about taking the time todo it ;-)

    3. Re:Too many todo's by fredan · · Score: 1

      but building a full KDE-setup may be a bit too much for me right now...

      well it might not.

      You can take a look at my two script for this. The first one will try to get many extra packages, which kde can use if it is installed. Thisone is called prekde3.
      The next one will compile kde itself and you can get kde with differents method like: ftp, rsync and cvs. This script is called compilekde3.

      But do take a look to the scripts before you run it.

  5. Mirrors and /. effect by T-Kir · · Score: 2

    Man they must have seen us coming (have they been /.'ed before?), that is a nice list of mirrors on the linked page... that is until the linked page gets killed ;)

    --
    Are you local? There's nothing for you here!
    1. Re:Mirrors and /. effect by iamthemoog · · Score: 4, Informative

      For your enjoyment:

      North America
      Fremont, California, USA [8 Mbit] http://www.linuxfromscratch.org/lfs/intro.shtml
      Lufkin, Texas, USA [6 Mbit] http://linuxfromscratch.idge.net/lfs/intro.shtml
      Columbus, Ohio, USA [1 Mbit] http://www.us.linuxfromscratch.org/lfs/intro.shtml
      Calgary, Alberta, Canada [10 Mbit] http://www.ca.linuxfromscratch.org/lfs/intro.shtml

      Europe
      Mainz, Germany [100 Mbit] http://lfs.linux-provider.net/lfs/intro.shtml
      Amsterdam, The Netherlands [100 Mbit] http://www.nl.linuxfromscratch.org/lfs/intro.shtml
      Oslo, Norway [100 Mbit] http://www.no.linuxfromscratch.org/lfs/intro.shtml
      Lancaster, UK [100 Mbit] http://linuxfromscratch.mirror.ac.uk/lfs/intro.sht ml
      Vienna Univ. of Technology, Austria [64 Mbit] http://www.at.linuxfromscratch.org/lfs/intro.shtml
      Karlskrona, Sweden [10 Mbit] http://www.se.linuxfromscratch.org/lfs/intro.shtml
      Freising, Germany [4 Mbit] http://www.de.linuxfromscratch.org/lfs/intro.shtml
      Teesside, UK [256 Kbit] http://www.linuxfromscratch.co.uk/lfs/intro.shtml
      Odense, Denmark [256 Kbit] http://www.dk.linuxfromscratch.org/lfs/intro.shtml

      Australia
      Brisbane, Australia [155 Mbit] http://www.au.linuxfromscratch.org/lfs/intro.shtml

      Asia
      Singapore, Singapore [45 Mbit] http://www.sg.linuxfromscratch.org/lfs/intro.shtml

      --
      No Norm, those are your safety glasses; I'll wear my own thanks...
    2. Re:Mirrors and /. effect by HIghoS · · Score: 2, Informative

      Yes, we have been slashdotted several times now. It's one of the reasons we have always kept the mirror list on the front page. We are also the main host for http://www.distrowatch.com so we have to keep up with all the barrage of hits it gets also :)

      It's always fun *coughs* to watch how shadowfax (the lfs server) handles the load. A little while ago we had nearly ~100 apache processes spawned with a load of almost 5.00. It's gotten a little more sane wotn to about ~50 proc/0.50 load.

      The best part is problably looking at this; http://stats.linuxfromscratch.org/mrtg/

  6. So... by Prince_Ali · · Score: 1

    When will we be getting WFS?

    1. Re:So... by Theom · · Score: 0

      When penguins live in hell.

      --

      mp3: l33t term for empty.
  7. Gentoo? by thing12 · · Score: 2, Informative

    Why not just use Gentoo? You get all of the benefits of a fully customized and compiled distribution when you want it. Yet it's completely automated for when you don't want to be bothered with every little package that goes into a fully functional system.

    1. Re:Gentoo? by Ron885 · · Score: 4, Informative

      gentoo is an alternative, but its not the same as doing it by hand... you just start it and it does it all by itself... with lfs you can compile everything the way you want to with the options you want and dont need to mess around with the config files of gentoo.

    2. Re:Gentoo? by jormurgandr · · Score: 2, Informative

      gentoo also isnt production stable yet. I've been using it on my home PC for about 6 months now, and although I love the portage system, it isnt perfect yet. Quite frequently, I've had to go in and edit files by hand, without any docs from the install, and without network access (emerge world killed my NIC several times, and my IDE controller another). Hopefully in time it will become more mature.

    3. Re:Gentoo? by Billly+Gates · · Score: 2, Informative
      Have you ever used it?

      Its really iso-linux with a few added features. Everything and I mean everything needs to be installed from scratch. No X, apache, sound, even network settings. You need to setup everything yourself. Very different from the current world of distro's. I suppose some of it is automated like "emerge kde" would install X and kde, but everthing else needs to be installed from scratch.

    4. Re:Gentoo? by Junta · · Score: 3, Offtopic

      That is really bizarre, I've never had any troubles. Especially killing the NIC and IDE controller, I wouldn't blame software if hardware is dying.

      With the portage system, I've never really *needed* to maunally edit unmasked versions of packages. Occasionally I will change the mask rules to try stuff at my own risk, but I haven't needed to do anything.

      All that said, it is at least as workable as LFS and much much easier. While both take forever to get up and going (my computer emerged for an entire weekend), the interactive time for gentoo makes it at least livable (I issued one emerge command with the packages I wanted and spent the weekend doing other stuff).

      LFS is useful for learning a bit more about the system and how it works, but offers few details that can't be gotten in easier ways. What I have found extremely useful about the LFS references is that when I do go after masked packages and have problems, the LFS hints can explain why it broke and a workaround.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    5. Re:Gentoo? by Fiver-rah · · Score: 3, Informative

      That's an unfair characterization. Sure, you get to compile your own kernel and set up a network and all that stuff. But installing new software is always as easy as typing "emerge ". Saying "everything else needs to be installed from scratch" is pretty unfair. There are scripts and ebuilds written so that pretty much all you do by hand is set up the file systems, handle networking, and compile the kernel. You don't need to worry about where to download things, or what to download, or which patches to apply or anything like that.

      --
      Read Bujold. Free (as in
    6. Re:Gentoo? by twistedcubic · · Score: 1


      Why not just use Gentoo?

      I use Gentoo, and I've done LFS before. You really don't have to know much to install Gentoo, and you barely learn anything because everything is so simplified. This is why I use Gentoo. But I don't think it compares to LFS, where you get to do the minute details of every step of the installation, and have to tediously maintain it.

    7. Re:Gentoo? by handsomepete · · Score: 3, Insightful

      I totally agree. I use gentoo now (bizarrely enough) because it's simple to maintain and not terribly hard to install in the first place if you have a weekend to kill, especially in comparison to lfs. There's a massive difference from installing KDE from source and typing 'emerge kde.' As others have said, lfs is great for getting your hands dirty and learning some stuff. Gentoo is for after your hands are dirty and you want to clean them up while still getting that feel-good speed from compiling every package for your system from source. Yeah yeah yeah, you have to hand edit all of the X/ftp/ssh/profile/etc config files and that's a big pain. Deal with it. You should be doing that anyways.

      Why is that everytime someone mentions lfs, someone has to say, "Why not just use gentoo?" It makes us (the users) look like the next generation zealots. I have a better idea - learn what distros do what things and at what difficulty and then choose for yourself. Suit your own needs, dammit.

    8. Re:Gentoo? by Fiver-rah · · Score: 2
      Suit your own needs, dammit.

      Exactly. That's what Linux is all about. I can run Gentoo, and my mom can run RedHat.

      --
      Read Bujold. Free (as in
    9. Re:Gentoo? by Junta · · Score: 3, Interesting

      To be fair though, knowing which patches can and should be applied to particular versions of particular packages is not very useful, long term knowledge. Most of the patches installed by Gentoo are bugfix patches, which are *really* short lived. The occasional feature enhancement patch is relevant longer, but not too much longer. Same with the where to download and what to download. The learning experience of LFS basically boils down to knowing *every* dependency in your system, and how to manually configure every package (though that configuration step is not taken care of in gentoo). The dependency knowledge is of dubious value, as that too is subject to change in the details. All gentoo does is hide the nitty-gritty of requisite packages and keeps you from having to know every dependency. I did a Linux from scratch before (before the 'official' LFS existed, played it by ear), and it really doesn't teach you much that you don't learn in time with distributions. The useful knowledge is how to *use* the applications, not install them.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    10. Re:Gentoo? by thing12 · · Score: 3, Insightful
      Why is that everytime someone mentions lfs, someone has to say, "Why not just use gentoo?"

      Because it's a troll. It gets discussion started...

      It makes us (the users) look like the next generation zealots. I have a better idea - learn what distros do what things and at what difficulty and then choose for yourself. Suit your own needs, dammit.

      Exactly! Over the past 8 or so years I've used Redhat, Debian, Mandrake, a couple of BSD's, and LFS. Now I use Gentoo because it suits me - and I think it would suit nearly everyone who has an interest in LFS. I can't see why most people, even those who want the flexiblity of a source based system, would spend the time to maintain an LFS based system unless they had nothing on a computer except learn about how the computer works. You have no time left over to take advantage of what the computer can actually do for you -- save you time. How much different are your compile time choices going to be from the ebuild's defaults? And if they are different, then edit the ebuild file.

      LFS is just tedious to maintain. Which is part of the reason why it's perfect for an embedded system. You get exactly what you need, nothing more, and you never change it.

      As others have said, lfs is great for getting your hands dirty and learning some stuff. Gentoo is for after your hands are dirty and you want to clean them up...

      LFS is a wonderful experience to install. I'm not discouraging anyone from going out and installing LFS. I just believe that after you've done it once, you don't need to do it again - and that's where Gentoo comes in. Gentoo essentially is what Automated LFS aims to be.

    11. Re:Gentoo? by cowens · · Score: 1

      You are missing the point of LFS. LFS is about learning the hows and whys of Linux, not installing a distribution. Well, that and having complete control over how Linux gets installed.

    12. Re:Gentoo? by HIghoS · · Score: 1

      Actually comparing Gentoo and ALFS is not quite fair. They are both doing different things.

      Yes, even though ALFS is automating the process of the lfs-book, it is _not_ a distrobution. It is a _framework_ for creating distrobutions and custom systems based on lfs.

      Gentoo on the other hand is nothing of the sort. It is more like a mainstream distrobution.

      There is a difference between rolling your own and a source base distrobution... it's a shame more people don't realize they are two very different things.

  8. problems with GCC3.2 though by jormurgandr · · Score: 2, Informative

    I've been using the 4.0 release candidate for about 2 weeks now, and although it is AWSOME, it does have some problems with some packages, like GDB and Tripwire (neither will compile). I'm pretty sure the problems are related to GCC 3.2. Hopefully a patch for GCC will be released soon so as to compile these apps properly. Just a warning for those interested in LFS (its great otherwise).

    1. Re:problems with GCC3.2 though by ct.smith · · Score: 4, Informative

      I wonder if the problems are really gcc3.2 and not the source code. I've just spent the last week trying to compile a suite of programs with 3.2 just to discover that none of it compiles. However, each problem was actually due to use of non-standard C++ code. The issue is that old versions of gcc let a lot of non-standard code compile, but the newest version is much more strict. I would hope that the solution is to fix the code and not make the compiler do silly things to remain backwards compatible.

      I suspect that there is a large amount of code out there that has the same problem. Probably this includes the packages you couldn't compile.

      --
      ** Sig-a-licious **
    2. Re:problems with GCC3.2 though by Anonymous Coward · · Score: 2, Informative

      There were problems with gdb and gcc-3.2, but
      they have been fixed. gdb-5.2 works fine.

    3. Re:problems with GCC3.2 though by jormurgandr · · Score: 1

      I've been trying to compile gdb 5.2.1 with GCC 3.2 with the LFS patch, and the dam thing dies on db_pthread everytime.

  9. Re:This is not a business site by Ron885 · · Score: 1

    what about those who use linux for their desktops at home? there are many of us like that and we use LFS because we want it the way we set it up, not how someone else sets it up.

  10. Well, S&M is a thriving business by Anonymous Coward · · Score: 0

    I can't say it's for me, but hey, if it's your thing...

  11. Gentoo is a great iso-linux distro by Billly+Gates · · Score: 4, Informative
    If you want a balance between installing everything from scratch and a real distro with documentation, then I would recommend Gentoo.

    Gentoo is pretty much based on iso-linux from the linux from scratch project.

    The benefits are great documentation from their website and the best package manager out today. It truly feels like an os you own and not by some corporation since you have to put the os together yourself. The forums are also great. If you want to get your hands dirty and have a huge community help you out through the process then look no further.

    1. Re:Gentoo is a great iso-linux distro by Junta · · Score: 2, Informative

      Well, to be fair, while I *love* portage, I would say the ebuild system isn't the best package manager feature wise (portage would be the package distribution system, ebuild the package system). Ebuilds add optional dependencies, but that is it. But from the perspective of the portage system as a whole, there is a problem. The end system is highly optimized and installs truly are managed well, but if you are undecided about packages that may become dependencies for other packages, well, there is often no turning back while knowing for certain what will be impacted. On installs, portage intelligently figures out what is needed and what optional packages to use based on USE flags. But unmerging will just do that package without regard to broken dependencies. If you are unsure about what you want, gentoo may not be right.

      Personally, I use gentoo on my laptop and desktop (and would my router if I didn't mind spending days for it to finish), but there are things about it that make it not best for everyone.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    2. Re:Gentoo is a great iso-linux distro by Anonymous Coward · · Score: 0

      I've been considering using gentoo, but being a tin foil hat wearer, i've been wondering about one thing. At least the documentation on the web page doesn't mention anything about automatic verification of signatures or even checksums. Is this issue omitted as completely as it seems?

    3. Re:Gentoo is a great iso-linux distro by Anonymous Coward · · Score: 0

      Every file that the package system handles has its md5sum checked.

      It isn't perfect (read as: malicious developer / hecked Gentoo mirror server) but it's a fair bit better than nothing.

    4. Re:Gentoo is a great iso-linux distro by Simon+Kongshoj · · Score: 2, Insightful

      Why is it that every time someone mentions any other distro (especially LFS), Gentoo users apparently feel duty-bound to storm out and preach the glories of their distro?

      You people really sometimes come across as zealots. I've messed a bit around with both Gentoo and LFS myself (I liked both), but one of the main reasons I don't do Gentoo at the moment is simply that I'm so fed up with the legion of Gentoo fanboys who can't understand thatreason. Grow the hell up. Just because Gentoo is a nice, even great, distro doesn't mean that the rest of the Linux distro scene sucks.

      Does the tech community really need all this ridiculous zealotry and misguided "advocacy"? If craftsmen felt the same way about their tools as we computer people do about ours, we'd have screwdriver fans advocating the use of a screwdriver for driving nails and chopping wood, while the chainsaw fanboys are out trying to drill holes and change tires with their chainsaws. Hint: Different distros, different text editors and different programming languages exist for a reason: People are different. "Different" does not necessarily have to become a question of better or worse.

      </RANT> -- this might be flamebait, but don't say I didn't warn you.

      --
      Six sick .sigs, the Number of the Beast!
    5. Re:Gentoo is a great iso-linux distro by io333 · · Score: 2

      I'm sitting here typing from Mandrake 9. For the first time ever, I have both my cheap scanner and my cheap printer working (at the same time!).

      Last week I was running Gentoo 1.3. I decided to give Mandrake another try before going to Gen1.4 since I was wiping the drive clean anyway.

      Here's the thing: Mandrake9 feels even *faster* than Gen1.3 was. It's even hard for ME to believe. I assume it has something to do with gcc3.2, but I'm not sure.

      Has anyone tried Gen1.4? Is it faster than Man9?

    6. Re:Gentoo is a great iso-linux distro by Anonymous Coward · · Score: 0

      Why is it that every time someone mentions any other distro (especially LFS), Gentoo users apparently feel duty-bound to storm out and preach the glories of their distro?

      s/LFS/Windows
      s/Gentoo/Linux

      dumbfuck.

    7. Re:Gentoo is a great iso-linux distro by AstroDrabb · · Score: 2, Interesting

      Gentoo is a good distro. Like any other distro it has it's pros and cons. A pro would be compiling your own code usually gives you a faster system. A con, well compiling your own system takes a while. Imagine trying to maintain 4,000 Gentoo PC's with different hardware/software requirements? It be pretty tuff. One thing I don't understand is why most Gentoo users get so uptight about LFS. I have been using LFS for about 2 years and I love the distro that LFS taught /me how to build. Gentoo is not about building your own system. You are building a Gentoo systems the way Gentoo sets things up. I hate the way Gentoo installs Apache/PHP. I didn't like Gentoo's 1.2 install of Gnome, however Gentoo 1.4's Gnome is better but it gets installed in /usr which to me is silly. Sure I can go and muck around with ebuilds, but that takes time, just as much if not more then doing an install on LFS and it is another build system to learn. Linux is about choice, and some will choose Gentoo, some Redhat. I like Gentoo and LFS. The one most important thing to remember is that LFS IS NOT A DISTRO. LFS is about teaching YOU how to build your own Linux system. How to start with bare hardware and build a system from the ground up. Gentoo is not about teaching or learning how to build a your own Linux system. It is a distro like Redhat, mandrake, etc. Instead of using RPM's compiled for 386, Gentoo will build software for you. Configuring some files under /etc is NOT the same as building your own distro based on the LFS books. With ANY distro there will be configuring. I think Gentoo fits in nicely for a Linux Power User. Where one might get bored with Redhat/Mandrake, Gentoo will help you "Kick it up a notch". LFS taught me SO much about Linux, being a programmer, my skill set has gone through the roof when it comes to programming under unix/linux. I will always be grateful to Gerard Beekmans and him sharing his knowledge of Linux with the world. Jim Drabb Programmer Analyst Davenport, FL

      --
      If Tyranny and Oppression come to this land,
      it will be in the guise of fighting a foreign enemy. -James Madison
    8. Re:Gentoo is a great iso-linux distro by entrigant · · Score: 1

      This guy was simply bringing up a suggestion for a nice distro closely related to LFS yet easier to use in certain ways. He wasn't putting down other distros. He wasn't demanding you use gentoo. He didn't "storm out and preach." I don't see how it was misguided considering the close relation between gentoo and LFS.

      It appears to me that gentoo in general hits a nerve with you. If someone came out and posted "GENTOO RULeS EVERYTHING ELSE SUCKS@!##@!#" then I'd be right there with you. However you're not. Lighten up. Believe or not, not everyone has heard of gentoo yet.

    9. Re:Gentoo is a great iso-linux distro by IdleTime · · Score: 1

      " Imagine trying to maintain 4,000 Gentoo PC's"
      I suppose it is easier with LFS?

      "I didn't like Gentoo's 1.2 install of Gnome, however Gentoo 1.4's Gnome is better but it gets installed in /usr which to me is silly."
      And why is that silly? Should it be in /opt or /usr/local or? One of the things I like about Gentoo is the way they actually install differnet versions. I run KDE 3.0 and 3.1Beta2, they are installed under /usr/kde/3 and /usr/kde/3.1 Which makes it easy to switch between a stable and a beta version.

      " LFS taught me SO much about Linux, being a programmer, my skill set has gone through the roof when it comes to programming under unix/linux."
      I fail to see how compiling LFS teached you so much about programming under Linux? Unless the LFS is so immature that you actually has to go into the various programs source code and change the original source for it to run under LFS. If that is the case, I guess 99.99% of every Linux user should stay away from LFS. Else I fail to see how LFS is teaching you a lot about Linux programming.

      We all like different types of distro's and we all want to promote "THE ONE" but please be a little bit sober.
      I see a lot of things in LFS that appeals to me, but I also see a lot of things in Gentoo that appeals to me and in SuSE, RedHat, Debian and a few other distros. It's all about choice and you choose what suits you best. Whether you like a distro or not, at least don't throw around things that are not true. It will not help YOUR distro look good.
      Peace!

      --
      If you mod me down, I *will* introduce you to my sister!
    10. Re:Gentoo is a great iso-linux distro by Simon+Kongshoj · · Score: 1
      It appears to me that gentoo in general hits a nerve with you. If someone came out and posted "GENTOO RULeS EVERYTHING ELSE SUCKS@!##@!#" then I'd be right there with you. However you're not. Lighten up. Believe or not, not everyone has heard of gentoo yet.

      I have nothing against Gentoo. It's a great distribution, I've used it myself and liked it a lot. I have more fun with LFS though, but that's a matter of taste. And no, the original poster of this post did not spout Gentoo zealotry. My post was more of a general observation of Gentoo users' behaviour on various forums (I've seen a lot of it here and on Newsforge, especially when the subject is either Slackware or LFS) than about him in specific. Users of Gentoo, like users of any other distribution, come in many different sizes and shapes. Unfortunately, there really does seem to be a lot of them who seemingly can't resist the twitch in the g3nt00 0wn5 muscle when people are talking about other distributions. I'm not saying that all Gentoo users are like that -- they aren't. I'm not even sure if it's most Gentoo users, it could just as well be a loud minority.

      The problem is that it seems to either be a larger group within the Gentoo community than elsewhere, or it's just that their loud minority is louder. I don't have numbers or something similar to back this up, it is just an observation from around the discussion forums I've followed. My observation could be biased because I'm interested in Gentoo and LFS, and Gentoo (or LFS -- but there doesn't seem to be as many of those) zealots are obviously more likely to pop up in such discussions than elsewhere. It's also my experience from offline conversations about Linux distros that there appears to be a large number of 'preachy' Gentoo fans. This honestly annoys me, because I hate preaching and technological zealotry about as much as I like Gentoo.

      Of course, my observation can be wrong, but if it isn't, I think the likely explanation is simply because Gentoo caters to a specific kind of user, namely the geeks/tech enthusiasts. There's nothing wrong with this, LFS caters to that userbase as well, and I regard myself as one of its members. However, there does seem to be a certain tendency towards zealotry in this particular group -- emacs vs. vi, Perl vs. Python, Linux vs. BSD, OOP vs. any other programming paradigm, you get the picture. Geeks tend to develop feelings for their tools of choice, and a lot of us seem to believe that a positive feeling for our favourite distro/language/paradigm/processor/whatever automatically applies to everyone else, and that whoever disagrees with them are wrong. That's what fuels all our silly holy wars, and it's stupid.

      My comment was really more about geek psychology in general (specifically manifested in what seems to be a too large part of the Gentoo userbase) than about the Gentoo distro, or the original poster. If I seemed abusive, I'll blame caffeine deprivation. ;.)

      --
      Six sick .sigs, the Number of the Beast!
    11. Re:Gentoo is a great iso-linux distro by Anonymous Coward · · Score: 0

      You're refusing to use something just because some of the other people who use it annoy you? Maybe you should grow up and ignore them. There is nothing wrong with trying to illustrate the merits of one thing over another. It's called debate and it's quite healthy.

  12. Re:Gentoo config files by thing12 · · Score: 2, Informative

    The gentoo config files are not all that bad - they bring order to the chaos that is a source based distribution. With LFS you either remember what you have installed (which may be easy since you tend not to install very much when you have to do it from scratch) or most likely keep track if it in a file (or on paper). Either way you need to know what you have installed so you have that info available to pass as configure options. With gentoo you keep track of that in one place. Then for every package that *can* use, for example, OpenLDAP it will automatically be configured to use it. It's so much easier than LFS - and yet I'm failing to see what you lose with Gentoo...

  13. This is only slightly off-topic but, by Anonymous Coward · · Score: 0

    it would be nice if it came with cron. Don't get me wrong, I've used and love lfs, and yes I can get cron elsewhere, but as it is a rather basic thing to have, it would have been nice to see it finally be included in this wonderful distribution...

    1. Re:This is only slightly off-topic but, by Ron885 · · Score: 4, Informative

      the reason LFS doesn't come with cron is because it is not an ESSENTIAL program to the operation of a linux system. you may want/need it, but someone else might not. it isn't essential so its not included, plus there are hints that provide information on how to compile it. that is what is so great about lfs, anyone in the community can contribute by writing a hint.

    2. Re:This is only slightly off-topic but, by shoppa · · Score: 4, Interesting
      Three points:
      1. Cron is not essential.
      2. Cron has historically been a security risk. What's the patch level on Vixie-Cron? :-)
      3. Cron packages generally (there are exceptions) require a sendmail-like mail system for reporting results. Sendmail (and even its not so cumbersome clones) isn't generally necessary or even wanted.
      All that said, there's a wide choice of crons you can install, just see the BLFS (Beyond Linux From Scratch) hints.
    3. Re:This is only slightly off-topic but, by Johan+Veenstra · · Score: 3, Informative

      A text webbrowser, a ftpclient, telnet etc is also pretty basic, but don't expect to find it in LFS. LFS is sorta just enough to build another LFS from.

      If you want that cron/ftp/telnet/lynx/cdrecord/lame/xfree/kde/gnome etc etc stuff, check out Beyond Linux From Scratch:

      http://beyond.linuxfromscratch.org/

      Johan Veenstra

    4. Re:This is only slightly off-topic but, by Anonymous Coward · · Score: 1, Funny

      Linux? Without cron??!?

      *prays to the sun-gods for his programs to once again magically run on time*

    5. Re:This is only slightly off-topic but, by Anonymous Coward · · Score: 0

      not to be a bother, but by saying that lfs contains only what is essential for running linux do you also mean to say that reiserfs is essential? I want my cron ;)

    6. Re:This is only slightly off-topic but, by HIghoS · · Score: 2, Informative

      You obviously didn't take the time to look at any of the recent books then. ReiserFS support was removed a nunber of months ago (from the lfs-book) and moved into the blfs-book.

      There is now a dedicated section, not just for ReiserFS but any other FS we eventually want to include and support;

      http://beyond.linuxfromscratch.org/view/cvs/post lf s/filesystems.html

  14. LFS is great by Repugnant_Shit · · Score: 2, Informative

    Its been a great way for me to learn the ins and outs of Linux. I still don't know everything but I'm much more comfortable setting everything up. And the #LFS channel on irc.linuxfromscratch.org is very helpful.

    As an aside, try using Slackware 8.1 for your base distro. Its got a pretty small footprint but it still has everything you need.

    1. Re:LFS is great by Anonymous Coward · · Score: 0

      A way to get to use all of the harddrive is to make the partition used for the base distro the partition that will be used as the /home partition. You don't need it while building the system, and once you no longer need the distro you can wipe it to use as /home

  15. Pointless? by TriCCer · · Score: 3, Insightful

    I don't get you. LFS is a great way for people to get a grasp of what gnu/linux is/contains. If they have the time or not is up to them, but this definately is news for nerds. I'd say that lfs has great eductational value. but that's me.

    --
    c0w goes moo.
    1. Re:Pointless? by Anonymous Coward · · Score: 0

      What don't you get? I made a comment on the inapplicability of LFS in a business scenario. I'm sure LFS is useful in learning about Linux and its various parts, but in the "Real World" it is as useless as a broken printer.

  16. Why LFS indeed? by ageitgey · · Score: 5, Informative

    I'm sure people are going to reply saying that LFS is a niche product and not news that many people care about.

    Well, though most of you are probably exposed to Linux through the desktop, Linux is winning it's in-roads in the industry through embedded systems and handheld devices (not desktop). Functional LFS installs can be as little as 5 megs or so and completely customized. Perfect to compete with several-thousand-dollar offerings from MS, Palm, etc.

    So if embedded systems are driving commercial linux support, in a way LFS and systems like it are more important in the short term than Mandrake and SuSE.

    So why not write your local LFS contributer and say thanks?

    --
    Uninnovate - Only the finest in engineering.
    1. Re:Why LFS indeed? by hirschma · · Score: 2, Interesting

      Although the LFS folks have been making the claim of an 8 or 5 meg installation, I've yet to see any clear docs on how to do it. I'd like to. Anyone know of a related hint or how-to that details the slimming process?

      jonathan

    2. Re:Why LFS indeed? by Ron885 · · Score: 1

      that was a "hey we can do it" type thing, there are actually no docs on how to do that yourself, a few people have asked for that.

    3. Re:Why LFS indeed? by Johan+Veenstra · · Score: 1

      Not really that difficult, just build LFS and install the feature that you need (ftpd for example). And then remove *everything* that's not needed anymore :)

      Johan Veenstra

    4. Re:Why LFS indeed? by HIghoS · · Score: 2, Informative

      Hrm... Actually getting a system running in 5-8MB is quite modest today. At the time (2y ago) Gerard had build a complete lfs system and stripped all the useless packages/files from the system and then installed apache. It actually worked quite well for it's purpose.

      Today, it could be done in under 1MB by switching to uClibc from Glibc and so forth.

      Honestly however.. just do some research. I know of dozens of people that have done this over the years, many of them have posted details on weblogs, mailing lists, portals, etc. It's such a grey area and considered more "embedded" then custom that there isn't much of a need for documentation like the lfs-book.

      It's just assumed that if you are going to be working on such a project-you at least know where to start :)

      *shrugs*

    5. Re:Why LFS indeed? by tzanger · · Score: 3, Interesting

      Although the LFS folks have been making the claim of an 8 or 5 meg installation, I've yet to see any clear docs on how to do it. I'd like to.

      That's because you need to learn it yourself. :-)

      Honestly though, I personally have a LFS-based firewall system (kernel+netfilter+ipsec+ssh+snmp+ntp+vim+perl (yes perl)) that fits in to an 8M CompactFlash card. Now I use 16M cards and add a 3M boot/config partition with grub, but making small linux distros is dead simple with uClibc and busybox (both are in the LFS hints).

      The basic recipe is to use uclibc and busybox, optimize for size (-Os), strip everything you can and once all of that is done, go through and remove any unnecessary libraries and files. Big hint: you don't need documentation on small distros.

  17. educational value by mrm677 · · Score: 5, Insightful

    LFS is a great way to learn Linux. It truly helped take me to the next level of my personal understanding of how things work.

    However I would never recommend it for a production system. Even using it for a personal workstation takes loads of time to manage. One doesn't appreciate package management until they have installed a LFS system!!! Of course one could always use RPM/APT/DEB after doing a LFS installation...

    1. Re:educational value by jgkastra · · Score: 3, Interesting
      Package management?

      My current LFS install (3.3) has LFS installed in the default places, and everything else created after LFS in /opt in its own directory. The files are symlinked into their respective directories in /opt, and are uninstalled by reading the list of files in the /opt/foo/* directories. I can then rm -r the directory and uninstall the package.

      My next installation is moved towards installing the core in /usr/lfs and /lfs and symlinking out from there.

      This keeps me in check with the program version and what is installed with a simple ls. The only time I've had to use a package manager is to install Glide (I couldn't compile Glide, so I had to use RPM).

    2. Re:educational value by mrm677 · · Score: 1

      Yes, I used the same approach when I maintained my LFS system. Except I used a tool to manage the symlinks (I forgot the name of what I used though GNU has a similar tool). It still got tedious after awhile....at least in my opinion. Also symlinks do have a very small effect in speed and usually take up 4k per symlink depending on your choice of file system.

    3. Re:educational value by Anonymous Coward · · Score: 1, Insightful

      The only reason I wouldn't is it takes a long time to set up. If you do it once, though, you wouldn't need to do it again.

      Seriously, it depends on the purpose of the production system and how often you install/change packages. Often I wind up compiling software from scratch anyway. For instance, I've never been able to use a standard apache. A source RPM isn't all that useful if you need to add compile options and modules, etc., etc.

      Where I really miss RPM's or DEB's is when I need to recompile something huge like gnome or KDE--which is more of an issue on desktops.

      Keep in mind, too, that it is possible to install a package manager, and use it for the non-base packages.

    4. Re:educational value by gte910h · · Score: 1

      I would have to say I NEVER liked pakage management. I always have performed src installs. I don't like the amount of time required to get a LFS system started, but after that, its no problem.

      --
      Want to see every step I took to start my company? http://www.rowdylabs.com/blogs/pitchtothegods
    5. Re:educational value by Tekmage · · Score: 4, Insightful

      Ditto on the educational value. I'd been using Linux in various forms since '93, but it wasn't until I started exploring LFS that I really began to understand and appreciate what went on behind the curtain.

      I'd argue the "never in a production system" point though. For an average end-user, sure. But if you have a particular end use(r) in mind (robot control, wearable computer, multimedia entertainment, home automation, etc) then it may be easier to enhance an LFS recipe than prune back a generic distro.

      --
      --The more you know, the less you know.
    6. Re:educational value by adam613 · · Score: 5, Insightful

      I beg to differ. I'm running LFS (a CVS version from early August) on a small-time production web/email server. It was much simpler to set up than RedHat because I knew exactly what was being installed where, and I had configured everything myself. It took the better part of the day to compile LFS and the other packages necessary to set up the server, but it was ready to go the minute I was done compiling.

      It's been up and serving for 38 days straight. It was up for a month straight before that, but I had to bring it down to add memory and remove the cdrom drive.

      I'm also running LFS on a desktop machine. It's not as pleasant to use as the server (KDE took 8 hours to compile), but it was definitely worth the effort it took to set up in terms of learning, stability, and configuration flexibility.

      I appreciated package management a LOT more before I started using LFS. I got into LFS originally because I got sick of Mandrake installing hundreds of packages I didn't recognize or need. I want to know exactly what's on my system and why. And I hate when a package refuses to compile or install due to dependencies which shouldn't be failing. I've never had that happen in LFS.

      LFS definitely has a steeper learning curve than pre-built distros. But what it loses in initial ease-of-use, it more than gains in long-term stability and simplicity. I wouldn't recommend that someone do their first (or second or third or fourth) LFS build on a production server, but after experimenting with it and really learning how it works, I can't go back.

      YMMV, obviously. Not everyone is paranoid and anal like I am.

    7. Re:educational value by CoolVibe · · Score: 3, Informative
      Also symlinks do have a very small effect in speed and usually take up 4k per symlink depending on your choice of file system.

      This "problem" has a simple solution. If the slack from symlinks bothers you that much, why not move to a extent-based filesystem like XFS? I use it on most my LFS and Gentoo boxes, and it works like a charm.

    8. Re:educational value by Simon+Kongshoj · · Score: 3, Informative

      The GNU tool you're referring to is probably Stow.

      Other good package management tools for LFS use include Depot, Graft, swpkg, opt_depot and the countless other free package managers whose names I have forgotten.

      --
      Six sick .sigs, the Number of the Beast!
    9. Re:educational value by Anonymous Coward · · Score: 0

      "YMMV, obviously. Not everyone is paranoid and anal like I am."

      The obvious question would then be: Would You Use an LFS built by someone else?

      Now imagine some poor soul managing your server after you got hit by a bus.

      I hope you've documented everything..

  18. Uh by Anonymous Coward · · Score: 0

    My, and the majority of the world's favorite OS, is Windows.

    1. Re:Uh by YahoKa · · Score: 1
      You are 100% correct to say that it is the majority of the worlds favorite OS.

      But why is that? Because it is the only option for most people.
      Linux is still sort of an option for some, but perhaps it wont be the day we are required to use Microsoft ® Palladium.

    2. Re:Uh by glenstar · · Score: 1
      But why is it the only option for people? The reason is simple: Windows just "works"... at least as far as Joe Blow is concerned. Joe Blow isn't going to want to cd /usr/pkgsrc/www/mozilla; make && make install and then wait a fairly long amount of time for it to compile and install.

      As a developer, I *most* of the time enjoy doing builds from source, or using some of the more obscure switches for pkg_add or rpm. The *vast* majority of the population wouldn't even know where to begin.

    3. Re:Uh by Vinum · · Score: 1

      It is the only option because 95% of commercial applications/games in the store are for Windows. If Wine was actually up to par, or 95% of applications were written in Java (and someone implemented a fast JVM) then there would be choice.

      I always complain to vendors when they send me quotes in excell format (and if I can help it I avoid using them all together) but... gee. Most people in the business world don't have a choice either with properiety file formats being exchanged between business types.

    4. Re:Uh by Anonymous Coward · · Score: 0
      I always complain to vendors when they send me quotes in excell format (and if I can help it I avoid using them all together)

      It's people like you that cause 9/11.

    5. Re:Uh by Vinum · · Score: 0, Troll

      Its people like you who keep the gene pool healthy. Thanks for being a geek and not breeding. :)

    6. Re:Uh by hdparm · · Score: 1

      Majority of the world doesn't actually care, since people are pretty clueless when it comes to computers - try to ask around and you'll be surprised how many people will answer that their OS is Microsoft.

    7. Re:Uh by Anonymous Coward · · Score: 0

      Heh.

      Actually, I'd be impressed with their technical knowledge if they said "microsoft." I bet half would say "what is an operating system," and the other half would say "msn" or "aol" or something.

  19. "pleasure?" by Anonymous Coward · · Score: 3, Funny

    "Linux install" and "pleasure" do not belong in the same sentence.

    1. Re:"pleasure?" by Xpilot · · Score: 3, Funny

      This guy seems to disagree with you.

      --
      "Backups are for wimps. Real men upload their data to an FTP site and have everyone else mirror it." -- Linus Torvalds
  20. The Way to Learn by fm6 · · Score: 4, Interesting
    I've heard popular distros like Red Hat criticized because they do too much hand-holding. The theory is that you'll learn more about how Linux works if you use a less user-friendly distro, such as Slackware.

    But if you need handholding, you really need it. On the other hand, if you're comfortable with using Linux, but want to know more about how it's put together, even Slackware is too high-level. LFS, on the other hand, is the ultimate Linux-learners tool, because it doesn't automate anything.

    1. Re:The Way to Learn by Glytch · · Score: 2

      Amen to that. I've always loved Slackware, and it's always my first choice for most systems, but my main desktop is LFS. My only nitpick is how the premade boot scripts in the book are (ick) SysV. Ah well, at least it taught me to write boot scripts from scratch, too. :)

    2. Re:The Way to Learn by HIghoS · · Score: 1

      I guess you haven't heard about the lfs-hints yet. One of the major reasons for doing LFS, is the educational value, which is why we like to encourage users to experiment and change the book to fit _their_ needs, so...

      Considering you are talking about Slackware, I assume you would prefer a bsd init system; http://hints.linuxfromscratch.org/hints/bsd-init.t xt

    3. Re:The Way to Learn by Glytch · · Score: 2

      Actually, that's exactly where I learned it. I used the scripts in bsd-init.txt, and modified them. I like to have a runlevel without networking but with virtual consoles (long and boring story behind that), and that hintfile made it easy.

    4. Re:The Way to Learn by sowellfan · · Score: 1

      Ok, I've been intrigued with LFS for some time because of the whole learning aspect, but I'm sure I'm not ready. What I'm wondering is what should I do to get myself to the point of being ready to touch LFS?

      Background: I have Suse Pro 8.0 on a separate switched HD, and I am a *nix newbie. I got it installed ok, and to be honest, I haven't touched it in about 5 months (I am studying for my professional engineering exam in mechanical engineering...once I get a pass I'll have time for Linux again...until then my wife stresses every time she even sees me checking a few web sites when I could be studying, much less spending hours on end learning Linux). My plan is to lock down my Suse distro as much as possible once I'm out of this test, using the Max. Linux Security, 2nd ed. book. I also plan to make an old 486 computer into a hardware firewall, with one of the firewall optimized distros. I started learning emacs before I got pulled away, and I plan to become as proficient as possible with that.

      Beyond these things, what else should I do to learn? My job is not in IT (I design HVAC systems), so there aren't really any on the job tasks to use Linux for. Any pointers would be appreciated.

  21. He may be trolling, but he is right. by Prince_Ali · · Score: 0, Offtopic

    Windows is my favorite too, but I am unwilling to use XP because of their "anti-piracy" features. I guess Linux will be installed on my next computer.

    1. Re:He may be trolling, but he is right. by wikki · · Score: 0, Offtopic

      Ugh OH, Everyone watch out, we have an adminitted pirate among us

  22. That's why I use FreeBSD by johnkp · · Score: 1, Troll

    If you're like me you like to have everything compiled from scratch. Thats why I tried LFS some months ago, but found it at that the time it took to make a basic setup was awful long. Then I switched to gentoo but I disliked their portage system, but finally I setteled with FreeBSD. Compiling everything from scratch is as easy as:
    cvsup stable-supfile
    cd /usr/src
    make world && make buildkernel KERNCONF=MYKERNEL && make installkernel KERNCONF=MYKERNEL

    and ports+portupgrade is just great.

    1. Re:That's why I use FreeBSD by Anonymous Coward · · Score: 0

      apollo# pkg_add -r xpdf

      Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packa ges-4
      .5-release/Latest/xpdf.tgz: File unavailable (e.g., file not found, no access)

      pkg_add: unable to fetch `ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/pack ages-
      4.5-release/Latest/xpdf.tgz' by UR

      apollo# pkg_add -r galeon

      Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packa ges-4
      .5-release/Latest/galeon.tgz: File unavailable (e.g., file not found, no access)

      pkg_add: unable to fetch `ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/pack ages-
      4.5-release/Latest/galeon.tgz' by URL

      Oh yeah! Don't you JUST LOVE FreeBSD's ports? This is a proof how fucking GREAT it works!

    2. Re:That's why I use FreeBSD by Anonymous Coward · · Score: 0

      Ports is not great when it doesn't work. There has been *major* problems with FreeBSDs Ports in recent months. I know, I've got 2 BSD boxes and I ain't satisfied.. Besides, before claiming Ports is great, take a look at Gentoo Linux's portage system. It is more advanced version of ports. Gentoo Linux's main developer Daniel Robbins abandoned FreeBSD 'cause all the fun was happening in Linux and he created portage based on his FreeBSD experience.

    3. Re:That's why I use FreeBSD by Anonymous Coward · · Score: 0

      cd /usr/ports/print/xpdf/ && make install
      cd /usr/ports/www/galeon && make install

      Idiot.

    4. Re:That's why I use FreeBSD by glenstar · · Score: 1

      Those aren't ports, those are binary packages you are trying to add.

    5. Re:That's why I use FreeBSD by Anonymous Coward · · Score: 0

      Binary packages - so what? The point is, it just doesn't work! "pkg_add -r " should fetch a program and install it.

    6. Re:That's why I use FreeBSD by Anonymous Coward · · Score: 0

      You're missing the point here pal. Why doesn't "pkg_add -r software" work the way it should? FreeBSD's manual explains it should fetch and install the software. Well, hey, IT DOESN'T WORK!

    7. Re:That's why I use FreeBSD by Anonymous Coward · · Score: 0

      Cannot reproduce.
      For me, it works...

    8. Re:That's why I use FreeBSD by Just+Some+Guy · · Score: 2
      ...and it does - if and only if the referenced package exists. Try this sometime on a Debian system:
      apt-get install cr,iopcreq8902rw
      and see if you don't get an error message. Why would you expect FreeBSD to be any different?
      --
      Dewey, what part of this looks like authorities should be involved?
  23. LFS as the basis for a distro by pcardoso · · Score: 2, Interesting

    For some time I'm toying around with the idea of using LFS as the basis of a linux distribution.

    Use LFS to create a linux demo/distribution, a bit like Beos R5. You boot the cd, try it out, and if you like it, have a program to copy the cd over to the hard disk and setup a bootloader.

    And keep it small. BeOS managed to cram a lot of stuff into a 40mb iso image. Current mainstream distros are too fat, spreading all on at least 2 cds.

    Well, gotta ditch the older version and check this new LFS book.

    1. Re:LFS as the basis for a distro by Johan+Veenstra · · Score: 1

      40mb iso image is possible, but it would be 40mb of compressed data and don't expect XFree to start.

      [lfs]$ startx
      bash: startx: command not found

      Johan Veenstra

    2. Re:LFS as the basis for a distro by dogas · · Score: 3, Informative

      Knoppix essentially does what you're saying.

      It's a distro that doesn't use the hard drive at all. It boots from a cd, detects your hardware, and loads up KDE3. It's does a pretty good job at hardware detection, although saving your settings (and files) for the next time is kind of a pain. However, for trying Linux out without screwing up your machine, Knoppix does a pretty good job.

      --
      'When the going gets weird, the weird turn pro.' -HST
    3. Re:LFS as the basis for a distro by burns210 · · Score: 1

      keep things small? easy. just have zero redundancy in the software. only 1 word processor(using OOo would cover several bases), 1 window manager, 1 browser, 1 mp3/ogg/movie player and so on.

  24. Re:Gentoo config files by Anonymous Coward · · Score: 1, Interesting

    >It's so much easier than LFS - and yet I'm failing to see what you lose with Gentoo...

    Simple: If you are looking for easy, do not do LFS.

    If you are looking for a pre-made distro, do not do LFS.

    (Note that I said "do LFS" instead of "use LFS" above. With LFS you build the system the way you
    want it, THEN use it the way you want to)

    Stick with Gentoo if you don't get it, or don't want it...

  25. Bah by roly · · Score: 0

    I could never get 3.3 to work. Does it still support Red Hat 6.2 as build system? (me was using RH6.2 to build LFS)

    --
    "With Microsoft, you get Windows. With Linux, you get the full house" - unknown
  26. make the switch by Anonymous Coward · · Score: 0

    If you've never installed linux or want to reinstall, start fresh and run FreeBSD instead.
    It's a great operating system and the leader in innovation and is the base for Mac OS X.

    1. Re:make the switch by mvdw · · Score: 1

      If you've never installed linux or want to reinstall, start fresh and run FreeBSD instead. It's a great operating system and the leader in innovation and is the base for Mac OS X.
      I thought NetBSD was the basis of OS X? NetBSD and FreeBSD forked, what, 5 years ago??

    2. Re:make the switch by osu-neko · · Score: 1
      Err, no. FreeBSD and NetBSD are both part of the BSD family, and thus do share a common codebase, but neither is, technically speaking, a fork of the other.

      See this page for a good family tree...

      As for timeline, I believe both FreeBSD and NetBSD forked their own branches of the BSD tree in 1993...

      --
      "Convictions are more dangerous enemies of truth than lies."
  27. Wait for it... by Froze · · Score: 1

    Want to play with multiple distros? but you don't want to trash your setup? wait until the next major kernel release, you will be able to play with this with out even rebooting! The new VM in the latest kernel is touted as being able to run multiple installations.
    LINUX ROCKS!

    (disclaimer, this is only an opinion, not actually based on first hand experience)

    --
    -- The morphemes of your disquisition are ascertainable, but they have eschewed an ambit of transpicuous exposition.
    1. Re:Wait for it... by Anonymous Coward · · Score: 0

      usermode linux? u don't have to wait for the next kernel release for that.

    2. Re:Wait for it... by forming · · Score: 0

      User Mode Linux is not the "new VM". Rmap is the new VM, which stands for "Virtual Memory" by the way. User Mode Linux is something very cool though, and yes, you don't have to wait until 2.6/3.0 comes out to try it. Look here or here.

  28. LinuxFromNotSoScratch.com by Dark+Lord+Seth · · Score: 1

    From: LFS Book 4.0 - Chapter 1.1, Section 2

    We are going to build the LFS system by using a previously installed Linux distribution such as Debian, SuSE, Slackware, Mandrake, RedHat, etc. We will use the existing Linux system as the development platform, because we need tools like a compiler, linker, text editor, and other development tools to build our system. Ordinarily, the required tools are available by default if we selected "development" as one of our installation options when we installed a Linux distribution.

    Okay, so what do these people mean by "Linux From Scratch"? Installing another distro first to install "required tools" is in my view not installing from scratch. I was hoping to be able to install a very, VERY base HD based distro for my two antique 486s with just the standard stuff (GCC, shell, GNU utils and iptables) for use as a router/NAT gateway but that is quite far out of the question now. Huge disappointment from something with such a promissing name.

    1. Re:LinuxFromNotSoScratch.com by Ron885 · · Score: 2, Insightful

      yes, you do need somewhere to compile the chapter 5 programs in, but there are many people who provide iso images with the chapter 5 programs precompiled, or you could use another box to compile the stuff for chapter 5. after you have that sorted out, you could than just install the things from chapter 6 that you want and skip the other things. what is nice about lfs is that you can install what you want and not install what you dont want.

    2. Re:LinuxFromNotSoScratch.com by amccall · · Score: 5, Insightful
      What do you want them to start from? Flip 0's and 1's on a front panel?

      In order to build ANYTHING you need an existing tool chain. Here that means gcc, bash, ld, etc... LFS starts with creating a bootstrap system using your existing distribution: this existing distribution might just be a bootable ISO cd. LFS DOES go through everything: the kernel, gcc, glibc, ... everything.

      LFS will show you how to build your own Linux, step by step. It will tell you everything you need to know to understand the bootup process.

      If you want to run LFS on a 486 though, you'd probably be a lot better off getting it going from your main system, and then copying over. glibc alone can take HOUR(S) to compile on a modern system.

      --
      ------ 24.5% slashdot pure
    3. Re:LinuxFromNotSoScratch.com by JebusIsLord · · Score: 1

      Dude how are you going to install an OS without an OS? explain please how you will boot up a machine with nothing on it and proceed to download and install packages without a compiler, terminal, shell prompt etc.

      Here is a hint for you though: download an iso linux distro (one that boots off cd) and build using that. or install redhat on a second hard drive that you can remove after you are finished.

      --
      Jeremy
    4. Re:LinuxFromNotSoScratch.com by jonadab · · Score: 3, Insightful

      > Okay, so what do these people mean by "Linux From Scratch"?
      > Installing another distro first to install "required tools"
      > is in my view not installing from scratch.

      If I understand correctly, the other distro you use to build
      your LFS is not part of your finished project, and does not have
      to be installed on the same drive or end up running on the same
      hardware. i.e., you can take the hard drive from your 486 and
      pop it in any working Linux system and build LFS on it, then
      put it back in your 486 and use your shiny new LFS. At least,
      I think that's the theory.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    5. Re:LinuxFromNotSoScratch.com by Anonymous Coward · · Score: 0

      you can what you are hoping, but probably not
      build-and-install-in-place. You would need to
      do a build on another system (with at least 1GB
      of free space) and tar up the resulting tree,
      transfer it over to your net-connected 486 (I
      presume it has no CD) and to effect that transfer,
      you would use some mini-floppy distro like tomsrtbt.
      I put LFS on a thinkpad 350c, 486slc/33, 16MB RAM
      with a PCMCIA net card that way. About 110 MB if
      you remove Perl; about 85 if you remove GCC.

    6. Re:LinuxFromNotSoScratch.com by Max+Threshold · · Score: 1

      That pretty much sums it up. You build a few essential tools, linked statically so they can run on their own. Then you chroot into
      where the tools are and build glibc. Then you build everything again inside chroot, dynamically linked against your shiny new glibc. Set up init scripts and a kernel and you can boot the thing.

    7. Re:LinuxFromNotSoScratch.com by smittyoneeach · · Score: 2
      Flip 0's and 1's on a front panel?
      Get some! Go AN/UYK-7!
      -1 Jackass
      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    8. Re:LinuxFromNotSoScratch.com by Wiwi+Jumbo · · Score: 1

      The Altair was the first home computer. You had to assemble it yourself (as in, from what I understand, put each chip on the board. Tho I think traces where already laid out for you) and even then there was no monitor, no keyboard, just a CPU, RAM, switches and lights on the front.

      You'd set 8 bits (Up, Down, Down, Down, Up, Up, Up, Up) and then flip another switch to store it in memory. Repeat as required.

      People would do this for *pages* of code... with the only result being the lights flashing.

      We don't realise how lucky we are. :) (and I don't even code!)

      Google gave me this:
      http://www.geocities.com/~compcloset/MITSAl tair880 0.htm

      --
      Wiwi
      "I trust in my abilities,
      but I want more then they offer"
    9. Re:LinuxFromNotSoScratch.com by troels · · Score: 1

      I dont know which "modern" system you have, but for me compiling glibc took approximately 15 minutes. (athlon tbird 1333, 512 mb ram)

      And no, im not saying this just to nitpick, but to prevent people who are interested to run away because they think it takes way too long time. Of course it did take me most of a day to get a system fully working with X and KDE. (KDE took about the same time as the rest of the system combined)

    10. Re:LinuxFromNotSoScratch.com by troels · · Score: 1

      That is correct. Though you should of course make sure that you optimize the code for the target platform, and not for the build machine.

    11. Re:LinuxFromNotSoScratch.com by Anonymous Coward · · Score: 0

      I don't know what "modern" system you have, but Glibc takes about 10 to 15 minutes to build from a "make distclean && configure && make all install"

      Now, my K6-233, yeah, that took hours. But I wouldn't call a 5 year old system "modern".

    12. Re:LinuxFromNotSoScratch.com by smittyoneeach · · Score: 2

      A UYK-7 boot had you pull a loader out of its 512 bytes of NDRO (read, BIOS), which you then used to load a program loader from tape, after which you initiated the program.
      All via switches and direct register manipulation in octal.
      Aye, MS-Denial Of Service (DOS) was heaven by comparison...

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    13. Re:LinuxFromNotSoScratch.com by batkiwi · · Score: 3, Insightful

      When you bake cookies "from scratch," that doesn't mean that you're buying some chips-ahoy's in a ziplock bag and heating them up in the microwave.

      It means that you need some tools, a cook book tells you the ingredients and what to with them, and you bake yourself some cookies.

  29. GNU/Linux From Scratch ?? by Anonymous Coward · · Score: 0

    When installing LFS, one tends to notice just how much of a contribution has been made by the FSF, so I dont mind calling it GNU/Linux. When someone ask's why not just call it Linux, I can tell them about Free Software. Thats what the GNU is for to spread the word, its not about credit. More power to everyone who is part of it, which includes RMS, Linus and everyone else. Im just happy to have an alternative which is free.

    bait

    1. Re:GNU/Linux From Scratch ?? by Anonymous Coward · · Score: 0

      BS, Linux is Linux.

  30. I use RedHat, myself.. by Anonymous Coward · · Score: 0

    ..but it has to be said. Because I'm tired of hearing it in reference to RedHat vs. other distros.

    "Real men use Linux From Scratch!"

    Take that, Debian and Slackware users! Hah! From Cowardly Anonymity, I stab at thee! With my sprained wrists, I spit at thee!

  31. Who needs LFS? by Anonymous Coward · · Score: 0

    If you need a document describing how to boot strap linux on a clean system, perhaps you should go back to windows. =)

  32. Gentoo on a modem (was Re:Gentoo?) by cymen · · Score: 2

    Once the Gentoo ISO burned to CD is on hand does the Gentoo install require much more downloading? I'd like to give it another try but I'm on 56k for a while. I did check out gentoo.com but I couldn't figure out how much things had changed since I last tried it quite a while ago.

    1. Re:Gentoo on a modem (was Re:Gentoo?) by Billly+Gates · · Score: 1
      I would not recommend gentoo if your on a 56k modem. Gentoo iso's are bare bones. The largest size iso (2 different sizes depending on how much you want to install) is only about 170megs. Not even X is on there. You need to "emerge" alot of items. The whole distro is designed for people who want to install everything by hand. The installation instructions are superb and its the most flexible linux system I have seen to date. However its really for people with lots of bandwith.

    2. Re:Gentoo on a modem (was Re:Gentoo?) by Anonymous Coward · · Score: 1, Informative

      Installing from source does not require a broadband connection. lfs, lunar, sorcerer--all source-based distros that don't require lots of bandwidth. And neither does a portege system require lots of bandwidth. Consider Debian or *BSD. So what is it that distinguishes Gentoo again?

  33. LFS, then Gentoo by ctar · · Score: 1

    I did the LFS about a year ago, just prior to installing Gentoo 1rc6. It was a great learning experience. I am probably comfortable using Gentoo now, because of it. With that said, once my machine was up and running, there was not much I could do with it! LFS does walk you through the compiles and installs of all essential components of a linux system. But, they give you exact, step by step instructions on how to do this. This helps you learn a lot about how the linux system is built, and works, but it still doesn't help you learn how to compile and/or install other programs that may need adjustments to makefiles or anything non-standard. (This is why I have since picked up a book on C ;))

    This is what Gentoo accels at. Installing applications (from source) successfully. Previously using RedHat or Mandrake, I never got to the point where I had ALL the applications I wanted installed and working successfully. With gentoo, I have this, and I'm actually using my linux box; not just tinkering with it...

    1. Re:LFS, then Gentoo by Anonymous Coward · · Score: 0

      True, Gentoo helps with that. But, thanks to the efforts of the LFS community, we have the collection of hints at http://hints.linuxfromscratch.org, we have the mailing lists/irc chat for help, and the BeyondLFS project at http://beyond.linuxfromscratch.org, all there to help once you build the base LFS. I've been an LFS'er for over 2 years now, and I love the project!

  34. The scope of "entirely from scratch" by willpost · · Score: 2, Interesting

    Your particular definition of scratch involves compiling the C source code.
    Some might say scratch could also be:
    - Writing it in assembly
    - Writing it in x86 machine language
    - Flipping the bits on the hard drive
    - Re-inventing the C source code

    All of the methods require additional tools:
    - A tool to take the Hard Disk and provide a file structure, write a boot sector and loader
    - A tool with some commands to copy the compiler there
    - A tool to take the C source code and generate the machine language binary code

    You might find it similar to how mammals develop. As far as I know, most mammals require parents to feed, care, and raise their young. I can't think of any fertilized egg, fetus, or newborn that can survive without the parent to hand down their knowledge (I even heard that the reason we are able to live past 30 is to provide knowledge as grandparents or family/clan elders).

    I have thought of one way to completely write the OS with only one machine. A long time ago, the old IBM PCs (and Apple computers) had a key sequence which would break into debug mode. After this mode starts, you would be able to type in the machine code to get a rudimentary system going. Another way would be to get an old ethernet card with a rom chip and burn a startup rom. Then you type in the boot loader.
    For example: a bootable ``Hello World!'' program, consisting of just over 100 lines of assembler code.

    While 100 lines of code is easy to hand type, imagine typing in the 10,000-100,000 characters for an extremely simple operating system. Then imagine hand typing in the machine code for a C compiler (yikes!), unless you want to hand type in the millions to 100's of millions of bytes of machine code to write a Linux system. There would be another way speed it up if you take apart a keyboard, wire it to a device capable of playing back keystrokes. I started to work on this but have postponed it until better times. I did start out by building Linux from Scratch and it took me 30-40 hours of very patient, slow progress. The complexity of even a minimal Linux is boggling when you jump in, compile, link, and see how much text scrolls by your screen when compiling it.

    The advantage to Linux from Scratch is you have the greatest control over the OS. Without your direct control over every detail it won't run, as it depends on your Linux knowledge or following the tutorial to install.

    Other links:
    From-PowerUp-To-Bash-Prompt-HOWTO
    How to Write an Operating System

    If you want an extremely minimalist Linux distro, there's a list at :http://www.linux.org/dist/index.html
    Select Category-minimalist, Platform-Intel compatible and click go.
    Search for gateway on the page.

    I've tried the following ones because they have the basic OS requirements for a user, they load from a floppy, and move resources to RAM:
    Alphalinux
    muLinux

  35. Correction by Simon+Kongshoj · · Score: 1

    I wrote this babble:

    Gentoo fanboys who can't understand thatreason

    That mangled sentence makes no sense at all, and the emphasized part was supposed to read "that different distros exist for a reason". My apologies, it seems I chopped that sentence apart.

    --
    Six sick .sigs, the Number of the Beast!
  36. nALFS ? by Xavier · · Score: 1

    I'm surprised that nobody mentionned nALFS :

    For me, LFS hand building processus is tedious. What mainly interesting for me in LFS is the minimal linux system you've got AFTER installing and rebooting. Compiling by hand, while effectively technically interesting, turn soon to boring for me, so i did my last LFS ( 3.3 ) installation using nALFS, and i'll never change even for a free (THWACK)

    nALFS used with installwatch gave me what i finished to consider my best distro ..
    Honest, i since installed an MDK and the last stable debian, and found me rebooting more than often on the LFS partition. Thing are so simple here. There's one editor, one window manager, the library there is there because I wanted it to be there : a question of taste, i like this.

    nALFS :
    http://linuxfromscratch.org/~neven/nALFS/

    For installwatch, i remember to have read an 'hint' somewhere on LFS site, or may be IN the doc packege, dont remember

  37. Bullshit, I use Gentoo on a 56k modem by Anonymous Coward · · Score: 0

    Bullshit, I use Gentoo on a 56k ISA hardware modem.
    Worked fine.

  38. Using it for 2 years now by Scarblac · · Score: 2

    My home box, a 600Mhz AMD Duron, was bought two years ago, and I spent some days installing LFS on it. It's still the system I use now. A lot of software was added over time.

    It works fine. However, now, after two years, package management is getting a bit aggravating. I find I have to upgrade libraries and stuff before I can install some new things, and there's no good way to uninstall the old ones. So you just make install the new one over it and hope it's all ok. I suppose I could look at the logs of make install to see what went where, and delete it by hand, but many of those logs are gone and it's too much work.

    And recently I wanted to install something that triggered a bug in my trusty old gcc 2.95.2 (an actual software caused sig 11). So I installed gcc 3.2, the latest. And yes, many things have trouble, probably because their C++ isn't entirely up to the standard, but it's still irritating. Also some .configure scripts seems to get confused when the gcc version is 3.2. Keeping both around is doable, but not as smooth as I'd want it.

    This system is fun, and everything is *exactly* like I want it, but I'll go to some "real" distro on my next computer.

    --
    I believe posters are recognized by their sig. So I made one.
  39. LFS makes the case for calling it GNU/Linux by Scarblac · · Score: 2

    One point that installing LFS drives home: GNU/Linux is a totally fair name. If I recall correctly, of the LFS version I installed, 45 of 61 packages came from ftp.gnu.org, and some others were also part of the project. Calling my system a GNU system is actually more accurate than calling it Linux. But I'll reserve that name for systems running Hurd.

    --
    I believe posters are recognized by their sig. So I made one.
  40. You gotta love it... by encrypted · · Score: 1

    LFS is brilliant, yeh, so it make take a good couple hours and maybe even give you some hassles, tho I had none, but at the end of the day it is all worth it. My LFS systems have all given me less hassles then any distro I've run, granted they take a tad longer to setup. For those of you that dont feel like enduring the proccess there is also a distro called LRs-Linux, which has a few setup options, including a LFS setup. You can find that here. There's also the automated LFS project which has a similiar affect, tho that requires an already setup installation like LFS, have a look here.

  41. Gentoo or LFS by Anonymous Coward · · Score: 0

    Simple, use Gentoo to build LFS :)

  42. Who said this is our favourite OS. by Anonymous Coward · · Score: 0

    There are other ones out there too. Linux is not everything, although this site seems to think like that.

    Linux is a great kernel with a bad GUI. X really, really sucks. Its as responsive as a drunk driver on a freeway.

  43. X isnt a GUI by nurb432 · · Score: 1

    Its a graphical subsystem.. if you dont like the GUI of the distro you somehow managed to install then change it..

    Thats the beauty of X.. ( well one of them anyway )

    --
    ---- Booth was a patriot ----
  44. Just installed LFS the other day by halt+-r · · Score: 2, Interesting

    I learn't an awful lot doing this, but still have far more to learn yet. That's why I've begun trawling through Beyond LFS. The LFS documentation is very good. If you want to know more about a particular package read the INSTALL and README files after unpacking the file under /usr/src.

    I haven't seen Gentoo so I cannot compare, but I can say I'm very chuffed to boot up my very own linux distro and to spend time building upon the LFS foundation (and all the time my understanding of linux grows too!).

    Thanks to the LFS team for their efforts and respect to you all.................

  45. Well, if Mac OS is doing it.... by siskbc · · Score: 1

    ...then, goddammit, I guess we better switch!

    I've heard a lot of insane reasons for switching OS's, but I think that one wins.

    --

    -Looking for a job as a materials chemist or multivariat

  46. How about a CD? by siskbc · · Score: 1

    I'm sure this exists, but if not, couldn't someone make a bootable CD with the compiler and whatever else you need, so you can boot straight from there and never use another bastard distro?

    --

    -Looking for a job as a materials chemist or multivariat

  47. Production? by ken_i_m · · Score: 1

    It wasn't intended for long term use but a file server on the our LAN that is an LFS based system now has:

    $ uptime
    6:37am up 479 days, 21:26 ...

    It is nearly out of drive space so it will be taken off-line in the near future for hardware upgrade.

    I think, therefore, ken_i_m
    Chief Gadgeteer
    Elegant Innovations

    1. Re:Production? by HIghoS · · Score: 1

      quasar.highos.com (no longer online, well untill I colo again in a week or so) had an uptime of 393 days before she was reset by a friend that did not know what a USP was ;P

      Ian Chilton has several LFS boxes (3~4) all running over 450+ days (and a few that have allready rolled over from the 2.2 uptime bug)

      These are/were all boxes that are in production use.

      The LFS server, shadowfax had an uptime of +240 days before it was reset at the colocation center as someone mistook it for the wrong box. Today she will roll over 200 days.

      So yeah.. there are enough of us using LFS servers in production use! =) See you on the mls ken ;o

  48. Re:Gentoo config files by tushar · · Score: 1

    I tried Gentoo around 6 months back, went back to LFS.

    The package management system for Gentoo is great if you look at it unidirectionally i.e. install (and upgrade). But the uninstall is a major pain! Given you OpenLDAP example, say I installed OpenLDAP since it was needed by GomeMeeting. Later say I compile Courier and GNUPg that link against OpenLDAP. Now if I have uninstall GnomeMeeting and OpenLDAP, Courier and GNUPg will have problems. The installer won't warn me about it.

  49. Trust Yourself by fm6 · · Score: 2
    Sounds like you're into Linux for the intellectual growth than anything. Which means there is no right way. Or rather, the right way is to just go crazy. Because if you try LFS and screw up, what's the big deal? Indeed, the whole point of this kind of project is to screw up, because you learn more from screwing up than doing things right.

    The right time to try LFS is when you feel you've learned everything you're likely to learn from playing with SuSE. Or maybe when you just have an overwealming LFS itch you need to scratch. Or maybe there's just not anything on TV.

    But what if there's something in LFS I need to know and don't? Well, the LFS text is pretty good at specifying what you need to know. So if you get stuck, just go back to playing with SuSE until you feel ready for another pass. But you're probably smarter about that kind of basic stuff than you think.

    1. Re:Trust Yourself by sowellfan · · Score: 1

      Thanks for the input. A guy at the LUG here in Jax also mentioned that learning comes from breaking things, so I guess I'll just charge in there. It is nice to know that I can reformat my hard drive and start over whenever I want to, so I'll probably be doing that a few times with SUSE, and then we'll see what happens with LFS.

  50. Re:Gentoo config files by thing12 · · Score: 2

    AFAIK, the problem you suggest has been corrected in later versions of emerge. Unless you remove a package forcefully you will be warned about the dependancy issues.

  51. Parent not a troll by hey! · · Score: 2

    It's just an unpopular opinion.

    I've tried Gentoo too. I think the portage system per se is pretty good, and I like their XML based documentation. However, the software in portage is not up to the quality standards of Debian, for example. I emerged X11, and after waiting for several hours I was rewarded with non-functioning X server software a missing external symbol). This is not a problem with portage per se, but the contents of portage. Yes, I do have the source, but I don't have the time to figure this one out when I can simply download a Debian iso and know that everything will work.

    Of course one glitch like this doesn't put me down on gentoo. I think it has a place, but I can't see using gentoo on anything but my personal experimental machine. First it takes to long to install major systems by emerging them. Secondly, it's too bleeding edge and therefore (in my opinion) too squirrely for use on machines I have to provide support with.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  52. Re:Automated Linux from Scratch by lfslinux · · Score: 1

    In my opinion the useful knowledge is knowing how the various software on your system interact with eachother. Just an example that comes to mind:

    Not everybody figures out that the groff and man packages are closely tied in to eachother. Often people think that 'man' is a program by itself that shows you manual pages. Little is known about programs like gtbl and nroff who do the formatting, then feeding it to a pager like 'less' or 'more'. All man basically does is invoking the right programs with the right parameters (note: this depends on your man package version and vendor of course).

    It boils down to something like:

    cat /usr/share/man/man1/ls.1 | gtbl | \
    nroff -mandoc | less -is

    People who don't just install LFS but actually take the time to learn what they are installing by reading the docs that come with packages, example files and what not would learn this.

    Some people may not find the above tidbit useful. I myself do find it useful. It gives me a clearer understanding how a man page is displayed and how big a part "groff" plays in all this (and that I need groff installed to be able to display man pages in a convenient matter, so keeping groff around would be a good idea).