View previous topic :: View next topic |
Author |
Message |
TheNewOsiris Tux's lil' helper
Joined: 18 Dec 2006 Posts: 91
|
Posted: Sun Jun 03, 2007 11:30 pm Post subject: Processor/Motherboard Switching |
|
|
I have currently compiled my system for the (32 bit X86) Pentium 4 processor.
However I might get a new motherboard with a (64 bit AMD64) Athlon 3000 cpu.
Will there be a problem running the 32-bit applications compiled for the X86 architecture on a 64-bit AMD64 architecture.
If there are problems how can they be avoided/solved.
What the general procedure for executing these kids of CPU changes.
Thanks in advance. |
|
Back to top |
|
|
vaxbrat l33t
Joined: 05 Oct 2005 Posts: 731 Location: DC Burbs
|
Posted: Mon Jun 04, 2007 2:25 am Post subject: Should be upgradeable |
|
|
While it would be best to start with a new stage on a fresh partition, your 64 bit hardware should be able to emulate 32 bit mode enought to get you bootstrapped. Before attempting, you should backup what you want to keep around in case you need to nuke everything (ie /home).
You might want to pull xdm, gdm or kdm (whatever you use) out of your startup to disable Xwindows until everything is up to speed.
Change your /etc/make.conf to reflect your new arch (CFLAGS, CHOST and USE flags)
Change your /etc/make.profile softlink to reflect your new arch.
Do an emerge -eN system
Do a second emerge -eN system to have the new toolchain rebuild itself and otherwise ensure sanity
If you feel really daring, you might try a reboot now.
Do an emerge -eN world
Cross your fingers and reboot.
If it all goes to hell in a handbasket, you can try booting a livecd of the new arch, saving your /etc contents somewhere and then playing a stage tarball right on top of root. Then put your /etc back and repeat the above emerge tapdance. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Mon Jun 04, 2007 3:17 am Post subject: |
|
|
TheNewOsiris wrote: | Will there be a problem running the 32-bit applications compiled for the X86 architecture on a 64-bit AMD64 architecture. | It should just work.
Moved from Kernel & Hardware to Duplicate Threads. |
|
Back to top |
|
|
|