Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
netinstall [2007-07-12 18:12] – created nik | netinstall [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. | ||
- | < | + | - target# nc -lp 9999 | dd of=/dev/hda1 |
- | 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. | 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:// | (based on notes found at > http:// | ||
+ |