public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Corey" <corey@bitworthy.net>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] unable to chroot
Date: Fri, 17 Nov 2006 23:35:08 -0700	[thread overview]
Message-ID: <200611172335.08402.corey@bitworthy.net> (raw)
In-Reply-To: <200611171435.44844.corey@bitworthy.net>


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



      parent reply	other threads:[~2006-11-18  6:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17 21:35 [gentoo-embedded] unable to chroot Corey
2006-11-17 22:15 ` Mike Frysinger
2006-11-17 22:45   ` Hanni Ali
2006-11-18  0:10     ` Corey
2006-11-18  0:08   ` Corey
2006-11-18  6:35 ` Corey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611172335.08402.corey@bitworthy.net \
    --to=corey@bitworthy.net \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox