Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Switch from Intel to AMD?
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
Kirfew
n00b
n00b


Joined: 01 May 2010
Posts: 6

PostPosted: Mon Sep 13, 2010 2:37 pm    Post subject: Switch from Intel to AMD? Reply with quote

If I were to get a new computer (which used amd instead of intel), but keep my old installation of gentoo on my hard drive, would I just have to recompile the kernel, or would I need to recompile everything, or would i have to do a whole new installation?
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


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

PostPosted: Mon Sep 13, 2010 2:43 pm    Post subject: Re: Switch from Intel to AMD? Reply with quote

Kirfew wrote:
If I were to get a new computer (which used amd instead of intel), but keep my old installation of gentoo on my hard drive, would I just have to recompile the kernel, or would I need to recompile everything, or would i have to do a whole new installation?


Assuming your intel uses the x86 (or x86_64) architecture, all you will need is to compile support for your new chipset(s) into your kernel, mainly your SATA controller (so you can boot from your local HD). The rest can be done at a later stage. Mind that your new BIOS might order your drives on a different way (so sda might not necessarily be sda, but sdb or something else). This kind of annoyances can be sorted out forever by migrating to labels or uuids in fstab and your boot manager (if supported). But in any case this can be easily fixed for the new setup, and grub let you edit these settings interactively at boot time.

You might want to check that the new cpu supports all the extensions you've enabled in your CFLAGS. To be on the safe side you can always compile everything to a lower (more general) architecture, and then re-compile again as -march=native once the new cpu has been installed).
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Mon Sep 13, 2010 3:33 pm    Post subject: Reply with quote

I have done this in both directions at home and at work. For me I made sure I had the correct sata drivers enabled in a bootable kernel before I retired the old motherboard. Then I booted from the new system (most cases that worked) and updated the CFLAGS and did a full system rebuild.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Mon Sep 13, 2010 6:43 pm    Post subject: Reply with quote

As long as both motherboards support AHCI (which they should if they've been made in the last few years), you won't have to worry about SATA drivers, just video, sound and chipset drivers
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