Unable to chroot into clfs
Hi,
I get this error while changing root - Code:
chroot "${CLFS}" /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 Quote:
Best. |
Hello,
it seems that you get this error because your CLFS environment variable is not set... seems that's an empty string. Regards, Oliv' |
Quote:
Code:
clfs [ ~ ]$ cat > ~/.bash_profile << "EOF" Code:
ldd /tools/bin/bash |
Quote:
Code:
cannot change root directory to : Code:
cannot change root directory to /mnt/clfs: ... Code:
echo "CLFS variable set to: ${CLFS}" Oliv' |
Quote:
Code:
clfs:~$ echo "CLFS variable set to: ${CLFS}" Code:
clfs:/mnt/clfs$ chroot "${CLFS}" /tools/bin/env -i \ Code:
linux-taup:~ # export CLFS=/mnt/clfs |
In the first case, it failed because you need root permissions to do a chroot.
Well anyway, now it works, so have fun with your clfs installation ;) Oliv' |
All times are GMT -5. The time now is 05:01 PM. |