On Tue, Feb 7, 2017 at 10:13 AM, Walter Dnes <waltd...@waltdnes.org> wrote: > On Tue, Feb 07, 2017 at 08:24:40AM +0000, J. Roeleveld wrote > >> I used to do this to build packages for my old 32bit netbook. >> >> To start a 32bit chroot: >> # linux32 chroot <directory> /bin/bash > > I transferred over the CentOS system. It fails on my system with > "Exec format error" > > [i660][root][~] chroot /home/misc/centos65/ /bin/bash > chroot: failed to run command '/bin/bash': Exec format error > > [i660][root][~] linux32 chroot /home/misc/centos65/ /bin/bash > chroot: failed to run command '/bin/bash': Exec format error > > The error is usually due to stuff like trying to run 32-bit code in a > 64-bit environment. >
You probably have the CONFIG_IA32_EMULATION kernel option disabled.