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 1FC3o7-0000gd-66 for garchives@archives.gentoo.org; Wed, 22 Feb 2006 23:54:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1MNpucm026695; Wed, 22 Feb 2006 23:51:56 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 k1MNgd4l019882 for ; Wed, 22 Feb 2006 23:42:40 GMT Received: from localhost (localhost [127.0.0.1]) by ender.volumehost.net (Postfix) with ESMTP id 2AA86CDC6 for ; Wed, 22 Feb 2006 23:42:39 +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 07758-11-2 for ; Wed, 22 Feb 2006 23:42:37 +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 7FE4CCD8B for ; Wed, 22 Feb 2006 23:42:37 +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: Wed, 22 Feb 2006 17:42:36 -0600 User-Agent: KMail/1.9.1 References: <200602230003.33868.bo.andresen@gmail.com> In-Reply-To: <200602230003.33868.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: <200602221742.36605.bss03@volumehost.com> X-Virus-Scanned: amavisd-new at volumehost.net X-Archives-Salt: 56152545-6160-4fe1-81bb-d9502edd52d4 X-Archives-Hash: f22595a51d5c426a99f77e1361a2955e On Wednesday 22 February 2006 17:03, Bo Andresen wrote about '[gentoo-user] chroot: cannot run command `bin/bash': Exec format error': > I have just purchased a new computer with a AMD Semphron 2800+ 64 bit > processor. I am installing it following the gentoo handbook of the amd64 > architecture - only I am using the x86 minimal livecd (2005-r1) and the > stage3-amd64-2005.1-r1.tar.bz2 tarball. Shouldn that be a problem? Definitely a problem. > 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) > I did use LVM2 for partitioning but other than that I have followed the > handbook very throughly. I hope someone has a solution. Please feel > free to ask for any information that may be helpful. If you have a little bit of free space, do a 32-bit install to a separate LV. No need to really do a full install, just enough so you can compile a 64-bit kernel and install and configure your bootloader to load the 64-bit kernel. That should be as easy as lvcreate, format, mount, extract 32-bit stage3, cp over /etc/resolv.conf, chroot, emerge -sources, cd /usr/src/, zcat /proc/config.gz > .config, make oldconfig, make, emerge grub, mount /boot, grub-install, make install, umount boot, shutdown -r now. (Maybe a few steps I'm missing, and I don't mess with (e)lilo.) -- Boyd Stephen Smith Jr. bss03@volumehost.com ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list