I bought a 500GB SSD to replace my 500GB HDD. Now I want to clone the HDD to the SSD before I replace the HDD drive with the SSD. I have a mixture of Windows 10 and Linux partitions on the HDD. What is the best way to clone it to the SSD?
My Linux partitions are an ext4 and a swap.
The SSD can only be connected to a USB port for cloning.
lsblk
before and after mounting the ssd to make 100% sure you pick the correct devices.Now if you feel like going on an adventure (and yeah some of us are going to gniffle):
use the
dd
command to copy data from your system to the ssd.where source is your system (probably
/dev/sda
) and destination your ssd (/dev/sdb
?). Make sure usinglsblk
before and after connecting the ssd to make 100% sure you pick the correct devices.but I would suggest using clonezilla as
dd
-will- -without- -questioning- destroy your current system if you mess up the command.