Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Build nearly the same gentoo again
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
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 450

PostPosted: Mon Apr 22, 2013 1:48 pm    Post subject: Build nearly the same gentoo again Reply with quote

Hi,

i just want to "clone" an installation of gentoo to an other box. It has an other CPU so i want to rebuild it. Is it enough, if i copy the world file and /etc/portage/* and rebuild everything on the new target? Have i forgotten any important information which i need? Do i need to copy whole /etc ?

Bye
schorsch
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Apr 22, 2013 1:54 pm    Post subject: Reply with quote

That's not quite enough. Think about the symlinks in /etc/init.d, the contents of /etc/conf.d, /etc/rc.conf, etc. Lots of little files strewn around. If your target CPU is at least as new as your current one, you can image the whole disk and then just adjust and recompile the kernel in a chroot and then, from a running system, re-emerge everything. Might be easier.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 450

PostPosted: Mon Apr 22, 2013 1:59 pm    Post subject: Reply with quote

Thank you!
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