I had a hard drive die and used the chance to move to 4.2. Since the 'new' machine is of the same vintage as the one it replaced, I expect it to start grinding to a halt soon, too.
Is there a way to copy one entire hard drive, partition table and all,
to another -- in one line?
I tried something like this one but it seems to work only for specific
partitions:
ssh target_address dd if=remotefile | dd of=localfile
I'd like to just steamroll over the previous partitions.
Regards,
-Lars

