Gentoo Archives: gentoo-user

From: Mike Gilbert <floppym@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?
Date: Tue, 07 Feb 2017 15:26:17
Message-Id: CAJ0EP42Hna_ivPQMgm7yQiAp2mZ+4-xGJcxsd_Y=V1Ph4iWHXw@mail.gmail.com
In Reply to: Re: [gentoo-user] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host? by Walter Dnes
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.

Replies

Subject Author
Re: [gentoo-user] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host? Walter Dnes <waltdnes@××××××××.org>
Re: [gentoo-user] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host? Walter Dnes <waltdnes@××××××××.org>