LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   getting started in chroot environment (https://www.linuxquestions.org/questions/linux-from-scratch-13/getting-started-in-chroot-environment-306985/)

Mystified 03-28-2005 08:48 AM

getting started in chroot environment
 
Hi, I'm getting reading to start the chroot environment and this is my problem:

gentoo lfs # 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
chroot: cannot change root directory to : No such file or directory


Any suggestions?

slakmagik 03-28-2005 08:50 AM

What's 'echo $LFS' say?

Andrew Benton 03-28-2005 08:58 AM

My thoughts exactly. It looks like you've not set the variable $LFS to point to your LFS partition.

Mystified 03-28-2005 09:11 AM

gentoo lfs # echo $LFS
/mnt/lfs


All times are GMT -5. The time now is 01:23 AM.