Linux From Scratch 7.1 Published
Thinkcloud writes "The Linux From Scratch (LFS) project has published version 7.1 of its manual for building a custom Linux installation. The new release of the step-by-step instructions is 345 pages long and uses more up-to-date components than previous versions – for example, the 3.2.6 Linux kernel and version 4.6.2 of the GNU Compiler Collection (GCC). The update also includes fixes to bootscripts and corrections to the text, as well as updates to 20 packages."
...I didn't want to see the girlfriend this weekend anyway.
Support the EFF and Creative Commons. The war is coming, and they're supporting you...
LFS is a great learning process that shows you exactly WHAT makes your Linux tick, and what packages depend on eachother. Anyone who uses Linux should do it at least once.
And really, it is not that difficult.. if you follow the guide it is very unlikely you will have problems. And on modern hardware the compile is very fast.
I dare someone to try this without gcc compiler and gnu userland.
fuck off, RMS.
the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff
There's a PDF and an HTML version of their manual. With the advent of eBook readers like the Kindle, you think they'd release an eBook version. ePub is more open than Kindle's .mobi, but even an ePub version is easily convertible to .mobi.
Well, scratch would appear to have support for a clock, and a NOR gate, so an x86 compatible scratch VM is only your sanity away...
LFS can typically be built from any Linux host system - a Knoppix CD or a liveCD for any other distro would probably work.
Or you could just check the host requirements.
I am officially gone from
You're coming as close as you can to building Linux on a bare machine without manually inputing machine code - the purpose of the host machine is to give you things like:
* a running kernel
* a shell
* a C compiler
* a linker
* The standard C libraries
* Some very basic text processing tools, like awk and sed
* A way to download the source code
* A way to set up a file system on the disk
IIRC, Linus Torvalds used an existing Unix for most of this when he was first writing Linux.
The first steps involve setting up a completely empty partition, then compiling the C library (glibc), linker (binutils), C compiler (gcc), a shell (bash), and a few other tools. Then you chroot onto the partition you just set up and work in your chroot jail, with the only dependency on the original distro being the running kernel. Once you get to the point of having a bootable system, you leave the original distro completely behind.
I am officially gone from