/usr/sbin/chroot: cannot execute /usr/bin/env: No such file or directory

Arnaud Boulan boulan at iie.cnam.fr
Mon Oct 14 05:03:55 PDT 2002


On Monday 14 October 2002 13:39, you wrote:
> Hello,

Hello!

>
> I have reached the part where I have to chroot (using ver.4 og the
> book), but when executing the command:
>
> /usr/sbin/chroot $LFS /static/bin/env -i \
>     HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
>     PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin \
>     /static/bin/bash --login
>
> I get this error:
>
> /usr/sbin/chroot: cannot execute /static/bin/env: No such file or
> directory
>

You probably forgot to install the sh-utils package during chapter 5.
Try reinstalling it...

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



More information about the lfs-support mailing list