For those of you who don’t know, Linux From Scratch is a project that teaches you how to compile your own custom distro, with everything compiled from source code.

What was your experience like? Was it easier or harder than you expected? Do you run it as a daily driver or did you just do it for fun?

    • folekaule@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      You haven’t lived until you’ve installed Slackware from floppy disks and compiled the necessary network drivers into the kernel by hand. Good times, but never again.

      • downhomechunk [chicago]@midwest.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        I’m a long time slackware user, but I joined the party some time in 99 or 00.

        I never had the pleasure of installing from floppies, but I did compile my own kernels to speed up boot time. Sometimes they would boot, sometimes they wouldn’t. That was part of the fun.

        I’ve been on a retro kick lately. I have a pentium 200 mmx based machine that will eventually run a floppy installed slackware. Or at least it will if I can get it to work.

      • ReallyZen@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        What impressed me at the time was that it worked ; you’d pull huge amount of stuff and then waited in front of a real-life Reversed Matrix full of mysterious hieroglyphs. But Slackware would compile Ardour, Jack, Jamin and whatever else. Yeah it took a while to fetch all the libraries, but then it just did it.

        Last week localsend wouldn’t compile on Arch, and took hours to fail it.

      • LeFantome@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        I am pretty sure I compiled the kernel once a month back when I had a Pentium 133. Looking back, compiling the kernel must have been a huge chunk of what that machine accomplished.

  • 1984@lemmy.today
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I did it, learned a lot. But it’s not really a system that can be maintained very easily. You don’t even have a package manager. :)

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Back when I did LFS I dealt with this by giving each package an /opt prefix, symlinking their respective bin/, sbin/, lib/, man/ and so on dirs under a common place, and adding those places to the relevant system integrations (PATH, /etc/ld.so.conf etc.)

      I put together a bash script that could manage the sumlinks and pack/unpack tarballs, and also wrote metadata file and a configure/make “recipe” to each package dir. It worked surprisingly well.

      A handful of packages turned out to be hardcoding system paths so they couldn’t be prefixed into /opt (without patching) but most things could.

      • pingveno@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        There’s no level of package management, binary or source. There’s no practical way to uninstall or upgrade. It’s a toy for learning about Linux, which is great, but don’t expect it to have anything else.

  • annoyed-onion@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Did it about 10 years ago. Didn’t really understand half of what I was doing at the time but it was a fun way to spend a weekend 😁

  • HereIAm@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    It was a lot of fun for me. I did it without a virtual machine (would not generally recommend) on a older laptop I wasn’t using anyway. I wasn’t very successful in the end however. My own built kernel couldn’t produce any vga output. I tried to fix it for a handful of nights, but in the end gave up and called it good enough :P So I might comeback to it later to fully complete an installation.

    But it was good learning oppertunity. It showed that just compiling a version of the Linux kernel isn’t very complicated. It even comes with a very nice TUI to select your build options!

  • Charadon@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I’ve done it before. It’s not particularly difficult, just very time consuming. And at the end, you’re left with a distribution that’s not really that useful without repackaging everything you did into a package manager so you can do updates without borking it.

    Great as a learning tool to see how the whole GNU/Linux stack works, but not something you’d use practically.

  • psmgx@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Did it to learn. Mostly because I had no wifi / internet at home during the time, but did have a burned CD and a book. Was useful, but when I started using Linux as a daily driver I went straight to Ubuntu, and later Fedora

    Do recommend for learning and tinkering though.

  • Lydia_K@startrek.website
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I ran it as my primary distro on my main machine for a while way back when. I don’t recommend that.

    What I do recommend is going though the entire process even if it’s just in a VM. It’s incredibly educational and will teach you a ton about Linux and OS construction in general. I used to recommend it to everyone I was teaching linux/ Unix too and all the students who actually went through it and completed it now have successful IT careers. 100% an incredibly valuable teaching resource, you will look at all OS’s with new eyes after you’ve built one bit by bit from source by hand.

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I did a long LONG time ago. I don’t even remember so I’d say 20 years ago. It was very interesting. I do recommend doing it at least once… well maybe only once actually. If possible do it on a real computer, not a VM, so that you don’t get distracted and feel just a bit of risk. Obviously do NOT do it on your main computer where you have important data, just in case.

    • utopiah@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      PS: I do build some things from scratch, including “big” ones like Firefox. I do it because I can prototype with them by modifying just the bits I need. I do like learning how things are made. That being said I don’t think it’s valuable as an entire system, only on a need to do basis. The true benefit IMHO is the learning, not the running system, so no, not at as a daily driver.

  • deadcatbounce@reddthat.com
    cake
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Before the ArchLinux wiki became as good as it is, people like me used the Gentoo and LFS wikis as documentation for Linux.

    There isn’t quite enough time in the world for me to be able to use LFS in anger as much I would wish. We make do with source distros with source managers like Gentoo (surprise!), Funtoo and others which give the source distros users just enough helping hands of dependency management.

    Real tears would be shed were for LFS to disappear.

  • DigitalDruid@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 months ago

    kindof, but it was 1993 and I didn’t actually have to compile the kernel but pretty much everything else!

    the hardest part was teaching yourself to write slip/ppp dialup scripts with your only resource being a stack of usenet printouts, if you couldn’t get it working you had to reinstall dos and telemate to go back to usenet for more help (only had the one computer!)

    telemate was incredible, incidentally, it had an internal editor and file browser so could do multitasking that dos couldn’t, i had it in my autoexec.bat and pretty much used it as my OS because modeming was life.

    Slackware blew all that away x 1000 though.