I've been trying to clone a 1Tb HDD to a 1Tb SSD following the instructions here.I tried cloning it several times with both dd (painfully slow) and cat (far quicker) but when I came to do checksums they didn't match at all.I used the following code from here sudo sha1sum /dev/sdXThe drive was set up with an unencrypted boot partition, and then three additional partitions encrypted with dmcrypt/luks.All operations were performed via a LiveCD with both drives unmounted.On testing (after finding the checksums didn't match) the duplicate drive does appear to function correctly, but I'm suspicious that things may be missing or corrupted.So my questions are:What would cause checksums to not match on identical sized drives?And secondly, would the encryption make a difference, and if so how do you perform checksums on partially encrypted devices?
HDD cloning and non-matching checksums
hard disk;dd;cloning;checksum;integrity