Clone Harddrive Over Network - DD Command

 Start both machines with System Rescue CD http://www.sysresccd.org/Main_Page


ON SLAVE MACHINE - new harddrive
net-setup eth0         (or wlan0)
nc -l -p 9000 | dd of=/dev/sda

ON MASTER MACHINE - old harddrive that needs to be copied
net-setup eth0            (or wlan0)
dd if=/dev/sda | nc 192.168.0.254 9000

To monitor the status of dd command:
pidof dd          - returns pid for dd command
kill -USR1 pid from previous command

reference: http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html

end.
 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this post.
Comments
  • No comments exist for this post.
Leave a comment

Submitted comments are subject to moderation before being displayed.

 Enter the above security code (required)

 Name (required)

 Email (will not be published) (required)

 Website

Your comment is 0 characters limited to 3000 characters.