On 27/09/16 19:59, Mark Rogers wrote:
[Full story: The disk has three partitions; a Windows one, a Linux one, and a binary data one holding a VeraCrypt encrypted drive. Windows helped itself to an upgrade and rebooted, and won't come back up. I may at some point try to fix it but for now I just want a copy of the disk so I can reinstall. I want to reinstall over the existing 2TB drive though, because that's an SSHD drive which will give me better performance than the 2TB HDD that I want to image to. There's no way around the binary image of the veracrypt partition, but the NTFS and Ext4 partions make up well over half the drive and could be copied a lot more quickly by partclone than dd.]
Ah, if you want it to boot, you're right, cp & rsync won't do. Just bite the bullet and dd it, all of it.
But add the bs option at the end. e.g. bs=4M This sets the block size, or how much to copy in one go. I think the default block size is way smaller than that so that should speed things up.
If you have an up-to-date version of dd, you can add |status=progress to show the progress of the copy.
Regards Steve |