View previous topic :: View next topic |
Author |
Message |
plink212 Tux's lil' helper
Joined: 21 Jan 2005 Posts: 90
|
Posted: Sun Jun 11, 2006 9:59 am Post subject: Changing CHOSTS without reinstall |
|
|
I have bought a shiny new AMD64 system. I at present have a working P4 system from which I would like to pull the disk and put in said AMD system. I would then if possible recompile everything to 64 bit.
Is this simply a matter of changing the CHOST and CFLAGS and then emerge -e system && emerge -e world or is it hidious more complicated.
Regards
Tim Jordan |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Sun Jun 11, 2006 10:07 am Post subject: |
|
|
plink212,
To switch from a 32 bit install to a 64 bit install is a complete reinstall.
The problem being you cannot have a part 32 bit and part 64 bit system while everything rebiulds.
Going the other way, you can set up a 64 bit system to run 32 bit code. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
plink212 Tux's lil' helper
Joined: 21 Jan 2005 Posts: 90
|
Posted: Sun Jun 11, 2006 11:14 am Post subject: |
|
|
can I put a 64bit stage 3 over the top? |
|
Back to top |
|
|
htranou Tux's lil' helper
Joined: 08 May 2006 Posts: 96
|
Posted: Sun Jun 11, 2006 12:20 pm Post subject: |
|
|
Take that with a bit of salt...
You could try running a amd64 liveCD, extract a 64bit stage3 on top, modify make.conf. Then chroot in it, and emerge -e system, emerge -e world ( maybe twice each) (compile kernel between system & world, so that modules you've emerged can build ?).
during 'emerge -e system', all the commands should come from the stage3, so it should work. Now, there's a problem of the use flags, that could make some packages to try to build against your old 32 bits libraries. With -e, emerge should rebuild in the good order, so I'm not sure if it will be a real problem.
Again, I haven't tried that, so take with a bit of salt. |
|
Back to top |
|
|
plink212 Tux's lil' helper
Joined: 21 Jan 2005 Posts: 90
|
Posted: Sun Jun 11, 2006 12:38 pm Post subject: |
|
|
The crux of the problem is that I really don't want to rebuild my myth box, however thinking about it it may actually be a good idea to start afresh. I will try the livecd idea though as that was along the lines of my thinking
Look at it this way, worse case i will have to rebuild it, which is what i will have to do anyway.
Regards
Tim |
|
Back to top |
|
|
plink212 Tux's lil' helper
Joined: 21 Jan 2005 Posts: 90
|
Posted: Sun Jun 11, 2006 12:51 pm Post subject: |
|
|
The crux of the problem is that I really don't want to rebuild my myth box, however thinking about it it may actually be a good idea to start afresh. I will try the livecd idea though as that was along the lines of my thinking
Look at it this way, worse case i will have to rebuild it, which is what i will have to do anyway.
Regards
Tim |
|
Back to top |
|
|
|