Linux Lite Forums

Full Version: Good idea to clone HDD to ssd?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
from :
Quote:https://howtoubuntu.org/how-to-repair-re...tu-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
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/1...sp=sharing
Pages: 1 2