On Sun 11 Nov 2012 11:05:59 AM CST, Chris Staub wrote:
On 11/10/2012 09:22 PM, yan wrote:
On Sat 10 Nov 2012 11:09:08 PM CST, Chris Staub wrote:
On 11/10/2012 10:05 AM, yan wrote:
I also get a problem at this point
chroot $LFS /tools/bin/env -i HOME=/root TERM=$TERM PS1='\u:\w\$
'
I also get a problem at this point
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
/tools/bin/env: /tools/bin/bash: Permission denied
root@cpu:/home/yan/lfs# ll /tools/bin/env
-rwxrwxr-x 1 lfs lfs
On 11/10/2012 10:05 AM, yan wrote:
I also get a problem at this point
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
/tools/bin/env: /tools/bin/bash: Permission denied
root@cpu:/home/yan/lfs# ll
On Sat 10 Nov 2012 11:09:08 PM CST, Chris Staub wrote:
On 11/10/2012 10:05 AM, yan wrote:
I also get a problem at this point
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
/tools/bin/env:
On Sat 10 Nov 2012 11:09:08 PM CST, Chris Staub wrote:
On 11/10/2012 10:05 AM, yan wrote:
I also get a problem at this point
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
/tools/bin/env:
On 11/10/2012 09:22 PM, yan wrote:
On Sat 10 Nov 2012 11:09:08 PM CST, Chris Staub wrote:
On 11/10/2012 10:05 AM, yan wrote:
I also get a problem at this point
chroot $LFS /tools/bin/env -i HOME=/root TERM=$TERM PS1='\u:\w\$ '
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
Hello,
I have an error when I tried to execute the first chroot script:
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
When
Yuan Cao wrote:
Hello,
I have an error when I tried to execute the first chroot script:
chroot $LFS /tools/bin/env -i \
HOME=/root \
TERM=$TERM\
PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
On Nov 9, 2012, at 3:51 PM, Yuan Cao wrote:
chroot: failed to run command `/tools/bin/env': No such file or
directory.
Do this:
readelf -e /tools/bin/env | grep interpreter
It should output the interpreter in /tools/lib or /tools/lib64 and not
the host's /lib or /lib64.
Sincerely,