Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
netinstall [2007-07-12 18:12] – created niknetinstall [2007-07-12 18:13] (current) nik
Line 4: Line 4:
 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. 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.
  
-<code> +  - target# nc -lp 9999 | dd of=/dev/hda1 
-target# nc -lp 9999 | dd of=/dev/hdb1 +  source# dd if=/dev/hda1 | nc [target-ip] 9999 
-source# dd if=/dev/hdb1 | nc [target-ip] 9999 +  wait...
-wait... +
-</code>+
  
 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. 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 (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