some problem about buildding LFS on Debian with WSL



This content originally appeared on DEV Community and was authored by pipishuo

I encountered some problems when I build LFS on Debian with WSL.
The official document is here

LFS chroot cannot find /usr/bin/env

run the command ln -sv usr/lib $LFS/lib in $LFS.
I crushed same problem when i am building Linux from Scratch. on the “4.2. Creating a Limited Directory Layout in the LFS Filesystem”,I run the part of shell ln -sv usr/$i $LFS/$i go wrong ,so i not have the symbol link $LFS/lib->usr/liband the problem arose.

Analogically. I need to run ln -sv usr/bin $LFS/bin and ln -sv usr/sbin $LFS/sbin


This content originally appeared on DEV Community and was authored by pipishuo