Gentoo Archives: gentoo-user

From: Wade Brown <wanderer.wcb@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Want same ol' gentoo on new box
Date: Wed, 06 Jul 2005 17:01:04
Message-Id: cee44eb30507060952508540db@mail.gmail.com
In Reply to: Re: [gentoo-user] Want same ol' gentoo on new box by David Morgan
1 Actually, you can replace your world file provided you use "emerge
2 --emptytree --deep --newuse world", and portage won't complain that
3 packages aren't installed as the emptytree tells portage to (rightly
4 in this case) assume nothing is installed yet, including portage
5 itself.
6
7 On 7/6/05, David Morgan <david.morgan@××××××××××××××××.uk> wrote:
8 > On 11:44 Wed 06 Jul , Mike Markowski wrote:
9 > > I'll be changing jobs Monday and want to be sure I bring along enough to
10 > > easily rebuild the sort of gentoo set up I currently enjoy.
11 > >
12 > > After installing, will it be enough to use my current
13 > > /var/lib/portage/world and /etc/make.conf followed by 'emerge -uDf
14 > > world', etc., to get me going? Or am I overlooking other important
15 > > system files? (I'll remember to remove hardware dependent world entries
16 > > like graphics card drivers.)
17 > >
18 > > Thanks!
19 > > Mike
20 >
21 > Not exactly - you can't just copy /var/lib/portage/world, since portage
22 > will complain about packages in the world file not being installed (at
23 > least, that was the behaviour not long ago and I don't imagine it's
24 > changed).
25 >
26 > You can however copy /var/lib/portage/world to some other location on
27 > your new computer, and do something like emerge `cat oldworld`.
28 >
29 > You might want to copy things other than just /etc/make.conf from your
30 > current install - if you've edited any config files (say /etc/vim/vimrc,
31 > for example). I can't think of anything you'll definitely want to copy
32 > across when changing computers, just stuff that you know you've edited a
33 > lot and don't want to loose. (Oh, and I assume you know that you might
34 > need to have a different make.conf to before depending on how different
35 > the 2 computers are).
36 >
37 > Dave
38 >
39 > --
40 > gentoo-user@g.o mailing list
41 >
42 >
43
44 --
45 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Want same ol' gentoo on new box David Morgan <david.morgan@××××××××××××××××.uk>