Gentoo Archives: gentoo-user

From: "Michael A. Smith" <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Using 'world' file to clone another machine
Date: Wed, 25 Jan 2006 20:50:43
Message-Id: 43D7E2F6.6030909@smith-li.com
In Reply to: [gentoo-user] Using 'world' file to clone another machine by Jeff
1 Jeff wrote:
2 > I'm sure this one's been asked a million times too...
3 >
4 > Machine A, runs Gentoo/KDE and a handful of other apps I've collected
5 > over the year.
6 >
7 > I would like Machine B to have the same exact packages.
8 >
9 > How would I use Machine A's /var/lib/portage/world file to make my 'clone'?
10 >
11 > Thanks all.
12
13 Hypothetically (I haven't tried it.)
14
15 1) scp a:/etc/make.conf b:/etc/make.conf
16 2) modify the CFLAGS in b:/etc/make.conf to suit, but leave the USE
17 unchanged.
18 3) do a basic install on b, you'll want to make sure it can boot into
19 a kernel before you do the next step.
20 4) scp a:/var/lib/portage/world b:/tmp/welcome_to_my_world.lst
21 5) emerge `cat /tmp/welcome_to_my_world.lst`
22
23
24
25 Have a nice day.
26 --
27 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Using 'world' file to clone another machine "Michael A. Smith" <michael@××××××××.com>