Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Proper way to upgrade to AMD 64?
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
twstd3bc
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 289
Location: Los Angeles, USA

PostPosted: Thu May 10, 2007 1:17 am    Post subject: Proper way to upgrade to AMD 64? Reply with quote

My workstation is an Athlon XP 1800+ system. I recently got an AMD X2 4600+, and once I get a motherboard I would like to use the same hard drive in my upgraded 64 bit system. Is it possible to just compile a 64 bit kernel, replace the hardware (except the drive) and reboot into the new kernel (and upgrade the remaining binaries afterwards)? Can the AMD processors run on a system with a mix of 32 and 64 bit binaries? I know I can just download the Gentoo install CD, but I was wondering if I could save a little time and not have to install everything over again. (Incidentally, I tried the Gentoo 64 bit live CD on a friend's new Dell Dimension dektop with an X2 3800+ and it wouldn't boot.)
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu May 10, 2007 1:44 am    Post subject: Re: Proper way to upgrade to AMD 64? Reply with quote

twstd3bc wrote:
My workstation is an Athlon XP 1800+ system. I recently got an AMD X2 4600+, and once I get a motherboard I would like to use the same hard drive in my upgraded 64 bit system. Is it possible to just compile a 64 bit kernel, replace the hardware (except the drive) and reboot into the new kernel (and upgrade the remaining binaries afterwards)? Can the AMD processors run on a system with a mix of 32 and 64 bit binaries? I know I can just download the Gentoo install CD, but I was wondering if I could save a little time and not have to install everything over again. (Incidentally, I tried the Gentoo 64 bit live CD on a friend's new Dell Dimension dektop with an X2 3800+ and it wouldn't boot.)


x86 and amd64 are different architectures. So, you will need to reinstall using a correct stage3 and livecd for amd64 arch. You have also the option to continue using your current install, since that cpu is also capable of running as an x86 cpu.

A system can have both 64 bits and 32 bits binaries installed, but not in the way you think. Using a multilib toolchain (the amd64 profile takes care of that, so, don't worry) you can use 32 bits binaries in a 64 bits installation as long as you have the emul libs installed (portage also takes care of that). But first, you need a 64 bits install.
Back to top
View user's profile Send private message
twstd3bc
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 289
Location: Los Angeles, USA

PostPosted: Thu May 10, 2007 1:50 am    Post subject: Re: Proper way to upgrade to AMD 64? Reply with quote

Thanks!
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Thu May 10, 2007 5:56 am    Post subject: Reply with quote

Easiest way is to make a new installation. Extract a stage3 tarball on a fresh formated filesystem and copy /etc and /var/lib/portage/world from your old config. Then edit /etc/make.conf to reflect the new arch. And then just do a "emerge -e world" and go for a long walk :wink:

You have to be careful when doing etc-update, but that's all.
_________________
Video Encoding scripts collection | Project page
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