LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2004, 02:40 PM   #1
Avieth
LQ Newbie
 
Registered: Sep 2004
Posts: 14

Rep: Reputation: 0
Angry HELP!! 64-Bit INSTALL!!


Hi,

I'm new to linux and I'm trying to install Gentoo by following the manual. I have an Opteron processor and decided to download the AMD64 version of Gentoo. The install file on Gentoo.org for AMD64 tells me everything I need to do, and I followed it all. But when it comes to the part after I extracted the stage2-AMD64.tar.bz2 file and the manual tells me to enter the Linux environment by chrooting into it. So I typed the command it told me to

# chroot /mnt/gentoo /bin/bash

And when I type that, heres the message I get:

Exec Format error

What does that mean??? How am I supposed to get my 64-bit Linux to work if I can't do that step? I need to know how to fix it, FAST. Thanks
 
Old 09-16-2004, 03:10 PM   #2
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
the command looks okay... double check the syntex... and make sure /bin/bash exists...

also try posting on the gentoo bords they may be a bit unfriendly, but they will help

sorri i cant help any more... stick with it... gentoo takes an age to install, but once its on... it runs faster then.... somthing... REALLLLYY fast...

Last edited by crm; 09-16-2004 at 03:12 PM.
 
Old 09-16-2004, 03:44 PM   #3
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Rep: Reputation: 31
send me a link this board, it sparks a curiosity
 
Old 09-16-2004, 03:55 PM   #4
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
http://forums.gentoo.org
 
Old 02-17-2005, 02:57 AM   #5
zap_killer
LQ Newbie
 
Registered: Feb 2005
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
Hello. I have the same problem with a Dell PowerEdge SC1425 with 1 Xeon 2.8GHz 800MHz 1Mb L2 cache.


Code:
livecd root # chroot /mnt/gentoo /bin/bash
chroot: cannot run command `/bin/bash': Exec format error

This is with Gentoo LiveCD x86 2005.0 .

I cannot use another LiveCD (2004.3, x86 or AMD64) 'cause no one detect coorectly my SCSI-RAID Adapter
 
Old 02-24-2005, 10:13 PM   #6
jallard
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware, SuSE, Fedora, Gentoo
Posts: 1

Rep: Reputation: 0
Looking at the date of your post, I hope you got the help you needed before now.

I have to start out by saying that I ran across your post while I was looking for a solution to this myself. I don't know for a fact that this is right, but it makes sense to me so I though I'd share it. I have done several gentoo installs recently, and have made it through the "CHROOT" step without a hitch each time........... EXCEPT when I boot from gentoo live cd (min or universal) and try to do a stage 1 install for my AMD64 box.

I'm pretty sure it's because the system is booted from a 32 bit kernel, and operating in a 32 bit system, in root (/). However the files that are installed from the stage 1 tarball for AMD64/ Opteron are 64 bit files. Therefore the command chokes /bin/bash part of the command because it can't execute it.

I looked at the the two bash files and compared them (/bin/bash and /mnt/gentoo/bin/bash) and they are different files. Also if you rename /mnt/gentoo/bin/bash to something else and copy in the bash file from /bin/bash the chroot command works just fine.

I'm not recommending the rename and copy as a fix, because if what I'm saying is correct I'm not sure the 32 bit system would properly compile the rest of the install (anyone out there know if that's true?). However, you can get a 64bit install cd that sails through the install with the stage 3 directions (network less install), although I have had some issues emerging GCC-3.4 with it.

Good luck, let me know if something works for you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
64 Bit distros won't install - All 32 bit do? djsennello Linux - Hardware 1 09-25-2005 07:54 PM
Which version of 32 bit redhat will install on IBM xSeries 366 (64 bit)? Hello123 Linux - Hardware 2 09-14-2005 05:50 AM
new 64 bit computer - can i install 32 bit suse 9.3 joel b SUSE / openSUSE 2 08-28-2005 02:32 PM
32 or 64 bit install????? jonn SUSE / openSUSE 1 04-04-2005 08:52 AM
how to install bit torrent? or bit tornado 0o0 Linux - Newbie 6 04-21-2004 11:52 PM


All times are GMT -5. The time now is 03:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration