Unable to enter Chroot environment at 7.4 in the booklet.
Hello, I am experiencing an issue where when I run the commands:
Code:
chroot "$LFS" /usr/bin/env -i \ Code:
chroot: failed to run command ‘/usr/bin/env’: No such file or directory I tried fixing the symlinks, but it did not work. My $LFS variable is set to '/mnt/lfs' Running 'ls -l /usr/bin/env' returns: Code:
-rwxr-xr-x 1 root root 48536 Sep 20 2022 /usr/bin/env Code:
total 48 Code:
linux-vdso.so.1 (0x00007fffd9283000) Code:
bin etc lib64 proc sbin sys usr If it matters, I am running Kali 2023.2a 64bit on VMware Workstation 17. |
Quote:
|
It should work if LFS is correctly set at the time the chroot command is given. Have you been doing this build in stages? If so, you need to visually check that LFS is set at the start of each stage.
@emerson: here is the version from the book Code:
chroot "$LFS" /usr/bin/env -i \ |
Moin,
Quote:
cheers, WK |
All times are GMT -5. The time now is 02:16 AM. |