-   Linux From Scratch (
-   -   chapter 6.3 of LFS 6.1 (

Stamp 07-22-2005 07:06 AM

chapter 6.3 of LFS 6.1
I want too chroot too my lfs, but when i`m chrooting i get this error:

chroot: cannot run command `/tools/bin/env': No such file or directory
Whats wrong? i`ve checked if it exist and yes it exists in /tools/bin and /mnt/lfs/tools/bin.

cdhgee 07-22-2005 07:57 AM

Can you post the exact command you're trying to use.

Stamp 07-22-2005 08:10 AM

I use this command:

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

All times are GMT -5. The time now is 08:47 PM.