I am trying to clone my system for a rotating HDD to a SSD.
I formatted the new drive creating the same partitions of the old one, with the exception that the new root and home partitions are larger than the old ones.
Thus, I am booting from removable disk and doing a dd of root partition into the target partition of the new drive.
At around half of the process I always get a input/output error.
I cannot understand where it could be coming from, since I did similar operations in the past. For instance, to backup the system and it always worked.
You can’t use dd to duplicate your OS because, they have different device names for start, which needs adjusting anyhow.
Instead of dd next time try to use rsync…
The difference between a back and a duplication of your OS is, just to name the minimal diff, a backup is intended to be restored at same place it was taken from while a duplication is meant to be a working copy at a different target as the source.
You would still need to make adjustments to make the duplicate boot and work like the old one did…