Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: "Corey" <corey@...>
Subject: unable to chroot
Date: Fri, 17 Nov 2006 14:35:44 -0700
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@g.o mailing list


Replies:
Re: unable to chroot
-- Corey
Re: unable to chroot
-- Mike Frysinger
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
building gentoo
Next by thread:
Re: unable to chroot
Previous by date:
Re: building gentoo
Next by date:
Re: unable to chroot


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.