I found some solutions online. One of the easiest I found was to use the dd command as follows: dd if=/dev/sdX of=/dev/sdY bs=128M conv=sparse
Are there any disadvantages of copying a partition using dd command? For example, the block size suitable for hard disk may not be suitable for SSD.
The best way would be if you have a backup strategy and then install the backup on your new server.
Shreeraj Jadhav
PhD student in Computer Science
I followed instruction from this wiki page [https://wiki.debian.org/SSD%20Installation].
I had my debian installation ready and running on the new SSD within an hour. I had to be careful when making the drive bootable, but it worked out in the end. Best part is, it is so much better than a fresh installation. I have conserved all my softwares and customizations across the migration.