public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Newbie: Install process @ chroot
@ 2005-10-07 11:19 Subba Rao
  2005-10-07 11:46 ` Michael Kjorling
  2005-10-07 11:56 ` John Jolet
  0 siblings, 2 replies; 4+ messages in thread
From: Subba Rao @ 2005-10-07 11:19 UTC (permalink / raw
  To: gentoo-user

Hello,

This is my first installation of Gentoo.  I am at the
section 6.a in the installation manual for 2005.1
Handbook.  I started the installation yesterday (upto
chapter 5.e) and left it since it was quite confusing
to get the system started/installed.

Today, when I tried to do chrooting I got the
following message.

livecd / # chroot /mnt/gentoo /bin/bash
chroot: cannot run command `/bin/bash': No such file
or directory

livecd / # ls -l /bin/bash
-rwxr-xr-x  1 root root 680316 Jul 22 18:23 /bin/bash

livecd / # file /bin/bash
/bin/bash: ELF 32-bit LSB executable, Intel 80386,
version 1 (SYSV), for GNU/Linux 2.4.1, dynamically
linked (uses shared libs), stripped
[subbarao@localhost ~]$

I cannot figure out why it is saying that there is no
'bash' file.  Can someone please explain what steps I
am missing?

Thank you in advance.

Subba Rao
cat @yahoo.com >> castellan2004-member
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Newbie: Install process @ chroot
  2005-10-07 11:19 [gentoo-user] Newbie: Install process @ chroot Subba Rao
@ 2005-10-07 11:46 ` Michael Kjorling
  2005-10-07 13:09   ` Neil Bothwick
  2005-10-07 11:56 ` John Jolet
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Kjorling @ 2005-10-07 11:46 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2005-10-07 04:19 -0700, castellan2004-member@yahoo.com wrote:
> livecd / # chroot /mnt/gentoo /bin/bash
> chroot: cannot run command `/bin/bash': No such file or directory
> 
> livecd / # ls -l /bin/bash
> -rwxr-xr-x  1 root root 680316 Jul 22 18:23 /bin/bash

This sounds to me like you did not unpack the stage tarball, or it was
only partially unpacked.

The `chroot' command will change the root directory to `/mnt/gentoo',
then try to execute /bin/bash from within that new environment. So the
file you need to make sure is in place from outside the chroot is
/mnt/gentoo/bin/bash. Try unpacking the stage tarball again (step 5 b
in the handbook) and see if it helps.

- -- 
Michael Kjörling, michael@kjorling.com - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* ..... No bird soars too high if he soars with his own wings ..... *
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDRmAYdY+HSb3praYRAujFAJwKcwku2+GEgs/iIUeld1qBOHIiTwCfZLMB
gF/zjrCA2tvF8cRVakR3e3k=
=yUYp
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Newbie: Install process @ chroot
  2005-10-07 11:19 [gentoo-user] Newbie: Install process @ chroot Subba Rao
  2005-10-07 11:46 ` Michael Kjorling
@ 2005-10-07 11:56 ` John Jolet
  1 sibling, 0 replies; 4+ messages in thread
From: John Jolet @ 2005-10-07 11:56 UTC (permalink / raw
  To: gentoo-user


On Friday 07 October 2005 06:19, Subba Rao wrote:
> Hello,
>
> This is my first installation of Gentoo.  I am at the
> section 6.a in the installation manual for 2005.1
> Handbook.  I started the installation yesterday (upto
> chapter 5.e) and left it since it was quite confusing
> to get the system started/installed.
>
> Today, when I tried to do chrooting I got the
> following message.
>
> livecd / # chroot /mnt/gentoo /bin/bash
> chroot: cannot run command `/bin/bash': No such file
> or directory
is there a /mnt/gentoo/bin/bash?  that's really what it's looking for
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Newbie: Install process @ chroot
  2005-10-07 11:46 ` Michael Kjorling
@ 2005-10-07 13:09   ` Neil Bothwick
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2005-10-07 13:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

On Fri, 7 Oct 2005 11:46:32 +0000, Michael Kjorling wrote:

> This sounds to me like you did not unpack the stage tarball, or it was
> only partially unpacked.

Or you did not mount the Gentoo root partition on /mnt/gentoo.


-- 
Neil Bothwick

Ohnosecond: That minuscule fraction of time in which you realize
            you've just made a big mistake

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-10-07 13:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-07 11:19 [gentoo-user] Newbie: Install process @ chroot Subba Rao
2005-10-07 11:46 ` Michael Kjorling
2005-10-07 13:09   ` Neil Bothwick
2005-10-07 11:56 ` John Jolet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox