Opened 23 years ago

Closed 23 years ago

Last modified 23 years ago

#187 closed defect (invalid)

Chapter 6 - Typo in entering the chroot'ed environment

Reported by: d_mavro@… Owned by: lfs-book@…
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 gerard@…, 23 years ago

op_sys: Linux
Resolution: invalid
Status: newclosed

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 \

--bindir=$LFS/bin --with-curses &&

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

Note: See TracTickets for help on using tickets.