Ok, I’m attempting to clone the 500GB HDD in my Thinkpad to a 480GB SSD in an external USB enclosure.
While booted to live Linux Mint USB;
First, I shrank the main partition on the HDD with GParted so that the total size of all partitions would fit within the 480GB on the SSD.
Next, I ran the
dd command to copy sda1(the HDD) to sdc1(the SSD) which was about 30GB and that completed without error. It filled the SSD with that partition, so I shrank it to 30GB with GParted so that the rest of the SSD is unallocated.
I then ran
fdisk /dev/sdc and created a new 2nd partition on the rest of the SSD (sdc2) which showed up fine as ‘linux file system’ under fdisk -l.
Now, when I try to run dd to copy sda2 to sdc2, it runs and gets to about 4.1GB copied, then says; No space left on device and stops.
I’m not sure what the problem is or what I’m doing wrong. There’s definitely enough space on the SSD for the 2nd partition.
The HDD has an Arch Linux installation which I’m trying to clone to the SSD to swap into this device.
Thanks in advance.
EDIT: I was also using the following parameters with the dd command:
bs=64K conv=noerror,sync status=progress
as per the Arch Linux wiki instructions for cloning partitions.