Linux From Scratch

my experience with linux from scratch

Setting up

Nixos check configuration.nix for packages: https://www.linuxfromscratch.org/lfs/view/stable/prologue/package-choices.html

ignoring them symlinks for now

okay theres a lovely script

Partitions and Filesystems

Packages and Patches

https://www.linuxfromscratch.org/lfs/view/stable/prologue/package-choices.html

  • set up /src

  • make it sticky chmod a+wt

  • autoconf: macros that produce shellscripts to configure source code packages adapt packages to many kinds of unix systems

  • acl manipulate access control lists

  • attr file system extended attributes

  • bc ???

  • bison parser generator

  • dejagnu

nvm theres too many

https://repo.jing.rocks/lfs/

opened up in vim and did some magic to create wget-list-sysv then used wget verify md5sum

pushd and popd wow

Toolchains and Libraries

Chroots and Shells

Boots and Scripts

Kernels and Bootloaders