From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NMMpg-0001z9-F5 for garchives@archives.gentoo.org; Sun, 20 Dec 2009 14:32:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98245E058F; Sun, 20 Dec 2009 14:31:20 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by pigeon.gentoo.org (Postfix) with ESMTP id 6FCDCE058F for ; Sun, 20 Dec 2009 14:31:20 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NMMoZ-0004mi-7l for gentoo-amd64@lists.gentoo.org; Sun, 20 Dec 2009 15:31:19 +0100 Received: from ip68-231-22-224.ph.ph.cox.net ([68.231.22.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Dec 2009 15:31:19 +0100 Received: from 1i5t5.duncan by ip68-231-22-224.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Dec 2009 15:31:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-amd64@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-amd64] no-multilib and 32-bit chroot Date: Sun, 20 Dec 2009 14:30:57 +0000 (UTC) Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip68-231-22-224.ph.ph.cox.net User-Agent: Pan/0.133 (House of Butterflies) Sender: news Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 05e27f5e-7fd5-4f60-ab69-02460c794479 X-Archives-Hash: a954ec276be98d4a2883ac9e6249f779 Just in case anybody ever wondered, there's nothing stopping someone from= =20 doing the 32-bit chroot (as in the gentoo/amd64 documentation) on a no-multilib system. In fact, it's a cleaner way to do it, since the two=20 systems will be fully separated, no 32-bit stuff on the 64-bit side, and=20 no 64-bit stuff on the 32-bit side, plus no generic 32-bit binary-only=20 emul-linux-x86 libs to worry about. The one caveat is to make sure you have the kernel set to handle 32-bit=20 also (in menuconfig, under executable file formats, ia32 emulation), but=20 that's needed for grub-static anyway, I believe, so no big deal there. I've been running no-multilib for quite some time and definitely prefer=20 it on the 64-bit side. But I've had a netbook (Acer Aspire One, from=20 before they went with the freedomware crippled poulsbo chipset) that only= =20 does 32-bit, and I'm finally getting around to sticking Gentoo on it. So= =20 I did the 32-bit chroot stuff to build the image for it as my main=20 machine is far faster, tho I wasn't sure if it was going to require at=20 least a 32-bit glibc and ld/linker (and thus multilib) on the main system= =20 or not. I thought it /should/ be fine, tho, and was correct. All it=20 needs is the standard 32-bit chroot stuff. Just setup the initial dir,=20 unpack the 32-bit stage-3, and setup the mounts as outlined in the chroot= =20 guide, and the linux32 chroot /file/system /bin/bash command works as it=20 should. Since I'm doing it as a full system setup to be transferred to my netbook= =20 later, not just the usual chroot stuff, I had a bit more to do than the=20 guide mentioned, and the x86 handbook installation section wasn't quite=20 right for me either, tho I followed it relatively closely except that I=20 haven't configured fstab or grub yet, and of course didn't partition the=20 disk since that was already setup on my main machine. I'll have to do=20 that later, when load the image on a thumbdrive, boot the thumbdrive on=20 the netbook, and then use it to setup partitioning, etc, on the netbook's= =20 drive (I got the 120 gig conventional magnetic platter SATA, not the SSD)= . FWIW, I just got thru with an emerge --emptytree @system and am now doing= =20 an emerge --emptytree @selected for the few world packages I have, after=20 updating @system to gcc 4.4.2 (~x86) just previous to emerging --emptytree @system. I still have to add most of world, including xorg,=20 kde, icecat, etc. I'm figuring I'll have a Christmas present for myself,= =20 tho. =3D:^) That's including both finishing the build, and the final set= up=20 on the netbook too, I hope. --=20 Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman