4.2 Creating a Limited Directory Layout in the LFS Filesystem [Solved]
Hello forum members and LFS users,
this is my very first attempt at building LFS, and I am having issues as to the commands in chapter 4.2, which must be run as root. Linux Mint is my current host system.
I am having issues running the below commands as root (doing sudo before running them:
mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin}
for i in bin lib sbin; do
ln -sv usr/$i $LFS/$i
done
case $(uname -m) in
x86_64) mkdir -pv $LFS/lib64 ;;
esac
I am having issues such as: ln: failed to create symbolic link '/bin/bin': Permission denied
or: sudo: case: command not found: bash: syntax error near unexpected token `)'
I am not a software developer nor a System Admin, just curious as to how Linux works. My previous experience with Linux was Gentoo, which I learned how to install pretty well, but LFS is another story...
Any help is much appreciated, and I fear it won't be my first request for assistance...
Thank you in advance to all of you for any support. While I wait for an answer, I will goggle the errors and see if I can find any potential work around....
Last edited by enrico68; 06-12-2023 at 08:51 AM.
|