From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FCOks-0006rE-1r for garchives@archives.gentoo.org; Thu, 23 Feb 2006 22:16:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1NMCWBJ031556; Thu, 23 Feb 2006 22:12:32 GMT Received: from cicero2.cybercity.dk (cicero2.cybercity.dk [212.242.40.53]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1NLu3WC019921 for ; Thu, 23 Feb 2006 21:56:04 GMT Received: from user2.cybercity.dk (user2.cybercity.dk [212.242.41.35]) by cicero2.cybercity.dk (Postfix) with ESMTP id B17E724516D for ; Thu, 23 Feb 2006 22:56:03 +0100 (CET) Received: from [10.0.0.2] (port78.ds1-abs.adsl.cybercity.dk [212.242.227.17]) by user2.cybercity.dk (Postfix) with ESMTP id 314872866AD for ; Thu, 23 Feb 2006 22:56:03 +0100 (CET) From: Bo Andresen To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error Date: Thu, 23 Feb 2006 22:56:01 +0100 User-Agent: KMail/1.9.1 References: <200602230003.33868.bo.andresen@gmail.com> <200602232231.10982.bo.andresen@gmail.com> <200602231540.14964.bss03@volumehost.com> In-Reply-To: <200602231540.14964.bss03@volumehost.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602232256.02982.bo.andresen@gmail.com> X-Archives-Salt: 1a8172b2-ffb2-4873-85ae-04558fb9aadf X-Archives-Hash: 02737875682a12dfea17056d267572e6 On Thursday 23 February 2006 22:40, Boyd Stephen Smith Jr. wrote: > On Thursday 23 February 2006 15:31, Bo Andresen > wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec > > format error': > > On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote: > > > > livecd gentoo # chroot /mnt/gentoo bin/bash > > > > chroot: cannot run command `bin/bash': Exec format error [SNIP] > > Will a 64 bit kernel be able to run a 32 bit bash? > > A 64-bit kernel will run 32-bit binaries fine... Um, there may be a needed > kernel option though... CONFIG_IA32_EMUL? Anyone? I cannot seem to find any such kernel config option. > > In order to get a 64 > > bit kernel a have to set CFLAGS=-march=k8 > > Your CFLAGS in make.conf don't affect your kernel, normally. Didn't really think so either. It's just that I still get the Exec format error when I try to chroot. Is there a way to very that I really am running a 64 kernel? > I don't use > genkernel maybe it does some crazy magic like that. I don't either. > > and set the processor type to > > K8 in the kernel configuration, right? > > Just setting the proper processor type should build your kernel as 64-bit. Did do that. Thanks for your replies.. -- Bo Andresen -- gentoo-user@gentoo.org mailing list