Once again a tip from the Linux Admin tricks.
In this case it was about a complete system to another clone. If the two identical systems, which is relatively easy with dd and ssh easy.
For this, I have both systems with a Linux bootable CD (eg sysrescuecd) booted and the network will be configured.
Then you are simply on the source system:
source ~ # dd if = / dev / sda | ssh root @ target-system “dd of = / dev / sda”
and one waits until the process is complete. Those who still want to make a display status of the copying process:
target ~ # kill-USR1 $ (pgrep ‘^ dd $’)
-The output is placed on the console from the source system.
After the copy operation should be to mount the system and adjust the network, and host name yet, otherwise there is then an IP address conflict on the network.
Note: The fact that all works should both systems (at least the discs) to be relatively identical – and of course the data will be on the target system is permanently lost.
Extensions
Compress: It would be still possible to pipe the data through gzip to save bandwidth.
Advanced Status: With pv can cobble together the extended status information about the copy process.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.











Unpacked: Acer Aspire 1825PTZ | Image Tech Inc
on April 29 2010
[...] the nail and unpacked. In his unboxing video, the Convertible shows its best side, it comes with Bluetooth, so a 320 GB hard drive, wireless-n and 4 GB of RAM. The Intel Pentium SU4100 has 1.3 GHz and [...]