Linux From Scratch (LFS) --- Step by Step with VirtualBox

(REV056b--27-Oct-2022)
Linux From Scratch (LFS) --- Step by Step with VirtualBox. This site is managed by VauLSMorg (vlsm.org) since 2020.
May the fork() be with you!

View on GitHub

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT


LFS: Chapter 7 part 1 and part 2

Virtual Box Guest LFS-07-1


ssh -p 6023 lfs@localhost


SuperUser (root)

su -

ls -al $LFS/


Changing Ownership

chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
case $(uname -m) in
  x86_64) chown -R root:root $LFS/lib64 ;;
esac


Preparing Virtual Kernel File Systems

mkdir -pv $LFS/{dev,proc,sys,run}


Creating Initial Device Nodes

mknod -m 600 $LFS/dev/console c 5 1
mknod -m 666 $LFS/dev/null c 1 3


Check It Out!

ls -F $LFS/
sleep 1
ls -al $LFS/lib64/
sleep 1
ls -al $LFS/dev/


Done

poweroff


ENDOFPAGE

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT