public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@lycos.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: chroot: cannot run command `bin/bash': Exec format error
Date: Wed, 22 Feb 2006 23:28:50 +0000	[thread overview]
Message-ID: <dtis2s$ra2$1@sea.gmane.org> (raw)
In-Reply-To: C0224C8E.16B0%john@jolet.net

John Jolet wrote:

> 
> 
> 
> On 2/22/06 5:03 PM, "Bo Andresen" <bo.andresen@gmail.com> wrote:
> 
>> Hi
>> 
>> I have just purchased a new computer with a AMD Semphron 2800+ 64 bit
>> processor. I am installing it following the gentoo handbook of the amd64
>> architecture - only I am using the x86 minimal livecd (2005-r1) and the
>> stage3-amd64-2005.1-r1.tar.bz2 tarball. Shouldn that be a problem?
>> 
>> When I get to step 6a (chrooting)
>>
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6#doc_cha
>> p1
>> I get the following error:
>> 
>> livecd gentoo # chroot /mnt/gentoo bin/bash
>> chroot: cannot run command `bin/bash': Exec format error
> I've seen that when chrooting into 64-bit environment from a 32-bit
> kernel.
> You cannot boot from the x86 minimal and use an amd64 stage file.  You
> need the amd64 boot cd.
>> 
>> I did use LVM2 for partitioning but other than that I have followed the
>> handbook very throughly. I hope someone has a solution.  Please feel free
>> to ask for any information that may be helpful.
> 
At the same time when you run a command you need to type the path to it
correctly.  In this case the path is preceded by /, as in:
============================
/bin/bash
============================

You really need to double check commands before you hit return as it is easy
to miss a character and the whole sequence goes to pot.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-02-22 23:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22 23:03 [gentoo-user] chroot: cannot run command `bin/bash': Exec format error Bo Andresen
2006-02-22 23:14 ` John Jolet
2006-02-22 23:28   ` Mick [this message]
2006-02-22 23:41     ` [gentoo-user] " Bo Andresen
2006-02-22 23:18 ` [gentoo-user] " Boris Fersing
2006-02-22 23:42 ` Boyd Stephen Smith Jr.
2006-02-22 23:51   ` Bo Andresen
2006-02-23 21:31   ` Bo Andresen
2006-02-23 21:40     ` Boyd Stephen Smith Jr.
2006-02-23 21:56       ` Bo Andresen
2006-02-23 22:33         ` Boyd Stephen Smith Jr.
2006-02-23 23:25           ` Bo Andresen
2006-02-23 23:52             ` Boyd Stephen Smith Jr.
2006-02-24  0:12               ` Bo Andresen
2006-02-24  0:16                 ` Bo Andresen
2006-02-24  0:32                   ` Boyd Stephen Smith Jr.
2006-02-24  0:56                     ` Boyd Stephen Smith Jr.
2006-02-24  1:07                       ` Bo Andresen
2006-02-24  5:18                         ` Boyd Stephen Smith Jr.
2006-02-24 12:56                           ` [gentoo-user] chroot: cannot run command `bin/bash': Exec format error [SOLVED] Bo Andresen
2006-02-24 21:07                             ` Boyd Stephen Smith Jr.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='dtis2s$ra2$1@sea.gmane.org' \
    --to=michaelkintzios@lycos.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox