Lightweight Linux


I am chronicling my adventures doing Linux From Scratch. I'm doing it using Manjaro Linux (cause I like Manjaro and want more reasons to use it). I'll be putting my scripts here on; there are lots out there, but practice makes perfect. I'm also doing it on an old Dell Latitude D620 with 4GB of RAM.

BTW, I'm restarting everything since version 8.0 of LFS has just been released. So, enough of that, lets get on with it...

Quick Reference

  • export LFS=/mnt/lfs

Chapter 2 Notes

  • The version check stuff mostly looked good. I had to: sudo pacman -Sy bison

  • Run the file with sudo.

Chapter 3 Notes


Chapter 4 Notes

  • Will they setup build environment after boot-strap?

  • Use "make -j2" for normal stuff, but if get error, take out "-j2" for easier reading output (at expense of time).

  • Use to see if logs errors are really something to worry about or not (relating to test suites).

Chapter 5 Notes

  • "A simple way to determine the name of the target triplet is to run the config.guess script that comes with the source for many packages. " [...] "For example, for a 32-bit Intel processor the output will be i686-pc-linux-gnu. On a 64-bit system it will be x86_64-pc-linux-gnu."

  • "Also be aware of the name of the platform's dynamic linker, often referred to as the dynamic loader (not to be confused with the standard linker ld that is part of Binutils)." [...] "A sure-fire way to determine the name of the dynamic linker is to inspect a random binary from the host system by running: readelf -l <name of binary> | grep interpreter and noting the output."

  • For 5.8, I used another ../ before configure.

Chapter 6 Notes

  • 6.9 - (re)move the old build folder out of the way first