Linux Lite Forums
Good idea to clone HDD to ssd? - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Hard Drives and SSDs (https://www.linuxliteos.com/forums/forumdisplay.php?fid=26)
+--- Thread: Good idea to clone HDD to ssd? (/showthread.php?tid=6624)

Pages: 1 2


Re: Good idea to clone HDD to ssd? - DeepThought - 12-18-2019

from :
Quote:https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd

Code:
sudo mount /dev/sdXY /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sdX
grub-install --recheck /dev/sdX
update-grub

Replace X and Y with disk and partition number e.g. sda1

Code:
exit
sudo umount /mnt/sys
sudo umount /mnt/proc
sudo umount /mnt/dev/pts
sudo umount /mnt/dev
sudo umount /mnt

Then reboot


Re: Good idea to clone HDD to ssd? - waynebob - 12-18-2019

Ran a live cd and the /dev/sda1 is not seen, it is mounted at /mnt and won't let me unmount it because it is busy. lol. I have attached screenshots (hopefully).
Thanks, Wayne.  https://drive.google.com/drive/folders/1HxS78Uj3rH8QguJ7sUeN4ouBI5Ir5uVw?usp=sharing