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