User Tools

Site Tools


netinstall

network cloning

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.

  1. target# nc -lp 9999 | dd of=/dev/hda1
  2. source# dd if=/dev/hda1 | nc [target-ip] 9999
  3. 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.txt · Last modified: 2007/07/12 18:13 by nik