Gentoo Archives: gentoo-user

From: YoYo Siska <yoyo@××××××.sk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Clone a running gentoo machine onto another machine
Date: Mon, 31 Mar 2008 15:26:21
Message-Id: 47F1034C.8060405@gl.ksp.sk
In Reply to: Re: [gentoo-user] Clone a running gentoo machine onto another machine by Benyamin Dvoskin
1 Benyamin Dvoskin wrote:
2 > It is a running gentoo system in this case
3 >
4 > But it doesnt make a difference to me. I want to know generally.
5 >
6 >
7 > anyway I will try what everyone wrote here and we'll see how it goes.
8 >
9 > Thanks again.
10 >
11
12
13 Btw You can also do a
14 mount --bind / /mnt/something
15 and then you will see the "original" root in /mnt/something without any
16 of the other filesystems. This is sometimes better if you want an exact
17 copy, because fex /dev usually has some basic nodes which get covered by
18 the udev's tmpfs, and althought you normally don't need them... ;)
19
20 I "cloned" a few running systems this way (copied it to an usb disk,
21 setup lilo and took the disk to another machine ;) but it was always
22 with mount -o remount,ro / and the systems were minimal (system+few
23 packages, almost nothing running, so it was possible to remount it ro)
24
25 yoyo
26 --
27 gentoo-user@l.g.o mailing list