* [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root
@ 2006-09-30 17:46 Dean Ezra
2006-09-30 18:33 ` Mike Frysinger
2006-09-30 22:49 ` Mike Frysinger
0 siblings, 2 replies; 8+ messages in thread
From: Dean Ezra @ 2006-09-30 17:46 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]
Hi,
I am trying to follow the Wiki instructions for putting Gentoo onto
the NSLU2 at:
http://gentoo-wiki.com/HARDWARE_Linksys_NSLU2
However, I am getting an error when trying to chroot into the gentage
stage that is on the USB disk.
I have burned the openslug firmware and created the root filesystem
(from the stage3 tar.bz2) and now have ssh login to nslu2.
But when I run the following commands:
# mount -o bind /dev /mnt/gentoo/dev
# mount -o bind /dev/pts /mnt/gentoo/dev/pts
# mount -t proc none /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/
# chroot /mnt/gentoo /bin/bash
I get the following error on the last line (the chroot command)
chroot: cannot execute /bin/bash: No such file or directory
I have checked for /bin/bash, but it doesnt exist.
I have also tried using the 'sh' shell instead (which does exist as a
link to busybox). But I get the same error (but with sh not being
about to be executed).
Please can someone help?
If any of you have run through these steps, I would appreciate the help.
Thankyou in advance
Dean
[-- Attachment #2: Type: text/html, Size: 7353 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root
2006-09-30 17:46 [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root Dean Ezra
@ 2006-09-30 18:33 ` Mike Frysinger
2006-09-30 20:32 ` Dean Ezra
2006-09-30 22:49 ` Mike Frysinger
1 sibling, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2006-09-30 18:33 UTC (permalink / raw
To: gentoo-embedded; +Cc: Dean Ezra
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
On Saturday 30 September 2006 13:46, Dean Ezra wrote:
> chroot: cannot execute /bin/bash: No such file or directory
means it couldnt execute the ldso for whatever reason
maybe you d/led the wrong arm stage ?
-mike
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root
2006-09-30 18:33 ` Mike Frysinger
@ 2006-09-30 20:32 ` Dean Ezra
2006-09-30 22:26 ` Mike Frysinger
0 siblings, 1 reply; 8+ messages in thread
From: Dean Ezra @ 2006-09-30 20:32 UTC (permalink / raw
To: gentoo-embedded
I downloaded the following stage3 bz2:
stage3-armeb-uclibc-softfloat-2005.1.tar.bz2
Is this the correct one?
How can I tell?
-Dean
On 30 Sep 2006, at 19:33, Mike Frysinger wrote:
> On Saturday 30 September 2006 13:46, Dean Ezra wrote:
>> chroot: cannot execute /bin/bash: No such file or directory
>
> means it couldnt execute the ldso for whatever reason
>
> maybe you d/led the wrong arm stage ?
> -mike
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root
2006-09-30 20:32 ` Dean Ezra
@ 2006-09-30 22:26 ` Mike Frysinger
2006-09-30 22:35 ` Dean Ezra
0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2006-09-30 22:26 UTC (permalink / raw
To: gentoo-embedded; +Cc: Dean Ezra
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
On Saturday 30 September 2006 16:32, Dean Ezra wrote:
> stage3-armeb-uclibc-softfloat-2005.1.tar.bz2
which is probably the correct one assuming you didnt go through the byte
swapping procedure to boot a little endian nslu2
-mike
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root
2006-09-30 22:26 ` Mike Frysinger
@ 2006-09-30 22:35 ` Dean Ezra
2006-09-30 22:47 ` Mike Frysinger
0 siblings, 1 reply; 8+ messages in thread
From: Dean Ezra @ 2006-09-30 22:35 UTC (permalink / raw
To: gentoo-embedded; +Cc: Mike Frysinger
forgive me if I am asking a silly question, but I dont know what the
'byte swapping procedure to boot a little endian nslu2' is.
I have burned the openslug 3.1-beta firmware. Could you confirm this
is correct?
On 30 Sep 2006, at 23:26, Mike Frysinger wrote:
> On Saturday 30 September 2006 16:32, Dean Ezra wrote:
>> stage3-armeb-uclibc-softfloat-2005.1.tar.bz2
>
> which is probably the correct one assuming you didnt go through the
> byte
> swapping procedure to boot a little endian nslu2
> -mike
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root
2006-09-30 22:35 ` Dean Ezra
@ 2006-09-30 22:47 ` Mike Frysinger
0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2006-09-30 22:47 UTC (permalink / raw
To: Dean Ezra; +Cc: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 341 bytes --]
On Saturday 30 September 2006 18:35, Dean Ezra wrote:
> forgive me if I am asking a silly question, but I dont know what the
> 'byte swapping procedure to boot a little endian nslu2' is.
if you have to ask, then you didnt ;)
> I have burned the openslug 3.1-beta firmware. Could you confirm this
> is correct?
that should work fine
-mike
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root
2006-09-30 17:46 [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root Dean Ezra
2006-09-30 18:33 ` Mike Frysinger
@ 2006-09-30 22:49 ` Mike Frysinger
2006-10-01 2:23 ` Dean Ezra
1 sibling, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2006-09-30 22:49 UTC (permalink / raw
To: gentoo-embedded; +Cc: Dean Ezra
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
On Saturday 30 September 2006 13:46, Dean Ezra wrote:
> I have checked for /bin/bash, but it doesnt exist.
did you unpack the tarball correctly ? there is def a /bin/bash in the
tarball
-mike
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root
2006-09-30 22:49 ` Mike Frysinger
@ 2006-10-01 2:23 ` Dean Ezra
0 siblings, 0 replies; 8+ messages in thread
From: Dean Ezra @ 2006-10-01 2:23 UTC (permalink / raw
To: gentoo-embedded; +Cc: Mike Frysinger
Hi,
Thanks for the help. I have ended up backtracking the steps in the
Gentoo NSLU2 hardware wiki and I think it was down to not doing
'turnup init' at the beginning.
Having redone the steps (including the turnup init), I am past the
chroot step and now running 'emerge sync'.
PS I have also updated the wiki with some extra guidelines.
thanks
On 30 Sep 2006, at 23:49, Mike Frysinger wrote:
> On Saturday 30 September 2006 13:46, Dean Ezra wrote:
>> I have checked for /bin/bash, but it doesnt exist.
>
> did you unpack the tarball correctly ? there is def a /bin/bash in
> the
> tarball
> -mike
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-10-01 2:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-30 17:46 [gentoo-embedded] Chroot error: chroot: 'cannot execute /bin/bash: No such file or directory' on NSLU2 to Gentoo root Dean Ezra
2006-09-30 18:33 ` Mike Frysinger
2006-09-30 20:32 ` Dean Ezra
2006-09-30 22:26 ` Mike Frysinger
2006-09-30 22:35 ` Dean Ezra
2006-09-30 22:47 ` Mike Frysinger
2006-09-30 22:49 ` Mike Frysinger
2006-10-01 2:23 ` Dean Ezra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox