To start migrating your system from one drive to the other, perform the following steps:
- boot your machine using the live CD / USB stick;
- enable the “universe” repositories on Ubuntu and install
gddrescue:sudo apt-get update && sudo apt-get install gddrescue - use
gddrescueto clone your drive:sudo ddrescue -v --force /dev/sda /dev/sdbwhere
/dev/sdais your source drive and/dev/sdbis your destination drive - have patience; depending on your disk size and your machine’s performance this might take a while.
At the end you should be able to seamlessly replace the old spinning drive with the SSD and just enjoy the snappiness of your system.