On 7/12/06, Paul G Rogers <[EMAIL PROTECTED]> wrote:
FWIW, I get into the chroot with:
#!/bin/bash -e
# Prepare & enter the build environment for a session
# Q&D test to see if this is the first time
if [ ! -d $LFS/proc ] ; then
mkdir -vp $LFS/{proc,sys,dev} &&
#PGR git needs /dev/null
mknod -m 666 $LFS/dev/null c 1 3
fi &&
if ! grep $LFS/proc /proc/self/mounts >/dev/null ; then
mount -vt proc proc $LFS/proc
fi
if ! grep $LFS/sys /proc/self/mounts >/dev/null ; then
mount -vt sysfs sysfs $LFS/sys
fi
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
Looks like you're not mounting devpts in /mnt/lfs/dev/pts (or shm).
You need to mount /proc /sys /dev/shm and /dev/pts in $LFS. These are
actual filesystems (see your host's fstab).
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page