This is an old revision of the document!


it is possible to clone a running GnuLinux system onto another machine on the network, using netcat, dd and a simple pipe. this assumes the machine target has been booted from a rescue disk, or hdX other than the one to clone onto.

target# nc -lp 9999 | dd of=/dev/hdb1
source# dd if=/dev/hdb1 | nc [target-ip] 9999
wait...

NOTE: if the disks are not identical (or possibly just not the same size), fsck and grub-install might be needed to clean up the target drive.

(based on notes found at > http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html

  • netinstall.1184263956.txt.gz
  • Last modified: 2007-07-12 18:12
  • by nik