public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [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

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