LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-19-2008, 07:25 AM   #1
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
Gentoo and hardware updating.


Hi,

I currently have an Athlon64 CPU on my computer and I'm about to get new Intel Core 2 Quad CPU + a new mobo soon. I don't want to start from a scratch again so I'm going to move my old hard disk to the new hardware. Problem is (or might be) that I have my current Gentoo installation optimized for Athlon64 (-march=k8). Will this cause problems after changing the hardware? What is the easiest way to avoid having to reinstall the whole OS from a scratch?

--jaakkop
 
Old 01-19-2008, 08:49 AM   #2
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Hi,


Yes, it will cause you problems, currently, your gcc flags have compiled everything to work using amd instrucctions, which are different on intel processors, maybe you could try, once you have the disc in the new PC, change the cflags and start by reinstalling the toolchain (binutils, gcc and glibc), then use env-update, then you should re-emerge system and world at least twice using --emptytree, so...basically you'll have to re-emerge every package you've installed and there's a big chance that things might not work even then.

I don't know why you don't want to use a clean install, but whatever your reasons are, you're looking for trouble, it's better use a clean install, if you're worried for some customized configurations, you can always backup and use them in the new install, things like package.use, package.keywords, USEs from make.conf, bashrc....




Regards
 
Old 01-19-2008, 08:22 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Just do a complete world and system update using different CFLAGS. I suggest using the following.

CFLAGS="-march=pentiumpro -mtune=pentium3 -Os"

The Os will cut down on memory usage.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
updating Gentoo rfw62 Linux - Newbie 10 11-18-2005 05:16 PM
Some questions about updating portage in Gentoo vharishankar Linux - Distributions 12 03-14-2005 08:26 AM
updating gentoo doralsoral Linux - Software 3 12-31-2004 10:10 AM
updating stuff (gentoo)! bigjohn Linux - Software 4 12-20-2004 02:42 AM
updating by way of hardware swap jbeiter Linux - Enterprise 2 11-04-2004 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration