Thank you, much clearer.
Quote:
chroot :cannot run command ‘/tools/bin/env’: No such file or directory
|
At the moment I can only guess that /mnt/lfs/tools is not linked to /
Code:
ln -sv $LFS/tools /
should fix it temporarily, but you may have some other issues to deal with. See below.
---
When building the toolchain $PATH should be:
Code:
/tools/bin:/bin:/usr/bin
not
Code:
/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
This way the newly compiled programs are used as soon as they are available.
Quote:
I didn’t work as lfs user.. and I went on working as normal root user from the start ..thus skipping the portion of useradd of lfs on page 24 and 25 and 26
|
Ah....this may cause some serious problems down the line. A key part of setting up the lfs user is making a clean build environment in order to minimise the influence of the host system.
The point: you really really should create an lfs user as the book suggests. If you want to use an existing account (or even worse the root account) you must still go through the procedure on pages 25,26 for that user.
Officially I recommend starting all over, this time following book to the letter, but if your patience is wearing thin, you could just continue and see what happens, the effect of a tainted toolchain varies from host to host. You never know you could end up with a (partially) working system.
Sorry to be the bearer of bad news (again)