Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chroot /mnt/gentoo /bin/bash fails on rescuecd [solved]
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
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Wed Dec 14, 2011 10:08 pm    Post subject: chroot /mnt/gentoo /bin/bash fails on rescuecd [solved] Reply with quote

As above I'm trying to install Gentoo on my new machine using the rescueCD

Typing the command
Code:
chroot /mnt/gentoo /bin/bash

gives the following error
Code:
chroot: failed to run command `/bin/bash': Exec format error


Any ideas? Thanks!
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.


Last edited by gentooP4 on Thu Dec 15, 2011 8:33 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Wed Dec 14, 2011 10:11 pm    Post subject: Reply with quote

gentooP4,

You have tried to mix a kernel and install with different bitness. i.e.32 and 64 bit.

Boot the 64 bit kernel from System Rescue CD if you need to chroot into a 64 bit install or the 32 bit kernel to rescure a 32 bit install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
gentooP4
Apprentice
Apprentice


Joined: 20 Sep 2010
Posts: 182
Location: NZ

PostPosted: Wed Dec 14, 2011 10:14 pm    Post subject: Reply with quote

Thanks Neddy. I thought I'd be something simple I'd mucked up. Will give it a shot now. Thanks for the help
_________________
The United States has announced that it will deploy thoughts and prayers in the battle against online extremism.

If you voted for Trump or Brexit, you were likely influenced by the Cambridge Analytica propaganda machine.
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