Brent Hostetler wrote:
I am going through a new build and I am having trouble entering the chroot
after building the toolchain.

----------------------------------------------------
$ ls -l /tools
lrwxrwxrwx 1 root root 18 Dec 22 02:37 /tools -> /mnt/lfs/wrk/tools

$ ls -l /tools/bin/bash
-rwxr-xr-x 1 root root 3544126 Dec 22 03:00 /tools/bin/bash

$ ls -l /tools/bin/env
-rwxr-xr-x 1 root root 132979 Dec 22 03:01 /tools/bin/env

----------------------------------------------------

If /tools points to /mnt/lfs/wrk/tools, then when you chroot, it can't find /tools/bin, it would need to be /wrk/tools/bin.

I suggest you change the symlink from /tools to /mnt/lfs/tools on the host and also, in the host:

cd /mnt/lfs
mv wrk/tools .

I suppose you could also do 'ln -s wrk/tools /mnt/lfs/tools'

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to