Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I have been an happy gentoo user for years...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
E001754
Guru
Guru


Joined: 01 Aug 2004
Posts: 442
Location: Paris, France

PostPosted: Thu Jan 17, 2008 10:35 am    Post subject: I have been an happy gentoo user for years... Reply with quote

... and I want to stay an happy gentoo user for next years, however, my current computer is aging and I'm planning to change it in the next weeks to come (In fact, I'm waiting UT3 to be out for Linux to change my whole hardware :D)

And, therefore, rise the question of "how the hell can I migrate my current gentoo from my old computer to my new" ??
I guess that dd -if /old_computer -of /new_computer by plugging the old disk in the new computer wont gives nice results ?
I'd rather recompile everything from scratch because :
- I want to optimize all the programs for my new arch
- I want to clean all orphan packages once for all

I'm already happy with the package selection I've made so far on my computer, and I'd like the same for my new computer.

What tips for migrating could you suggest ?
I know that I must copy /home.
There are some files, especially in /etc/ that I want to save, especially fstab, world file, grub.conf, bashrc.
Probably by following the gentoo installation guide, I can either copy from old computer or recreate from scratch the needed files.

The world file gives me headache : simply transfer it to the new computer and type emerge --sync and then emerge --update --world --newuse --deep ??

Thx for any suggestions as I didn't find any relevant things either in gentoo documentation or in the forums.
Back to top
View user's profile Send private message
psomas
Retired Dev
Retired Dev


Joined: 23 Sep 2006
Posts: 212
Location: Greece

PostPosted: Thu Jan 17, 2008 10:40 am    Post subject: Reply with quote

is the architecture the same for both computers?
_________________
myblog
FOSS NTUA Community
Back to top
View user's profile Send private message
E001754
Guru
Guru


Joined: 01 Aug 2004
Posts: 442
Location: Paris, France

PostPosted: Thu Jan 17, 2008 10:43 am    Post subject: Reply with quote

No, I have a Pentium4 and I'd like a Core2 Quad 6600.

However, running through the forums, I've found that topic : https://forums.gentoo.org/viewtopic-t-618527.html

I think this topic has already been answered there.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Fri Jan 18, 2008 1:52 am    Post subject: Reply with quote

Save:
  1. old world file
  2. old /etc
  3. old home directory

This is probably 98% of the information you need. You can emerge all your old stuff on the new system with the command:
Code:
# emerge `cat old-word`

where old-world is a copy of your world file from the old system. I found there were many packages I didn't want on the new system so I just removed them from the old-world file.

I migrated from a dying laptop to a new desktop about a year ago and with the information above, it was pretty easy. I also had a lot of my own stuff under /usr/local so you might want to see if there is anything there you want to keep.
Back to top
View user's profile Send private message
E001754
Guru
Guru


Joined: 01 Aug 2004
Posts: 442
Location: Paris, France

PostPosted: Fri Jan 18, 2008 10:07 am    Post subject: Reply with quote

Many thanks for your answer !

This migration should run smooth
:D
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Fri Jan 18, 2008 4:11 pm    Post subject: Reply with quote

I always copy my old $HOME directory to my new system. It makes a big difference because all my settings are there. It makes me feel right at $HOME. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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