Important Note: Ensure you backup any important data before you proceed. Consider doing a windows system backup. I will not be held responsible if you wreck your windows installation or lose data following this post.
Things you need:
Windows Installation DVD
Clonezilla – Burn to DVD or USB ; https://clonezilla.org/
GParted – Burn to DVD or USB ; https://gparted.org/
External Sata Cable to connect HDD via USB
Step 1 – Resize Windows Partition
[Only if you SSD is smaller than your HDD]
You need to make sure that the partition where your windows is installed is smaller than the SSD size. E.g in my case 256GB SSD, my C: drive had to be downsized to 200GB.
Proceed using gparted. This is fairly simple and well documented on https://www.howtogeek.com/howto/windows-vista/using-gparted-to-resize-your-windows-vista-partition/
Step 2 – Install Windows on SSD
Once your partition is downsized, you can shutdown your Windows and replace the HDD with the new SSD.
Install the same version of Windows, skip all to defaults during installation – Network setup etc is not required.
Once done, you can safely shut it down.
Step 3 – Clone windows partition
- Boot to clonezilla.
- Connect your HDD via USB Sata Connector to the PC
- Go to “Start Clonezilla”
- device-device Clone
- Select beginner mode
- Select Part_to_local_part clone
- Select the source as /dev/sdbX(select your windows C: partition from the HDD)
- Select the target as /dev/sda2 (Select your new windows C: partition on the SSD)
- Proceed with the cloning
- When clone is done, disconnect the USB external HDD
- Remove clonezilla DVD and reboot.
Voila.
You should now be able to boot into your SSD partition with your migrated windows.