LFS not booting Grub error

Kevin P. Fleming kpfleming at linuxfromscratch.org
Mon Jan 19 20:18:15 PST 2004

Serge Denault wrote:

> linux:~ # chroot $LFS /usr/bin/env -i \
>>    HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
>>    PATH=/bin:/usr/bin:/sbin:/usr/sbin \
>>    /bin/bash --login
> chroot: cannot change root directory to /usr/bin/env: Not a directory

You don't have an LFS environment variable set, so the $LFS expands to 
nothing, and chroot tries to use /usr/bin/env as the new root directory 

More information about the lfs-support mailing list