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