Hey all!
I would like to copy/migrate my current system to my newly installed SSD, and I’ve had some issues doing so.
Inside a live usb, I successfully copied the system partition to the new disk partition using this rsync command:
rsync -avxHAX --progress /mnt/sda4 /mnt/sdc1
Then updated the uuid inside /etc/fstab to reflect the new partition.
Afterwards, ran this command:
grub2-mkconfig -o /boot/grub2/grub.cfg
This is where I get stuck, I run this to re-install grub:
sudo grub2-install /dev/sdc
I get this error:
grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn’t exist. Please specify --target or --directory.
Has anyone have an idea what am I doing wrong?