I'm trying to clone the internal hard disk of my computer. I've booted using the 16.04 Live USB image and I can see 3 disks:
/dev/sda # Internal SSD, copy source
/dev/sdb # Live USB
/dev/sdc # External SSD via SATA III USB cable, copy destination
I initiate the copy using the following command:
sudo bash -c "pv /dev/sda > /dev/sdc"
But exactly 20% into the copy operation, /dev/sdc
disappears and the same disk reappears as /dev/sdd
. At this point the copy operation hangs (no error is reported, progress just stops). This failure is repeatable and also happens with variations of the same command using dd
or cat
.
The disk is 500Gb and has 10 partitions including an EFI partition, a Windows 10 installation, Ubuntu 16.04, and various manufacturer restore bits and pieces.
Why is this device change happening, and what can I do to fully clone this disk?