cannot change chroot

Bluesheet bluesheet at doramail.com
Fri Jan 21 01:18:34 PST 2005


Dear all,
I am a first time to use LFS to develop a new Linux system, thanks for LFS
first, it is a good for us. thanks thanks.

how I have a problem, I following the LFS5.1 book to develop my own Linux
system, but after I install all temp package, I have a problem under using
"chroot", the error message is like that:

[root at localhost root]# chroot "/home/mylinux" /tools/bin/env -i HOME=/root
TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
/tools/bin/bash --login
[root at localhost root]# chroot "/home/mylinux" /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: No such file or directory
[root at localhost root]#

but I change it to this, "chroot "/home/mylinux" /tools/bin/env -i
HOME=/root TERM="$TERM" PS1='\u:\w\$ '
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin /bin/bash --login", it still
contain error.

So, I cannot chroot to do the next step, please give me some suggestion or
tips about this issue. Thanks.





More information about the lfs-support mailing list