Live data from Hacker News

Show HN: Build your Linux from Scratch inside Docker with one command

github.com

1–10 of 30 posts

Re: Show HN: Build your Linux from Scratch inside Docker with one command

#5

First thought was the website http://www.linuxfromscratch.org/ and book. Edit: low and behold under "License"... "This work is based on instructions from Linux from Scratch project and provided with MIT license."

That's what the article is about.

Re: Show HN: Build your Linux from Scratch inside Docker with one command

#6
Seems to defeat the purpose of 'from scratch' if all you do is run a script.

I fondly remember building linux from scratch in the early 00's and learning quite a bit about how a system is put together by doing (and troubleshooting) the steps. IIRC bootstrapping the compiler was the trickiest bit since the fedora (or maybe it was still redhat back then) gcc didn't like to play nice with its younger siblings.

Re: Show HN: Build your Linux from Scratch inside Docker with one command

#7

Seems to defeat the purpose of 'from scratch' if all you do is run a script. I fondly remember building linux from scratch in the early 00's and learning quite a bit about how a system is put together by doing (and troubleshooting) the steps. IIRC bootstrapping the compiler was the trickiest bit since the fedora (or maybe it was still redhat back then) gcc didn't like to play nice with its younger siblings.

What's the difference between writing x commands and hitting enter once, vs writing x commands and waiting for each command to finish? This is a good starting point for people who already know Linux and want a lean self-built system.

Re: Show HN: Build your Linux from Scratch inside Docker with one command

#8

Seems to defeat the purpose of 'from scratch' if all you do is run a script. I fondly remember building linux from scratch in the early 00's and learning quite a bit about how a system is put together by doing (and troubleshooting) the steps. IIRC bootstrapping the compiler was the trickiest bit since the fedora (or maybe it was still redhat back then) gcc didn't like to play nice with its younger siblings.

What's the difference between writing x commands and hitting enter once, vs writing x commands and waiting for each command to finish? This is a good starting point for people who already know Linux and want a lean self-built system.

Not gonna be all that lean with all the build tools and whatnot. And isn't all that practical without package management.

Linux kernel + busybox + few unit scripts == lean

But, you know, to each their own -- don't get me wrong, I really enjoyed tinkering with LFS back in the day.

Re: Show HN: Build your Linux from Scratch inside Docker with one command

#10

Seems to defeat the purpose of 'from scratch' if all you do is run a script. I fondly remember building linux from scratch in the early 00's and learning quite a bit about how a system is put together by doing (and troubleshooting) the steps. IIRC bootstrapping the compiler was the trickiest bit since the fedora (or maybe it was still redhat back then) gcc didn't like to play nice with its younger siblings.

What's the difference between writing x commands and hitting enter once, vs writing x commands and waiting for each command to finish? This is a good starting point for people who already know Linux and want a lean self-built system.

>What's the difference between writing x commands and hitting enter once, vs writing x commands and waiting for each command to finish?

The point of homework is to do it yourself, not to clone a repo with the answers.

Post reply on HN