Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-04-01 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Bothwick wrote: | Rsync may work, or it may complain that files have changed between | building the list and copying them and you'd need to use -x to do the | same as -l with tar. Either way, shut down as many services as possible | during the

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-04-01 Thread Dan Cowsill
On Sun, Mar 30, 2008 at 4:05 PM, Neil Bothwick [EMAIL PROTECTED] wrote: On Sun, 30 Mar 2008 15:48:54 -0400, Hal Martin wrote: You cannot use tar unless you create an exclude file, as it will copy the contents of /dev and /sys, which means the entire contents of RAM, and anything that is

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-04-01 Thread Steven Lembark
Now, correct me if I'm wrong, but I had read that if you don't copy the files in /dev, udev won't mount properly on the machine you're cloning to and all hell will break lose. Also, iirc, I believe I tarred a running machine (including /dev, excluding /sys) and the clone was successful.

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-04-01 Thread Neil Bothwick
On Tue, 1 Apr 2008 16:45:49 -0400, Dan Cowsill wrote: Now, correct me if I'm wrong, but I had read that if you don't copy the files in /dev, udev won't mount properly on the machine you're cloning to and all hell will break lose. There are two files you need in the dev directory of the root

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-04-01 Thread Dan Cowsill
On Tue, Apr 1, 2008 at 4:55 PM, Neil Bothwick [EMAIL PROTECTED] wrote: On Tue, 1 Apr 2008 16:45:49 -0400, Dan Cowsill wrote: Now, correct me if I'm wrong, but I had read that if you don't copy the files in /dev, udev won't mount properly on the machine you're cloning to and all hell

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-31 Thread YoYo Siska
Benyamin Dvoskin wrote: It is a running gentoo system in this case But it doesnt make a difference to me. I want to know generally. anyway I will try what everyone wrote here and we'll see how it goes. Thanks again. Btw You can also do a mount --bind / /mnt/something and then you will

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Hal Martin
Benyamin Dvoskin wrote: Hi All , I've been wondering how one can clone an entire gentoo system and copy it to another physical machine , while the original system is still running ( means , ghost , acronis and other tools that force me to shutdown the system are not acceptable ) So ,

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Michal 'vorner' Vaner
Hello On Sun, Mar 30, 2008 at 10:29:39PM +0300, Benyamin Dvoskin wrote: I've been wondering how one can clone an entire gentoo system and copy it to another physical machine , while the original system is still running ( means , ghost , acronis and other tools that force me to shutdown the

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Neil Bothwick
On Sun, 30 Mar 2008 15:48:54 -0400, Hal Martin wrote: You cannot use tar unless you create an exclude file, as it will copy the contents of /dev and /sys, which means the entire contents of RAM, and anything that is currently being generated by your devices will be copied as well.

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Tim
Benyamin Dvoskin wrote: Hi All , I've been wondering how one can clone an entire gentoo system and copy it to another physical machine , while the original system is still running ( means , ghost , acronis and other tools that force me to shutdown the system are not acceptable ) So ,

Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Benyamin Dvoskin
It is a running gentoo system in this case But it doesnt make a difference to me. I want to know generally. anyway I will try what everyone wrote here and we'll see how it goes. Thanks again. On Sun, Mar 30, 2008 at 11:40 PM, Tim [EMAIL PROTECTED] wrote: Benyamin Dvoskin wrote: Hi All ,