Live data from Hacker News

I Built Linux from Scratch

thesloth.me

91–100 of 105 posts

Re: I Built Linux from Scratch

#92
post #61

If you need something more practical, but still challenging, try Slackware. Use the advanced install feature and only select the packages you need. Build the other software yourself. You can choose your own difficulty this way. You can also follow the distro's way of packaging up software (build scripts), or build it the software developer's way. The main advantages of building software yourself are: 1. You are a dev…

Nah https://buildroot.org/ Slackware was underdeveloped PITA back then and it is now

Never heard of buildroot. Interesting!

Re: I Built Linux from Scratch

#93

I did LFS back when I was a pre-teen/teen. So late 90s, early 00s. And while I agree to an extent that it doesn't give you much day-to-day stuff, it really makes you more comfortable with operating systems and linux especially. Nowadays, I am a devops/infrastructure engineer, and I can say LFS is a core foundational experience that has let me be better at my job. I know deeper inner workings of a Linux distro and tha…

> I had a 1ghz, 256gb ram machine

You had a 256gb ram machine???

Re: I Built Linux from Scratch

#94
post #34

Earlier quoted context omitted.

IMO a secure server is an immutable appliance. I still build Linux from scratch most weeks as a core part of my job. Bare bones hardened kernel + shim init + target application are all you need, and will be your highest security/reliability systems. And yeah, threadrippers are a must.

> And yeah, threadrippers are a must. I mean, they give a wonderfully higher quality of life for compiling but they are $2,500-6,000 just for the CPU. Of course this can be done on much lower-cost CPUs! A 12-core Ryzen is already at the "I have lots of money to spend" end of what I'd suggest for something like this.

If you are compiling Linux kernels for a living, odds are near 100% your time waiting on compiles costs more than an employer buying you a beefy CPU.

Re: I Built Linux from Scratch

#95
post #94

Earlier quoted context omitted.

> And yeah, threadrippers are a must. I mean, they give a wonderfully higher quality of life for compiling but they are $2,500-6,000 just for the CPU. Of course this can be done on much lower-cost CPUs! A 12-core Ryzen is already at the "I have lots of money to spend" end of what I'd suggest for something like this.

If you are compiling Linux kernels for a living, odds are near 100% your time waiting on compiles costs more than an employer buying you a beefy CPU.

Sorry, by "something like this" I meant LFS. Obviously the word "this" was ambiguous as GP said "I compile linux kernels for work".

Re: I Built Linux from Scratch

#96
post #90

Earlier quoted context omitted.

True. Building Linux from scratch will teach you everything in a modern CS curriculum, including the `cut' operator in Prolog, Boyce-Codd Normal Form, and alpha-beta pruning. \end{snark}

Could someone explain to me USian school schema pls ? Especially what difference collage vs university. For comparision in Poland we have schema (+- 1 year): - 0 - 6 preschool - 7 - 15 basic school (mandatory) - 16 - 19 middle school - 20+ university or polytechnique And middle school generally divides into: a) 3 year of craft school, workforce after; or b) 4 years of general learning school, no craft knowledge after…

College is tertiary education, ie university or similar. My understanding is that the distinction between college and university is an organizational one, not the curriculum. But I’m not from the US.

What you call middle school they call high school.

Re: I Built Linux from Scratch

#99

I did LFS long back and replaced its default terminal as nodejs terminal. It was fun and learned so much from it.

> replaced its default terminal as nodejs terminal

What do you mean? Did you replace the login shell with a NodeJS interpreter or did you use a terminal emulator that ran on NodeJS?

Re: I Built Linux from Scratch

#100

I did LFS long back and replaced its default terminal as nodejs terminal. It was fun and learned so much from it.

> replaced its default terminal as nodejs terminal What do you mean? Did you replace the login shell with a NodeJS interpreter or did you use a terminal emulator that ran on NodeJS?

The first process after kernel boots up was nodejs terminal. So when my machines boots up , i would see nodejs terminal, intead of bash.
Post reply on HN