You are on page 1of 1

Move HDD installation to SSD

First, boot with your debian installed in your internal HDD with SSD being connected. Make sure that your SSD is recognized and understand which modules are necessary for recognizing your SSD by for example, Code: Select all lsmod Add necessary modules into /etc/initramfs-tools/modules, and then run with root previlege, Code: Select all update-initramfs -u Boot from another media different from your internal HDD, such as debian live CDROM or debian live USB. Make partition(s) in your SSD like that (those) in your internel HDD related to your debian. Copy all the contents (files and directories) in the partition(s) in your HDD related to your debian into the corresponding partition(s) in your SSD. Modify the necessary information in some files like /etc/fstab, /boot/grub/grub.cfg, /etc/initramfstools/resume and so on so that the UUID (or the device file name) of the / partition (and /boot partition if exists) is correctly described. Run "update-grub" on debian installed in your internal HDD, and confirm that your debian in your SSD is shown. Restart and select the menu(entry) for your debian in your SSD. After booting with debian in your SSD, run with root previlege, Code: Select all grub-install /dev/DEVICE_FILE_NAME_OF_YOUR_SSD update-grub Restart and configure your BIOS boot order so that your SSD is booted first. That is all

You might also like