Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 107148

Summary: unable to chroot while installing on amd64
Product: [OLD] Docs-user Reporter: Paolo Agostini <paolo.agostini>
Component: HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paolo Agostini 2005-09-25 02:21:02 UTC
Gentlemen,

I tried to install Gentoo Linux 2005.1 on my AMD64 computer with the help of 
the Universal Installation CD. I strictly followed your instructions step by 
step and everything ran smoothly... at least till I got to Chapter 6, 
i.e. "Chrooting into the Gentoo Base System". As a matter of fact, when 
issuing the command:

# chroot /mnt/gentoo /bin/bash

Gentoo replies with a gentle but firm "Exec type error" and "unable to 
find /bin/bash". I tried three more times to install the system but every time 
I got the same response. 

Since I've been working with Linux before, i.e. I am not completely new at it, 
I dare suppose that your forgot to mention something in the instructions or 
something in the directions you supplied might be wrong. 

Any idea? 

Best

Paolo



Reproducible: Always
Steps to Reproduce:
1.install the base system
2.chroot into it
3.

Actual Results:  
"Exec type error" and "unable to find /bin/bash"
Comment 1 Shyam Mani (RETIRED) gentoo-dev 2005-09-25 03:39:55 UTC
Check your stage tarball and the contents of /mnt/gentoo/

If the mounted /mnt/gentoo/ doesn't have a bin/bash under it, something you're
doing isn't right.
Comment 2 SpanKY gentoo-dev 2005-09-25 04:42:01 UTC
the fact that you get an 'exec type error' seems like you used the wrong stage
Comment 3 Ɓukasz Damentko (RETIRED) gentoo-dev 2005-09-29 11:40:57 UTC
No more input so i assume that it was wrong stage file problem and close. Please
reopen if you have different feelings about that.
Comment 4 Steve Arnold archtester gentoo-dev 2006-04-20 22:49:46 UTC
I got this error using the stage3-amd64-2006.0.tar.bz2, but I was booting from the x86 minimal CD (not the amd64 CD).  Should that also fail?
Comment 5 SpanKY gentoo-dev 2006-04-20 23:02:27 UTC
of course

x86 livecd is a 32bit kernel ... no way for you to execute 64bit elf's on that