Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
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:14:05
Message-Id: 20170207151314.GB17499@waltdnes.org
In Reply to: Re: [gentoo-user] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host? by "J. Roeleveld"
1 On Tue, Feb 07, 2017 at 08:24:40AM +0000, J. Roeleveld wrote
2
3 > I used to do this to build packages for my old 32bit netbook.
4 >
5 > To start a 32bit chroot:
6 > # linux32 chroot <directory> /bin/bash
7
8 I transferred over the CentOS system. It fails on my system with
9 "Exec format error"
10
11 [i660][root][~] chroot /home/misc/centos65/ /bin/bash
12 chroot: failed to run command '/bin/bash': Exec format error
13
14 [i660][root][~] linux32 chroot /home/misc/centos65/ /bin/bash
15 chroot: failed to run command '/bin/bash': Exec format error
16
17 The error is usually due to stuff like trying to run 32-bit code in a
18 64-bit environment.
19
20 --
21 Walter Dnes <waltdnes@××××××××.org>
22 I don't run "desktop environments"; I run useful applications

Replies