Author: Heidi

  • For Loop from Hell

    The next part of LFS Ch. 4.2, creating a limited directory layout. Descent into Hell The manual says: As root, for i in in lib sbin; do ln -sv usr/$i $LFS/$i done Google AI Mode explained that the “usr” in this code is relative to $LFS and therefore will be in $LFS and not in…

  • Creating limited directory layout

    Beginning LFS 4.2. I think this was the first of what was eventually five lines of code (three of which exactly as in the manual) that took two hours with Google AI Mode to establish and then quite a lot of time to carry out. Edit: That’s because it was supposed to be done with…

  • Finishing up LFS section 3.1

    After everything is downloaded, finish section 3.1 by cleaning up the owners of the downloaded files. Check $LFS variable and that it is mounted echo $LFSmount Change all owners to root rather than to who downloaded them (as I understand it): sudo chown root:root $LFS/sources/*

  • Final list of downloaded files

    Downloaded 7/22/2025 and 7/25/2025 to $LFS/sources acl-2.3.2.tar.xz attr-2.5.2.tar.gz autoconf-2.72.tar.xz automake-1.17.tar.xz bash-5.2.37.tar.gz bc-7.0.3.tar.xz binutils-2.44.tar.xz bison-3.8.2.tar.xz bzip2-1.0.8.tar.gz check-0.15.2.tar.gz coreutils-9.6.tar.gz dbus-1.16.0.tar.xz – not in manual – retrieved by wget-list, does not have md5sum in file dejagnu-1.6.3.tar.gz diffutils-3.11.tar.gz e2fsprogs-1.47.2.tar.gz elfutils-0.192.tar.bz2 expat-2.7.1.tar.xz – downloaded from sourceforge 7/25/2025 – https://sourceforge.net/projects/expat/files/expat/2.7.1/expat-2.7.1.tar.xz/downloadsourceforge.net/projects/expat redirected from prdownloads.sourceforge.net/expat expect5.45.4.tar.gz file-5.46.tar.gz findutils-4.10.0.tar.xz flex-2.6.4.tar.gz flit_core-3.11.0.tar.gz gawk-5.3.1.tar.xz gcc-14.2.0.tar.xz gdbm-1.24.tar.gz…

  • Downloading files and patches II

    Issue with expat Issue with expat-2.6.4.tar.xz – missing from wget-list – retrieved from 12.3 directory – “use 2.7.1 instead” Instruction is in an online forum I have lost. I had to ask Google AI Mode to find it. errata is at: linuxfromscratch.org/lfs/errata/stable The file is not at any of the file mirrors. sourceforge.net/projects/expat redirected from…

  • Downloading files and patches I

    Checking stuff first Is the directory for the downloads there, and what are its permissions? ls -l $LFS Is LFS the environment? echo $LFS Is the LFS partition mounted? mount Get all needed files, patches, and the md5sums file for 3.2 All packages from linuxfromscratch.org/mirrors.html to be downloaded to $LFS/sources with the wget-list method. 1.…

  • Directory for downloads

    In 3.1 Introduction Create a directory for downloads, make it writable and sticky sudo mkdir -v $LFS/sourcessudo chmod -v a+wt $LFS/sources mode at ‘mnt/lfs/sources’ changed from 0755 rwxr-xr-x to 1777 rwxrwxrwt Danger, Will Robinson Edit – Here is where we’re supposed to be using “sudo su -” , not “sudo.”

  • Mounting made permanent

    The manual acted like this was kind of a niche thing to do, in the odd case that you would want to shut down the PC. I only use one set of peripherals, so… So the options are to remount the partition every boot, or modify the /etc/fstab file. I backed up the fstab file…

  • Setting the $LFS variable and mounting the partition

    For some reason I found it difficult and confusing to write out the procedure for this before starting. (Yes, I make a written procedure for every session.) Google AI Mode got involved. Exploring First I checked out a variety of things to be used in the next sections. I looked at startup files in ~…

  • My Gear 2025

    I get inordinate pleasure about my miniPCs. Mac mini M1 The M1 Mac mini is my main computer or “production machine.” Mac mini 9,1 (M1, 2020): 8 GB memory, 512 GB SSD, $899 I still have it on Monterey. I’m just not willing to keep changing OS’s when everything works right. I didn’t think the…