Skip to content

How to clone a drive to a new SSD

Copying a drive, or cloning it, means moving everything - the system, programs, settings and files - to another drive, so the computer starts from it as if nothing had changed. People usually do it when swapping an old drive for a faster or bigger SSD. It takes from a quarter of an hour to a few hours and needs one program and a moment of care when choosing the drives.

In short

  • Before you start: back up your important files, and save your BitLocker recovery key if the drive is encrypted.
  • The new drive has to hold the space in use, not the whole old drive. The program resizes the partitions.
  • Free tools: Clonezilla and Rescuezilla, drive makers' own programs, and dd on Linux.

Moving house with all the furniture

Swapping a drive is like moving house. You can move into an empty flat and furnish it from scratch (a clean system install), or take everything exactly as it was, down to the mugs in the cupboard (cloning). A clean install gives you order and gets rid of years of clutter, but it takes a day: installing programs, signing in, settings. A clone takes an hour, and tomorrow you work just like yesterday.

Clone when the system works well and you only want a faster or bigger drive. Reinstall when the system is cluttered, slow, or has been infected.

Preparation

  1. A backup. Cloning usually goes fine, but one mistake when choosing the target drive can overwrite data. Copy your most important files separately first (how to do it well is in Backups).
  2. BitLocker and encryption. If your Windows drive is encrypted (new laptops often have it on by default), save the recovery key - you will find it in your Microsoft account or in the BitLocker settings. Without it you may be locked out of your own data after cloning.
  3. Size. The new drive has to hold what is in use, not the whole old drive. From a 1 TB drive with 300 GB used, you can clone the system onto a 500 GB SSD. Remember that drive makers count gigabytes differently from Windows (more in File size).
  4. Connecting. In a desktop you can usually connect both drives at once. In a laptop with one slot, a USB-to-SATA adapter or an NVMe enclosure helps.
  5. Tidying up. Empty the bin and delete what you do not need - less data means faster cloning.

What to clone with

  • The drive maker's program - many SSD makers offer a free tool to move your system onto their drive (Samsung Data Migration, for one). The simplest route if your drive has one.
  • Rescuezilla - free, with a simple graphical interface. Write it to a USB stick, start the computer from it and choose "Clone".
  • Clonezilla - also free, older and thoroughly proven, but with a text interface. It works with practically any file system.

Rescuezilla and Clonezilla run from a USB stick, outside your installed system, so they copy a drive that is not in use at that moment. That is safer than cloning from a running Windows.

Linux: dd

On Linux one command copies a drive. First check which drive is which:

lsblk -o NAME,SIZE,MODEL

Then:

sudo dd if=/dev/sda of=/dev/sdb bs=4M status=progress conv=fsync

if is the source (the old drive), of the target (the new one). Check it three times: dd does not ask for confirmation, and swapping those two letters overwrites the old drive with an empty one. There is a reason people jokingly call it "disk destroyer". dd copies byte by byte, empty space included, so the new drive must be at least as big as the old one, and any extra space has to be added to a partition afterwards (with GParted, for example).

After cloning

  1. Swap the drives, or choose the new drive first in the BIOS/UEFI boot order.
  2. Start the computer from the new drive and check that everything works. Leave the old drive untouched for a few days - it is your fallback.
  3. Check the partitions. If space is left unused on a bigger new drive, add it in Disk Management (Windows) or GParted (Linux).
  4. Only then format the old drive and use it as a spare or for backups.

When something goes wrong

  • The computer does not see the new drive at start-up - check the boot order in BIOS/UEFI, and that the mode (UEFI or Legacy) is the same as with the old drive.
  • Windows asks for the BitLocker key - this is exactly why you save it before cloning.
  • The program refuses to clone to a smaller drive - too much space is in use, or the program copies sector by sector. Tidy up, or use a tool that clones only the used space.
  • The system works, but slowly - make sure it starts from the new SSD and not from the old drive still in the computer.
Advertisement