LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   chapter 6.3 of LFS 6.1 (http://www.linuxquestions.org/questions/linux-from-scratch-13/chapter-6-3-of-lfs-6-1-a-345661/)

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:
Code:

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:
Code:

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 03:28 PM.