- Copy files from hard disk to SSD
- Modify UUID in /etc/fstab of the SSD
- Dealing with GRUB
Copy files to SSD
sudo cp -Tax /media/hd /media/ssd
Modify UUID /etc/fstab
Dealing with GRUB
sudo -s
for f in sys dev proc ; do mount --bind /$f /media/ssd/$f ; done
chroot /media/ssd
grub-install /dev/ssd
update-grub
You can also download Boot Repair to fix GRUB
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
