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 1FC3W9-0005Z0-48 for garchives@archives.gentoo.org; Wed, 22 Feb 2006 23:35:33 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1MNYUNJ010042; Wed, 22 Feb 2006 23:34:30 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1MNT3Ki024176 for ; Wed, 22 Feb 2006 23:29:04 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FC3Pr-00012y-Ll for gentoo-user@lists.gentoo.org; Wed, 22 Feb 2006 23:29:03 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FC3PZ-0005Qt-AC for gentoo-user@gentoo.org; Thu, 23 Feb 2006 00:28:45 +0100 Received: from 213-162-120-196.michae422.adsl.metronet.co.uk ([213.162.120.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Feb 2006 00:28:45 +0100 Received: from michaelkintzios by 213-162-120-196.michae422.adsl.metronet.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Feb 2006 00:28:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Mick Subject: [gentoo-user] Re: chroot: cannot run command `bin/bash': Exec format error Date: Wed, 22 Feb 2006 23:28:50 +0000 Message-ID: References: <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=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213-162-120-196.michae422.adsl.metronet.co.uk User-Agent: KNode/0.9.3 Sender: news X-Archives-Salt: 9f4751bd-fdee-4aa6-9690-185b7a38b384 X-Archives-Hash: b6d8c9275417f2d4cef46d1d2dcdcf1e John Jolet wrote: > > > > On 2/22/06 5:03 PM, "Bo Andresen" wrote: > >> Hi >> >> 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? >> >> When I get to step 6a (chrooting) >> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6#doc_cha >> p1 >> I get the following error: >> >> livecd gentoo # chroot /mnt/gentoo bin/bash >> chroot: cannot run command `bin/bash': Exec format error > I've seen that when chrooting into 64-bit environment from a 32-bit > kernel. > You cannot boot from the x86 minimal and use an amd64 stage file. You > need the amd64 boot cd. >> >> 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. > At the same time when you run a command you need to type the path to it correctly. In this case the path is preceded by /, as in: ============================ /bin/bash ============================ You really need to double check commands before you hit return as it is easy to miss a character and the whole sequence goes to pot. -- Regards, Mick -- gentoo-user@gentoo.org mailing list