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.60) (envelope-from ) id 1GlJqv-0002j6-NA for garchives@archives.gentoo.org; Sat, 18 Nov 2006 06:39:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAI6bxfQ009758; Sat, 18 Nov 2006 06:37:59 GMT Received: from mpls-qmqp-05.inet.qwest.net (mpls-qmqp-05.inet.qwest.net [63.231.195.116]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAI6bvIM030089 for ; Sat, 18 Nov 2006 06:37:58 GMT Received: from mpls-pop-10.inet.qwest.net (mpls-pop-10.inet.qwest.net [63.231.195.10]) by mpls-qmqp-05.inet.qwest.net (Postfix) with QMQP id 0153962D6F8 for ; Sat, 18 Nov 2006 06:37:56 +0000 (UTC) Received: from unknown (HELO ?10.33.3.6?) (206.53.51.4) by mpls-pop-10.inet.qwest.net with SMTP; 18 Nov 2006 06:37:56 -0000 Date: Fri, 17 Nov 2006 23:35:08 -0700 Message-Id: <200611172335.08402.corey@bitworthy.net> From: "Corey" To: gentoo-embedded@lists.gentoo.org Organization: BitWorthy Subject: Re: [gentoo-embedded] unable to chroot User-Agent: KMail/1.9.5 References: <200611171435.44844.corey@bitworthy.net> In-Reply-To: <200611171435.44844.corey@bitworthy.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: 47be3fc4-2a82-4cc6-9481-0f822e6f0308 X-Archives-Hash: 2fee2e318ccdab1dfc2f021e33c97adf After some frustration, impatience, and gnashing of teeth - I finally did manage to see the error in my ways... #1 - I didn't properly set my gcc-config to use the new profile ( i686-pc-linux-uclibc-4.1.1 ) #2 - I had my CHOST and CBUILD set incorrectly So, things appear to be getting further along now, but I'll likely come crying back to the list before too long on some new problem... (c8= Cheers, Corey On Friday 17 November 2006 14:35, Corey wrote: > > I've got a minimal gentoo env on a separate partition, but I'm unable to chroot > into it - I get a "chroot: cannot run command `/bin/bash': No such file or directory", > even though bash does in fact exist in the target and is executable: > > scanner gentoo # chroot /mnt/gentoo/ /bin/bash > chroot: cannot run command `/bin/bash': No such file or directory > scanner gentoo # pwd > /mnt/gentoo > scanner gentoo # ls > bin dev etc home lib linuxrc mnt proc root sbin sys tmp usr var > scanner gentoo # ls -l bin/bash > -rwxr-xr-x 1 root root 869584 Nov 17 01:50 bin/bash > scanner gentoo # ./bin/bash --version > GNU bash, version 3.1.17(1)-release (i686-pc-linux-gnu) > Copyright (C) 2005 Free Software Foundation, Inc. > scanner gentoo # chroot /mnt/gentoo/ /bin/bash > chroot: cannot run command `/bin/bash': No such file or directory > > > Where should I begin trying to fix this? I used crossdev w/ uclibc when I compiled > and installed the base fs into the partition in question. > > > Thanks, > > Corey -- gentoo-embedded@gentoo.org mailing list