public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] unable to chroot
@ 2006-11-17 21:35 Corey
  2006-11-17 22:15 ` Mike Frysinger
  2006-11-18  6:35 ` Corey
  0 siblings, 2 replies; 6+ messages in thread
From: Corey @ 2006-11-17 21:35 UTC (permalink / raw
  To: gentoo-embedded


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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-18  6:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox