Operating System Programming 4DISS

(REV358--31-Jan-2024)
Welcome to the Operating System Programming for DISS site. The following is a step-by-step guide to set up a Virtual Debian Guest on VirtualBox. This site has been managed by VauLSMorg since 2020.
This is the WAY!

View on GitHub

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT


SP Week 02 Assignment #2: Linux From Scratch 11.3 Ch. 1-5

Preparation (IMPORTANT!)


Follow “The Linux From Scratch version 11.3 Book” chapter 1-5


Take Note: VirtualBox (+32 GB New Disk)

echo $LFS
mkdir -pv $LFS
mkfs  -v -t ext4 /dev/sdb
mount -v -t ext4 /dev/sdb $LFS

/dev/sdb   /mnt/lfs ext4   defaults      1     1


Take Note: UTM (+32 GB New Disk)

echo $LFS
mkdir -pv $LFS
mkfs  -v -t ext4 /dev/vdb
mount -v -t ext4 /dev/vdb $LFS

/dev/vdb   /mnt/lfs ext4   defaults      1     1

cd $LFS
ln -s lib lib64

../configure        \
      --prefix=/usr 


ALL: DO NOT SKIP

root:~# ls -al $LFS/sources/{md5sums,wget-list-sysv}
-rw-r--r-- 1 root root 4709 Nov 14 04:36 /mnt/lfs/sources/md5sums
-rw-r--r-- 1 root root 5392 Sep  1 02:43 /mnt/lfs/sources/wget-list-sysv

echo "LFS=$LFS MAKEFLAGS=$MAKEFLAGS"


Binutils-2.40 - Pass 1: Standard Build Unit (SBU)

mkdir -v build
cd       build
time { ../configure --prefix=$LFS/tools \
             --with-sysroot=$LFS \
             --target=$LFS_TGT   \
             --disable-nls       \
             --disable-werror    && make && make install; }


Generate LFS Ch. 1-5 Report

cd $HOME/myspwork/WEEK02/
bash 02-SP-WEEK02a.sh


Result/Report

cd $HOME/SP_RESULT/W02/
ls -al



HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT