Tuesday, May 3, 2011

dd copy between two machines using netcat

If you want to make a partition image on another machine: on source machine: Boot both machines with the helix CD just to be extra sure. Then,

dd if=/dev/hda bs=16065b | netcat targethost-IP 1234

On target machine:

netcat -l -p 1234 | dd of=/dev/hdc bs=16065b

No comments:

Post a Comment