Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chroot error during install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Elexorien
n00b
n00b


Joined: 25 Sep 2006
Posts: 60

PostPosted: Sun Nov 12, 2006 8:32 am    Post subject: chroot error during install Reply with quote

HI! Im installing Gentoo on my main computer (im posting this on my secondary computer on which Gentoo is running fine) and I'm running into a bit of a problem.

I followed the AMD64 Handbook to the point where I chroot into the new install:

Code:
chroot /mnt/gentoo /bin/bash


but i get the following error:

Code:
chroot: cannot run command `/bin/bash': Exec format error


I followed everything to the letter (twice) and for some reason cant get this to work. I had no issues on my x86 (this computer) but the AMD64 comp doesnt seem to want to play...

I downloaded the current 64 bit stage3 and the portage snapshot, and mounted everything as instructed...

Ive tried using various copies of bash that i can find on the system (live cd and extracted form the stage3) but none of them work.

I dont know what to do.
Back to top
View user's profile Send private message
Elexorien
n00b
n00b


Joined: 25 Sep 2006
Posts: 60

PostPosted: Sun Nov 12, 2006 10:50 am    Post subject: Reply with quote

well i downloaded and untared the i686 stage3 and chroot now works. i guess ill have to switch to 64 bit later on...
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Nov 12, 2006 3:14 pm    Post subject: Re: chroot error during install Reply with quote

Elexorien wrote:
Ive tried using various copies of bash that i can find on the system (live cd and extracted form the stage3) but none of them work.

The problem is that the environment you are trying to chroot into is 64bit, but the LiveCD you are using only has a 32bit kernel.

You will need a 64bit LiveCD if you want to do a 64bit installation.

Elexorien wrote:
i guess ill have to switch to 64 bit later on...

I don't know if an upgrade from 32bit to 64bit is possible. I think a fresh installation is your only option.
Back to top
View user's profile Send private message
Elexorien
n00b
n00b


Joined: 25 Sep 2006
Posts: 60

PostPosted: Sun Nov 12, 2006 4:46 pm    Post subject: Re: chroot error during install Reply with quote

cyrillic wrote:
I don't know if an upgrade from 32bit to 64bit is possible. I think a fresh installation is your only option.


thats what i meant. once i get a working system so i can burn a copy of the 64bit live cd then i can do a complete reinstall to the 64 bit arch.

im currently installing the x86 arch now
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum