[lfs-support] LFS 7.2 Section 6.4 Chroot Error

Yuan Cao yuancao85 at gmail.com
Fri Nov 9 13:51:32 PST 2012


Hello,

I have an error when I tried to execute the first chroot script:

chroot "$LFS" /tools/bin/env -i \
    HOME=/root                  \
    TERM="$TERM"                \
    PS1='\u:\w\$ '              \
    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
    /tools/bin/bash --login +h

When executing it, I encounters the following error:

chroot: failed to run command `/tools/bin/env': No such file or directory.

I have double checked the symlink of /tools and it still targets
/mnt/lfs/tools. I also looked over the instructions in 6.1 - 6.3, and I
could not find a mention on creating the /tools/bin/env directory.

Should I just use mkdir to create a /tools/bin/env directory, or am I
missing a step?

Additional Info: I am not sure it matters, but I am working on Ubuntu
12.04, and I have made sure that all the host system requirement in section
vii has been met.

I would really appreciate it someone could help me.

Best Regards,

Yuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20121109/b65414de/attachment.html>


More information about the lfs-support mailing list