Linux Distribution > Distribution Specific

error while chrooting


Hi, I have taken up LFS as my college project. I have completed the test system installation so far and now going to continue with actual system building (i.e. chapter 6)

The problem is that when I give the 'chroot' command i.e.

--- Quote ---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
--- End quote ---

I get error as

--- Quote ---:/tools/bin/env - no such file or folder found
--- End quote ---

But when I manually check the /tools/bin directory,I can find the required file 'env'. So what can be the error?

Is "/tools/bin/env "  is in the chroot env also? i.e under $LFS ?


[0] Message Index

Go to full version