Live data from Hacker News

Linux from Scratch

linuxfromscratch.org

91–100 of 108 posts

Re: Linux from Scratch

#91
Linux from scratch is quite a lot of fun, did it a decade ago and learned how to bootstrap a linux system after installing Archlinux got boring. Never went past the initial "get a working" system stage though.

Now I'm building LFS/BLFS again but hacked the Alpine package manager into it to actually be able to install multiple machines with this and crossed the point where I'm daily driving it on my laptop

Re: Linux from Scratch

#92
post #7
post #4

Earlier quoted context omitted.

Yup, it's where I got a lot of my linux knowledge. I think that Gentoo or even Arch would provide pretty close to the same education level, though, with a lot less time to install.

Having installed Arch myself a couple of times, i think i would disagree. Not really much in that process that teaches you how linux actually works. It's more just about managing disk partitions and moving files around than anything else. LFS is just on a whole different level, and is on my bucket list to complete the entire process one day.

It's not just the installation process. Being forced to manage or setup automatic management for most parts of your system teaches you a lot. Often it's just as simple as `sudo pacman -Sy yabdabadoo` but its more instructive than it 'just working'.

Re: Linux from Scratch

#93
post #4

It's been years since I went through this, but whenever someone asks me what they should read to get a deeper understanding of what a Linux distribution is, I point them to this.

Yup, it's where I got a lot of my linux knowledge. I think that Gentoo or even Arch would provide pretty close to the same education level, though, with a lot less time to install.

Let's break it down to traditional skill level terminology

Apprentice: Ubuntu, Fedora

Journeyman: Arch, Debian, Gentoo

Master: Linux From Scratch

Re: Linux from Scratch

#94
post #48
post #4

Earlier quoted context omitted.

Yup, it's where I got a lot of my linux knowledge. I think that Gentoo or even Arch would provide pretty close to the same education level, though, with a lot less time to install.

> I think that Gentoo or even Arch would provide pretty close to the same education level, though, with a lot less time to install. it only takes three commands to install Gentoo cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update && . /etc/profile && emerge sync && cd /usr/portage && scripts/bootsrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge g…

> it only takes three commands to install Gentoo

> cfdisk /dev/hda

Kids those days. You need to _boot_ first in a system which has those utilities. Also hda is from last century but, it is good for learning why.

Re: Linux from Scratch

#95
post #4

Earlier quoted context omitted.

Yup, it's where I got a lot of my linux knowledge. I think that Gentoo or even Arch would provide pretty close to the same education level, though, with a lot less time to install.

Let's break it down to traditional skill level terminology Apprentice: Ubuntu, Fedora Journeyman: Arch, Debian, Gentoo Master: Linux From Scratch

You forgot Slackware.

Re: Linux from Scratch

#96
post #13
post #4

Earlier quoted context omitted.

Yup, it's where I got a lot of my linux knowledge. I think that Gentoo or even Arch would provide pretty close to the same education level, though, with a lot less time to install.

Other point is long time maintainability as well.. Like unistalling stuff you don't need etc. Or LFS solves it?

> Like unistalling stuff you don't need

This will lead to a lot of learning. /s

Re: Linux from Scratch

#97

Years ago, installing Gentoo from an early stage was also a good experiment. Nowadays they've deprecated all stages but stage3. It's still fun, but bootstrapping Gentoo from stage1 was a Linux-from-scratch-like experience (not quite, but similar).

stage0: a magnet and steady hand

Re: Linux from Scratch

#98
post #76

Earlier quoted context omitted.

> Slackware unfortunately lost out to the modern world. But heroic effort by Patrick. I dunno man, a lot of people still use it! Been on it every day about 4 years now, there's a modern ARM port in development, so it might not end up going away for a long time. That Slackware is difficult to use on the level of Gentoo or LFS I think is mostly a meme and an overstatement; it's just very old-school. It has a nice insta…

The funny thing is that a lot of us older people started with Slackware back in the late 1990's, only because early Debian and Redhat builds on the Infomagic CD's were too broken to install or run reliably. Slackware 2.0 was pretty rock solid by comparison and installed out of the box on most PC hardware I could find at the time.

I switched (end of the 90's) from Redhat to Slackware and never looked back. Got tired of having to use "-f" to install rpms because of circular dependencies. Debian had the same problem.

Re: Linux from Scratch

#99
post #48

Earlier quoted context omitted.

> I think that Gentoo or even Arch would provide pretty close to the same education level, though, with a lot less time to install. it only takes three commands to install Gentoo cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update && . /etc/profile && emerge sync && cd /usr/portage && scripts/bootsrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge g…

I remember playing with Gentoo back in 2004-2005, going through the installation procedure from "stage 1" all the way through to the working system [1] It looks like nowadays the handbook says just go from stage 3, which makes sense - compiling everything was kinda stupid :D [1] https://web.archive.org/web/20041013055338/http://www.gentoo...

I made the mistake of hitting from stage 1 an `emerge world` on a Pentium 3 (I think? P4 at the very best) with a full Open Office and Firefox selection.

No idea how long it would take.

One week later I finally saw my new desktop!

I learnt a hell of a lot with Gentoo - only had a dvd and the magazine it came with stepping through the stage 1 install process. No internet connection to search for answers when things went wrong. Not my current daily driver but definitely some good memories!

Post reply on HN