View previous topic :: View next topic |
Author |
Message |
netcelli Apprentice
Joined: 29 Nov 2005 Posts: 169
|
Posted: Sun Mar 12, 2006 5:41 pm Post subject: Amd 64 |
|
|
I have to install on a server Gentoo 2004.3 (I can't have the last release beacuse company of server uses only this version) but on CD-Rom there isn't stage3 for AMD 64 but only for x86 and Pentium. So I'm trying to search it in ftp mirror of gentoo but nothing.
How can I do?
Pls HELP ME
Thank u very much for your help |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Mar 12, 2006 6:00 pm Post subject: |
|
|
The amd64 stage file is on the amd64 cd. You seem to have an x86 cd which is 32-bit only. The amd64 cd has 64-bit stuff.
Here are old stage files for amd64 2004.3 http://gentoo.osuosl.org/releases/historical/amd64/2004.3/stages/ _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
netcelli Apprentice
Joined: 29 Nov 2005 Posts: 169
|
Posted: Sun Mar 12, 2006 6:08 pm Post subject: |
|
|
K done... thx very much; you are the best
But an other problem: I'm reading about CFLAGS and CXXFLAGS and i don't understand if I have to set up this variable:
Quote: |
# AMD64 users who want to use a native 64 bit system should not use athlon-xp
-march=athlon-xp
|
What means native 64-bit system?
Tha very much |
|
Back to top |
|
|
furkan Guru
Joined: 11 Dec 2003 Posts: 520 Location: Montreal CA
|
Posted: Sun Mar 12, 2006 6:24 pm Post subject: |
|
|
after what I know, native amd64 means that your system is full amd64,all librairies are 64 bit, and not 32 bit, but it could have emulation for 32 bit... For the CFLAGS, i suggest you -march=k8. _________________ DELL Inspiron 1501 |
|
Back to top |
|
|
netcelli Apprentice
Joined: 29 Nov 2005 Posts: 169
|
Posted: Sun Mar 12, 2006 6:36 pm Post subject: |
|
|
So if I want 64 bit and 32 bit system I have to use CFLAGS="-march=athlon-xp -pipe -O2"? |
|
Back to top |
|
|
furkan Guru
Joined: 11 Dec 2003 Posts: 520 Location: Montreal CA
|
Posted: Sun Mar 12, 2006 6:40 pm Post subject: |
|
|
No not really, you could use 32 bit programs with a native 64 bit using emulation. So you can also use that
Quote: | CFLAGS="-march=k8 -pipe -O2" |
But you can`t use 64 bit programs with 32 bit system, so,after what I know, you shouldn`t use -march=athlon-xp. _________________ DELL Inspiron 1501 |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Sun Mar 12, 2006 6:42 pm Post subject: |
|
|
netcelli wrote: | So if I want 64 bit and 32 bit system I have to use CFLAGS="-march=athlon-xp -pipe -O2"? |
No those would be for a 32-bit system.
Try these:
Code: | CFLAGS="-march=k8 -O2 -pipe -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2" |
As for having 32-bit libraries, that's got nothing to do with the -march= keyword, that's enabled by multilib (which is enabled by default).
EDIT: beat me to it |
|
Back to top |
|
|
netcelli Apprentice
Joined: 29 Nov 2005 Posts: 169
|
Posted: Sun Mar 12, 2006 7:19 pm Post subject: |
|
|
Now I can't go on
livecd gentoo # chroot /mnt/gentoo /bin/bash
chroot: cannot run command `/bin/bash': Exec format error
|
|
Back to top |
|
|
mdeininger Veteran
Joined: 15 Jun 2005 Posts: 1740 Location: Emerald Isles, observing Dublin's docklands
|
Posted: Sun Mar 12, 2006 7:22 pm Post subject: |
|
|
did you try to get an amd64 install disk instead of your x86 one? _________________ "Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland
( Twitter | Blog | GitHub ) |
|
Back to top |
|
|
netcelli Apprentice
Joined: 29 Nov 2005 Posts: 169
|
Posted: Sun Mar 12, 2006 7:25 pm Post subject: |
|
|
Company gives me this disk but I use stage3 for amd64bit downloaded from internet; is this the problem? |
|
Back to top |
|
|
mdeininger Veteran
Joined: 15 Jun 2005 Posts: 1740 Location: Emerald Isles, observing Dublin's docklands
|
Posted: Sun Mar 12, 2006 7:28 pm Post subject: |
|
|
It would seem so. If the kernel and everything outside the chroot is x86_32, it would seem logical that you can't run any amd64 binaries... =) _________________ "Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland
( Twitter | Blog | GitHub ) |
|
Back to top |
|
|
netcelli Apprentice
Joined: 29 Nov 2005 Posts: 169
|
Posted: Sun Mar 12, 2006 7:30 pm Post subject: |
|
|
So what can I do? If I restar the server I have to ask to company to start ssh service and give me a new password. No? |
|
Back to top |
|
|
mdeininger Veteran
Joined: 15 Jun 2005 Posts: 1740 Location: Emerald Isles, observing Dublin's docklands
|
Posted: Sun Mar 12, 2006 8:17 pm Post subject: |
|
|
uhm, yeah, probably... not to mention that you have to tell them to switch the boot-cd and all...
you could still do an x86_32 install... _________________ "Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland
( Twitter | Blog | GitHub ) |
|
Back to top |
|
|
mianka n00b
Joined: 30 Mar 2004 Posts: 64 Location: Leuven Belgium
|
Posted: Mon Mar 13, 2006 12:46 am Post subject: Chroot does not work on AMD64 |
|
|
This is definitely a bug.I got the same message and did a new install painstakingly following the manual.The same error keeps coming back.I am sure I installed the right files and made no mistakes .Two weeks ago Gentoo installed perfectly on this machine,so it is not the computer;Used "-march=k8" and current and latest. |
|
Back to top |
|
|
mianka n00b
Joined: 30 Mar 2004 Posts: 64 Location: Leuven Belgium
|
Posted: Mon Mar 13, 2006 4:14 am Post subject: Install probs |
|
|
It was a bug ,but not in the sense I thought.Somehow the CD got damaged in use,did a new download from another server and it works again. |
|
Back to top |
|
|
|