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 1FCORn-0003bi-8l for garchives@archives.gentoo.org; Thu, 23 Feb 2006 21:56:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1NLoo46000935; Thu, 23 Feb 2006 21:50:50 GMT Received: from ender.volumehost.net (adsl-69-154-123-202.dsl.fyvlar.swbell.net [69.154.123.202]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1NLeHAp018248 for ; Thu, 23 Feb 2006 21:40:17 GMT Received: from localhost (localhost [127.0.0.1]) by ender.volumehost.net (Postfix) with ESMTP id 12934D182 for ; Thu, 23 Feb 2006 21:40:17 +0000 (UTC) Received: from ender.volumehost.net ([127.0.0.1]) by localhost (ender.volumehost.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11929-11-2 for ; Thu, 23 Feb 2006 21:40:15 +0000 (UTC) Received: from monster (ip70-178-175-2.ks.ks.cox.net [70.178.175.2]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ender.volumehost.net (Postfix) with ESMTP id 99225D183 for ; Thu, 23 Feb 2006 21:40:15 +0000 (UTC) From: "Boyd Stephen Smith Jr." To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error Date: Thu, 23 Feb 2006 15:40:14 -0600 User-Agent: KMail/1.9.1 References: <200602230003.33868.bo.andresen@gmail.com> <200602221742.36605.bss03@volumehost.com> <200602232231.10982.bo.andresen@gmail.com> In-Reply-To: <200602232231.10982.bo.andresen@gmail.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: <200602231540.14964.bss03@volumehost.com> X-Virus-Scanned: amavisd-new at volumehost.net X-Archives-Salt: 5afad447-e1bc-4ada-ac10-60563e2a7368 X-Archives-Hash: 638135ad1af0a32d33276d23b574cfd7 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 > > > > Your 32-but kernel can't run the 64-bit bash. You'll have to use a > > 64-bit kernel (or as 32-bit stage3, and then gradually recompile) > > 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? > 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. I don't use genkernel maybe it does some crazy magic like that. > 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. -- Boyd Stephen Smith Jr. bss03@volumehost.com ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list