Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changing CHOSTS without reinstall
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
plink212
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 90

PostPosted: Sun Jun 11, 2006 9:59 am    Post subject: Changing CHOSTS without reinstall Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54810
Location: 56N 3W

PostPosted: Sun Jun 11, 2006 10:07 am    Post subject: Reply with quote

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
View user's profile Send private message
plink212
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 90

PostPosted: Sun Jun 11, 2006 11:14 am    Post subject: Reply with quote

can I put a 64bit stage 3 over the top?
Back to top
View user's profile Send private message
htranou
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2006
Posts: 96

PostPosted: Sun Jun 11, 2006 12:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
plink212
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 90

PostPosted: Sun Jun 11, 2006 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
plink212
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 90

PostPosted: Sun Jun 11, 2006 12:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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