Re: Problem in entering chroot: /bin/bash not found
"tjoen" ([email protected] via lfs-support Mailing List) <[email protected]> Sun, 15 Jun 2025 14:10:21 +0200
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Organization | dds.nl |
| Message-ID | <[email protected]> |
On 6/15/25 12:30 PM, Bhaumik Tripathi ([email protected] via lfs-support Mailing List) wrote: ... > But since chown has changed the owner of all directories to root in > chapter 7's starting. Should I try rebuilding bash as root from its > tarball and see if it works? or change the ownership back to lfs and > then rebuild bash? By user: $ ./configure --prefix=/usr --bindir=/bin --without-bash-malloc \ --with-installed-readline $ make By root: # make DESTDIR=/mnt/lfs install > In that case would I need to rebuild binutils, gcc and packages that > I built after it again? Just # chown root:root /mnt/lfs/usr/bin/* and /mnt/lfs/bin/* Also /mnt/lib64/* and /mnt/lfs/usr/lib/* -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page