On the machine you want to clone:

dpkg --get-selections > selections.txt

On the destination machine:

dpkg --set-selections < selections.txt


Some rsync commands to follow:

debian:~# rsync -essh -rtpvz / root@

ARGH! NOOOO. Does not work. Tries to do DUMB things like copy /proc and ./mnt

debian:~# rsync -essh -rtpvz /etc root@

Doesn't work for some reason... http://natalian.org/archives/2005/06/01/virtual-sarge-to-real-life-sarge/ http://lists.debian.org/debian-user/2003/11/msg00118.html


Powered by Vanilla PHP feedback form