#187 closed defect (invalid)
Chapter 6 - Typo in entering the chroot'ed environment
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | 3.0-rc2 |
Severity: | major | Keywords: | |
Cc: |
Description
Thank you for putting a great effort in creating a scratch distribution. I'm learning a lot. The following command is producing an error though.
cd $LFS && chroot $LFS /usr/bin/env -i HOME=/root \
TERM=$TERM /bin/bash --login
Since /bin/bash doesn't exist, I believe it has to be changed to /usr/bin/bash KEEP UP THE GREAT WORK!!! Dimitris
Change History (1)
comment:1 by , 23 years ago
op_sys: | → Linux |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
bash is supposed to end up in $LFS/bin. If not, then something has gone wrong during your bash installation in chapter 5.
The correct way to install bash in chapter 5 is by running:
./configure --enable-static-link --prefix=$LFS/usr \
make && make install && cd $LFS/bin && ln -sf bash sh
the --bindir=$LFS/bin causes the bash program (and the bashbug script) to be installed in $LFS/bin