Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [SOLVED] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?
Date: Wed, 08 Feb 2017 08:45:26
Message-Id: 20170208084503.339f3b43@digimed.co.uk
In Reply to: [gentoo-user] [SOLVED] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host? by Walter Dnes
1 On Tue, 7 Feb 2017 20:33:57 -0500, Walter Dnes wrote:
2
3 > Here's how I did it...
4 >
5 > * Ensured that CONFIG_IA32_EMULATION was set in the kernel config of the
6 > 64-bit host linux (Gentoo)
7 >
8 > * rsync'd an entire install of CentOS 6.5, lock-stock-and-barrel, from a
9 > QEMU VM to /home/misc/centos65
10 >
11 > * rm
12 > -rf /home/misc/centos65/dev /home/misc/centos65/sys /home/misc/centos65/proc
13
14 If you used the -x switch with rsync, the contents of sys, dev and proc
15 won't be copied n the first place, nor will the contents of any other
16 mounted filesystems.
17
18 That's if you rsynced from a running VM. If you used qemu-ndb to mount
19 the VM image without starting the VM they would have been empty to start
20 with.
21
22
23 --
24 Neil Bothwick
25
26 Those who live by the sword get shot by those who don't.

Replies

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