[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Moving a Gentoo drive to a different machine



Chris,

Thanks for the reply.  For reference, this is the way I found to
accomplish this with Gentoo (thanks to the guys at #gentoo on
irc.openprojects.net ;-)).

First, update CFLAGS, CXXFLAGS and CHOST in /etc/make.conf to match your
new architecture.  You can also optionally change behavior for the new
arch with the USE variable.

Then, execute "emerge -eu world".  -e specifies an empty portage tree,
and causes portage to think that none of its dependencies have been
installed, forcing a recompile.

What should result is a new system, optimized for your current machine
(you'd have to recompile the kernel yourself).  In my case, I kept
running out of temporary space and said screw it.  Bought a new drive (I
was due for the upgrade) and considering my options.

John

Christopher Bergeron said:
> John, Gentoo is a great distribution, but the price for that is paid
> by the situation that you're in.  Your best solution would be to
> re-install
>  and copy the config files over.  If you mount the other drive as,
> say,
> hdb it should be easy to copy the config files back.  Maybe some
> others on the list will have differing advice / opinions...
>
> -CB
>
>
> John Wells wrote:
>
>>I have Gentoo running as a mail server on a 200 mhz (pentium), 128 mb
>> machine.  I want to take that hard drive out tonight and drop it into
>> a 900 mhz (althon), 512 mb machine.
>>
>>Since Gentoo is compiled from the start to be optimized for the
>> particular machine it's running on, is there a way to incrementally
>> rebuild
>>everything for the new architecture?  I have a lot of tweaks/configs
>> I'd hate to lose.  Or would it be best/easiest to back up as much as
>> I can remember and then just reinstall from scratch.
>>
>>Thanks!
>>
>>John
>>
>>
>>
>>---
>>This message has been sent through the ALE general discussion list.
>> See
>> http://www.ale.org/mailing-lists.shtml for more info. Problems should
>> be  sent to listmaster at ale dot org.




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.