News for hackers. Stuff that matters.
Re:Build your own Linux by fizixer on Wednesday August 16, 2017 @03:44PM (#15030582)
I was about to go hard on this because I came across a similar link a few days ago that had absolutely no mention of the excellent existing project on this topic, the LFS project [1].

This page does make multiple mentions of it, but in a very offhanded way.

I would encourage the people behind this url to make a case upfront about why someone should use this link as opposed to directly going to LFS, and what do they have that LFS doesn't.

[1] http://www.linuxfromscratch.org

Re:Build your own Linux by jitix on Wednesday August 16, 2017 @04:28PM (#15031099)
Yeah it seems very similar to LFS, including the verbiage on the pages. Wondering if the same people are behind this.

I first used LFS to build my own distro back in college and that experience made me learn a lot about the components of the Linux system which is helpful to me even now. I used it again years later to build an extremely lightweight base for docker containers. Its very versatile and I hope this project helps people as much as LFS helped me.

Re:Build your own Linux by veganjay on Wednesday August 16, 2017 @04:00PM (#15030767)
Exactly. What are the differences?

From an organizational structure, I see that buildyourownlinux.com is brought to us by Linux Academy, while linuxfromscratch.org is not affiliated with any other organization (as far as I can tell).

From a technical standpoint, I'm curious what differs. From what I recall, there are several reboots required during LFS - but at first glance I don't see any mention in BYOL.

Re:Build your own Linux by Danihan on Wednesday August 16, 2017 @05:21PM (#15031473)
One works and one isn't maintained.
Re:Build your own Linux by pfranz on Wednesday August 16, 2017 @10:29PM (#15033306)
Are you saying LFS isn't maintained? The last stable version was released in February 2017. RC1 for the next release was made today.

http://www.linuxfromscratch.org/lfs/news.html

Re:Build your own Linux by pavement on Wednesday August 16, 2017 @04:52PM (#15031284)
LFS feels like a dead project. The project presents itself as a "book."

Some of the provided tarballs are riddled with old vulnerabilities (and served over insecure channels (!!!) with no integrity checks), and thus it is relegated to educational purposes only, and should not be used for building a secure, general purpose system.

Does it support SATA and UEFI boot disks yet?

Re:Build your own Linux by ngharo on Wednesday August 16, 2017 @06:06PM (#15031779)
It is a book.

You can build LFS on any system that meets the requirements[1].

> Does it support SATA and UEFI boot disks yet?

The Linux kernel supports SATA disks since forever. UEFI is also supported by most bootloaders. The distro you build by following LFS will define support for things like UEFI.

I think you're confusing LFS with maybe a livecd image they used to put out?

[1] http://www.linuxfromscratch.org/lfs/view/stable/chapter02/ho...

Re:Build your own Linux by subway on Wednesday August 16, 2017 @07:52PM (#15032421)
In the context of a Linux distribution, there's a fair bit more to supporting UEFI than the BL supporting it.

At a minimum, disk layouts are drastically different in UEFI and BIOS.

LFS is so woefully out of date that it isn't even funny.

Re:Build your own Linux by jiggunjer on Wednesday August 16, 2017 @10:52PM (#15033426)
from the book: "If your host hardware is using UEFI, then the 'make defconfig' above should automatically add in some EFI-related kernel options."

The book refers to a separate text document for more info on UEFI, including the requirement of an EFI partition on a GPT formatted disk. Dated 2017. (http://www.linuxfromscratch.org/hints/downloads/files/lfs-ue...)

Re:Build your own Linux by alethiophile on Wednesday August 16, 2017 @06:10PM (#15031798)
LFS current stable comes from February 2017. The current version rc1 was released today. It's hardly dead, archaic styling aside. (Anyone else remember when books on specific software suites were relevant...?)

The links they give are to upstream. Some are already HTTPS, some redirect from HTTP. I found one case where upstream provides both HTTP and HTTPS and they link to HTTP. They should fix that.

They also provide md5sums of the tarballs, which get checked automatically in their automated build. They should switch to sha256, but there at least exists an integrity check.

I agree it's much more an educational project than a production one. But that would be true regardless; any system you're putting together by hand like this shouldn't be one that's going into production anywhere.

Re:Build your own Linux by vacri on Wednesday August 16, 2017 @09:32PM (#15032969)
So sad to see something described as 'archaic styling' just because it's not 'flat design' garbage.
Re:Build your own Linux by czep on Thursday August 17, 2017 @11:34AM (#15037669)
> Some of the provided tarballs are riddled with old vulnerabilities

Are you sure you're referencing the current stable version of the LFS book (8.0)? As noted elsewhere in this thread, there was a Live CD version of LFS which hasn't been maintained for several years, but the main book project, along with the ancillary BLFS (Beyond LFS) and ALFS (Automated LFS) are very much alive and well. LFS 8.0 gives you glibc 2.25, gcc 6.3.0, and a 4.9 kernel. If you want bleeding edge, the development version of the book is updated when upstream source packages are released.

> Does it support SATA and UEFI boot disks yet?

LFS has supported SATA ever since it was available in the kernel! There's also nothing preventing you from building a UEFI capable LFS install, provided you setup the BIOS and grub properly.

> should not be used for building a secure, general purpose system.

Why not? LFS is more than capable of providing secure, general purpose systems -- desktop and server.

Re:Build your own Linux by agumonkey on Wednesday August 16, 2017 @05:10PM (#15031399)
beside that, LFS on its own was weirdly useless to understand linux. More like linux toolchain / sed tutorial. I made a bootable LFS twice but it was strangely broken. BLFS is where linux knowledge is IMO.
Re:Build your own Linux by pfranz on Wednesday August 16, 2017 @10:26PM (#15033283)
I guess it depends where you want the knowledge. When LFS first got started (and a few years before), I found at that time as a home-user, I often had to build the kernel myself (maybe I was trying too hard to be cutting edge), know more about booting (LILO and GRUB), and on occasion I messed up bootable partitions. Recently, I was trying to build a custom version of GCC and dependencies and found LFS docs helpful.

From looking over the BLFS now, I haven't had a lot of use-cases for building more userland-ish things. I've tried to avoid compiling X or Display Managers and stick to package managers if I wanted to try a new Desktop Environment. I've found Arch docs (or man pages) really helpful in configuring these kinds of things when I do need it. I can see this being more useful if I wanted to be more of a sysadmin. I remember trying to customize PAM and setup Kerberos years ago and feeling like there wasn't much help putting this all together or troubleshooting (it may have been prior to BLFS).

When you said "weirdly useless to understand linux" do you mean the linux kernel in the literal sense? Or the low level system stuff of how things are put together?

Re:Build your own Linux by agumonkey on Thursday August 17, 2017 @04:42AM (#15034853)
I meant the whole linux system, not the kernel. I guess I'm wrong since it's not gnu/linux from scratch. But the two are entangled.
Re:Build your own Linux by dghughes on Wednesday August 16, 2017 @04:38PM (#15031181)
I have to wonder is LFS maintained? I know a year or two ago it seemed like the documentation and the CD/DVD were quite old.

LFS is great no complaints no offense intended I know it must take a lot of work to keep it updated.

Then again lower down on the buildyourownownlinux site wget links to a LFS url so it must be the same people or LFS re-branded?

Re:Build your own Linux by ngharo on Wednesday August 16, 2017 @05:59PM (#15031739)
You can always check out the latest[1] version in your browser. Build is from Aug 15th at the time of my writing.

[1] http://www.linuxfromscratch.org/lfs/view/development/

Re:Build your own Linux by eddieh on Wednesday August 16, 2017 @04:28PM (#15031095)
Seriously though, is this a fork of LFS or what?
Re:Build your own Linux by marrone12 on Wednesday August 16, 2017 @03:47PM (#15030618)
Yes, Linux From Scratch has been a product for a very long time.