Can't chroot

Mark Binns mbinns at
Sun Mar 3 23:03:25 PST 2002

> I'm building LFS 3.1.  At section 6.4, I enter the commands to
> chroot, I get the message, like this:
>    [root at localhost root]# cd /mnt/lfs &&
>    > chroot /mnt/lfs /usr/bin/env -i HOME=/root \
>    >    TERM=$TERM /bin/bash --login
>    chroot: cannot execute /usr/bin/env: No such file or directory
>    [root at localhost lfs]#
> But, I can see /usr/bin/env.  It's definitely there!  What am I doing
> wrong?

Is there a /usr/bin/env in your chrooted enbironment? (Does
/mnt/lfs/usr/bin/env exist?)


Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list