Nikos Chantziaras a écrit: > > Nicolas is right, you can (at your own risk, of course) do a > > migration like this, so "DON'T" is not really the only option, and > > changing distros is NOT an option in most cases. Gentoo is > > perfectly capable of that.
Thanks to you. You explained my thoughts better than I could. > > Change flags in make.conf for generic compatible ones, compile a new > > kernel (I used genkernel for the migration, and compiled a specific > > kernel for the new machine later), emerge -e world and transfer the > > system (I used rsync, and had to deal with some network issues), > > everything worked (after some fine tunning for the new hardware) for > > me. > > Yeah, but that way you're doing emerge -e world twice. One on the > old system, and one on the new system (to optimize for the specific > CPU again; -march=native). It's usually faster to install from > scratch and only transfer your setting to the new system. You are right too. IMHO, a new install is what you have to do for a such occasionally hardware upgrade. Note the "emerge -e world" is not what we need here as it will leave broken system packages (the system won't boot on the new processor). The '-e' option looks for the USE flags only. We are supposed to know what we do with Gentoo. Having hardware specific options makes the distribution in a possibly jail. Nevertheless, Gentoo and Linux offer all generic options to ensure x86 processor-like migrations. -- Nicolas Sebrecht