Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrading existing 32bit install to 64bit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
skyPhyr
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 159
Location: London, UK

PostPosted: Mon Jun 19, 2006 1:47 pm    Post subject: Upgrading existing 32bit install to 64bit Reply with quote

Hi All,

Just wanted to get some ideas on whether the following process would work, or any required changes to make it work.

I've got a whole bunch of systems here which are imaged using a pxe boot server I've created. At the moment they're all running 32bit gentoo (it was to ensure good compatibility with some closed source software which I've now tested on another 64bit machine). However there's a heap of things installed so I'd rather not build the machine from scratch again, writing down a list of everything to install, config files etc. So I'm looking for a way to upgrade from ~x86 to ~amd64. Here's the idea so far.

Extract a stage3 amd64 to the root folder as per the handbook. Update my make.conf and make.profile with the relevant settings. Update my /etc/portage/* for any changes I can anticipate as well.

emerge gcc (I want to upgrade to 4.1.1 as well during this process)

emerge --oneshot libtool

emerge --ev system

emerge --ev world

Rebuild kernel, (install grub - not sure if this is required - I assume it needs updating with the transition to 64bit).

Reboot and hopefully have a ~amd64 system.

Any ideas, suggestions, general laughter at the notion of trying to do this rathen than building from scratch?

Cheers,

Alan.


Last edited by skyPhyr on Mon Jun 19, 2006 4:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Mon Jun 19, 2006 1:53 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on AMD64.
Back to top
View user's profile Send private message
skyPhyr
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 159
Location: London, UK

PostPosted: Tue Jun 20, 2006 9:28 am    Post subject: Reply with quote

So I guess the answer is to try it and let people know what happens?
Back to top
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Wed Jun 21, 2006 2:31 am    Post subject: Reply with quote

It won't work you should reinstall the system with 64 bit LiveCD that use gcc 64bit
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
skyPhyr
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 159
Location: London, UK

PostPosted: Wed Jun 21, 2006 8:09 am    Post subject: Reply with quote

Alrighty - thanks for the info mudrii.

Damn was hoping for an easy way to upgrade and have all the config in place. Is it just the lack of a 64bit kernel? (i.e. will booting off the amd64 livecd and following these same steps work?)

Cheers,

Alan.
Back to top
View user's profile Send private message
alistair
Retired Dev
Retired Dev


Joined: 15 Jul 2005
Posts: 869

PostPosted: Wed Jun 21, 2006 10:29 am    Post subject: Reply with quote

how about the possibility of building the whole thing into a sandbox.

Is there a way to change the "root" install path for all emerges?

if you can then you could try build everthing into /home/crazyman/fakeroot

and then copy the contents of that directory over the top of your root.

sadly you would only know if it works by trying it.
_________________
______________
Help the gentoo-java project. Visit Gentoo Java Project

what good are admin powers if you don't abuse them for personal gain - mark_alec
Back to top
View user's profile Send private message
Toadicus
n00b
n00b


Joined: 21 Apr 2006
Posts: 40

PostPosted: Wed Jun 21, 2006 7:31 pm    Post subject: Reply with quote

Seems to me that it could be possible, though I'm really not sure, to download a stage3 amd64 tarball to, say, /gentoo64, chrooting into the tarball environment, compiling your system there, then moving/copying the 64-bit chroot over your 32 boot root system, rebooting, and then re-emerging everything. If it worked, it would still be terribly hairy, and would definitely take longer (IMO) than just wiping your root partition (or backing up your /home directory if it's not on a separate partition) and just installing an amd64 version fresh. That would definitely give you a more stable setup, as well.
Back to top
View user's profile Send private message
skyPhyr
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 159
Location: London, UK

PostPosted: Wed Jun 21, 2006 10:31 pm    Post subject: Reply with quote

Thanks guys - home folders aren't a problem as they're all on another server anyway :)

Just all the ldap and kerberos config etc.

Building from scratch it is - when I grow up I won't be so lazy - I promise ;)

Cheers,

Alan.
Back to top
View user's profile Send private message
crackshot1980
n00b
n00b


Joined: 16 Jan 2005
Posts: 4

PostPosted: Fri Aug 04, 2006 5:16 pm    Post subject: Reply with quote

I'm thinking about upgrading myself.
On 32 bit gentoo at the moment, want to flex the 64 bit muscles :)

Did you try this, (successfully?) or is this still a testing phase?

Cheers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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