Working on my first LFS system and i've gotten to the point where i need to chroot my new LFS partition and the book says to type:
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
(where $LFS = (for me) /mnt/lfs/)
So this is what i type and get back:
[root@localhost lfs]# /usr/sbin/chroot /mnt/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
/usr/sbin/chroot: cannot change root directory to /mnt/lfs/static/bin/env: Not a directory

any ideas?