Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is it possible to go from amd64 to x86
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Mon Aug 04, 2008 7:46 pm    Post subject: Is it possible to go from amd64 to x86 Reply with quote

I need to do this to get wireless drivers to work.
_________________
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Mon Aug 04, 2008 8:02 pm    Post subject: Reply with quote

I guess the easiest way would be to reinstall your whole system.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Mon Aug 04, 2008 9:57 pm    Post subject: Re: Is it possible to go from amd64 to x86 Reply with quote

kevstar31 wrote:
I need to do this to get wireless drivers to work.


out of interest, what wireless card?
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Mon Aug 04, 2008 11:04 pm    Post subject: Re: Is it possible to go from amd64 to x86 Reply with quote

kevstar31 wrote:
I need to do this to get wireless drivers to work.


Off course it's possible, it is easier to reinstall though. See:

Changing the CHOST variable
http://www.gentoo.org/doc/en/change-chost.xml
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Tue Aug 05, 2008 5:10 am    Post subject: Reply with quote

Changing the CHOST to your needs and doing as mentioned is not the whole story since there is more involved when switching from 64b to 32b.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Tue Aug 05, 2008 12:43 pm    Post subject: Re: Is it possible to go from amd64 to x86 Reply with quote

Naib wrote:
kevstar31 wrote:
I need to do this to get wireless drivers to work.


out of interest, what wireless card?

ATHEROS AR5007EG
_________________
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Back to top
View user's profile Send private message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Tue Aug 05, 2008 12:52 pm    Post subject: Reply with quote

massimo wrote:
Changing the CHOST to your needs and doing as mentioned is not the whole story since there is more involved when switching from 64b to 32b.

Can you be more specific?
_________________
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Back to top
View user's profile Send private message
Magnum_
n00b
n00b


Joined: 01 Mar 2004
Posts: 61

PostPosted: Wed Aug 06, 2008 9:06 am    Post subject: Reply with quote

I'd buy another card. Less trouble, and those things are becoming dirt-cheap :)
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


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

PostPosted: Wed Aug 06, 2008 11:16 am    Post subject: Reply with quote

Possible, yes. However, you will have to recompile EVERYTHING anyway. So, what's the downside of doing a full reinstall? It will take the same amount of time (just save the files under /etc on a tarball and then pick those that you need for the new install).

The dirty quick way to do it if you really feel so excited about not having to reinstall would be to uncompress a binary x86 toolchain (gcc, glibc, binutils, sandbox, python...), change your /etc/make.profile to point to an x86 profile, and your make.conf with the new cflags and chost settings, for that use the chost migration guide.

http://www.gentoo.org/doc/en/change-chost.xml

After that, compile an x86 kernel and then emerge -e everything.

Then, If something fails or there's some problem you reinstall anyway.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Wed Aug 06, 2008 3:11 pm    Post subject: Reply with quote

i92guboj wrote:
The dirty quick way to do it if you really feel so excited about not having to reinstall would be to uncompress a binary x86 toolchain [...]

It is certainly not that easy. Just think about that basic directories like /lib or /usr/lib are symlinks to directories which do not exist on a pure x86 install.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


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

PostPosted: Wed Aug 06, 2008 3:22 pm    Post subject: Reply with quote

mv wrote:
i92guboj wrote:
The dirty quick way to do it if you really feel so excited about not having to reinstall would be to uncompress a binary x86 toolchain [...]

It is certainly not that easy. Just think about that basic directories like /lib or /usr/lib are symlinks to directories which do not exist on a pure x86 install.


Yep. The only way I can think of to ease that part is to uncompress an x86 stage on top of the actual install. That's why I said that there's absolutely no point in doing this. You are going to reinstall over your old install anyway (and in the way, you are going to leave lots of cruft and potential problems around), there's no easy way to make a clean transition other than reinstalling.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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