chroot :command not found
[root@localhost lfs]# chroot $LFS /static/bin/env -i \>HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
>PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin \
>/static/bin/bash --login
bash: chroot: command not found
---
I use redhat9,&lfs-4.0-rc1,
how to do with it?
--- my input of chinese in rh9 cann't be found,
I have to use my poor Englinsh:D I"VE GOT IT,
Exactly. Redhat places many "system administration" commands in /sbin and then leaves /sbin out of the PATH of normat users. Depending on how you su to root it may not be in root's PATH either. Try replacing chroot with /sbin/chroot in the above. Also, if your not to far along try changing over to LFS 5.0 as another post mentioned.
Ò³:
[1]