Live data from Hacker News

Linux from Scratch 10.0

linuxfromscratch.org

11–20 of 50 posts

Re: Linux from Scratch 10.0

#11
post #6

They used to have a live CD for this but not anymore. What kinda setup does anybody who does this go for? I been wanting to try LFS for a while.

You just need a linux distro. I did it back in the day with mandrake linux. Probably easiest to start with ubuntu. LFS walks through isolation when you are building the system, so it doesn't really matter what you start with.

At this point I'd recommend starting with Manjaro. Nothing compares to the AUR.

Re: Linux from Scratch 10.0

#12
post #10

I never followed this but in ca 1995 I built a Linux boot / rescue floppy disk from scratch. The amount of confidence this gave me with Linux was insane, and I benefit from it to this day.

I have similar experience. I did couple LFS build around 2000 and the understanding of how everything is put together profits to this day.

I would suggest anybody thinking seriously about Linux (if you want to call yourself devops or SRE) to go through a full build at least once.

Re: Linux from Scratch 10.0

#13
This is a great resource for those building embedded systems and want to understand how everything is really put together.

Did this years ago and learned a ton, that said I'd probably never do it again. Once you know, you know. And sometimes you wish you knew less.

Re: Linux from Scratch 10.0

#14
While it isn’t LFS I’ve been building custom OS distros with bitbake/openembedded for a work project recently. I’d be curious if someone here has done both LFS and used bitbake/OE to see what their thoughts are comparing the two.

Re: Linux from Scratch 10.0

#16
I am eager to try this out. As a self-taught developer, I'm in a big turtles-all-the-way-down phase and I feel learning the ins-and-outs of Linux will give me intellectual satisfaction.

I would appreciate some thoughts on whether to go by the systemd route or the non-systemd route. The pros and cons.

Re: Linux from Scratch 10.0

#17
post #16

I am eager to try this out. As a self-taught developer, I'm in a big turtles-all-the-way-down phase and I feel learning the ins-and-outs of Linux will give me intellectual satisfaction. I would appreciate some thoughts on whether to go by the systemd route or the non-systemd route. The pros and cons.

Do non systemd, then do systemd

Re: Linux from Scratch 10.0

#18
post #16

I am eager to try this out. As a self-taught developer, I'm in a big turtles-all-the-way-down phase and I feel learning the ins-and-outs of Linux will give me intellectual satisfaction. I would appreciate some thoughts on whether to go by the systemd route or the non-systemd route. The pros and cons.

I'm not sure what you mean by the ins and outs of Linux. I assume you mean the userspace plumbing rather than the kernel?

In any case, I would only go the systemd route if it is what you want to learn. Otherwise just use runit -- much simpler and probably a bit easier to bootstrap. That leaves you time and energy to spend on other areas.

Re: Linux from Scratch 10.0

#19
post #13

This is a great resource for those building embedded systems and want to understand how everything is really put together. Did this years ago and learned a ton, that said I'd probably never do it again. Once you know, you know. And sometimes you wish you knew less.

>And sometimes you wish you knew less

This is how I felt when learning Go, coming from a background of OOP languages. But it was worth it.

Re: Linux from Scratch 10.0

#20
post #17
post #16

I am eager to try this out. As a self-taught developer, I'm in a big turtles-all-the-way-down phase and I feel learning the ins-and-outs of Linux will give me intellectual satisfaction. I would appreciate some thoughts on whether to go by the systemd route or the non-systemd route. The pros and cons.

Do non systemd, then do systemd

Is it possible to do the systemd book and then non-systemd?

I did the systemd one a few weeks ago and I think that besides a few small affordances for some systemd quirk, the main issue was installing all the prereqs for building systemd (namely meson, ninja, which openrc probably doesn't require).

They give a nifty tar command to snapshot the disk, which could help create a "fork point" for the setup. `pixz` is very helpful addition in this case (e.g. `tar -cp $LFS | pixz -9 > my_backup.tar.xz`)

Post reply on HN