By default when an image is restored, Clonezilla will try to re-run grub-install from the restored GNU/Linux. If it fails, e.g. you are using i686 version of Clonezilla live, while the restored GNU/Linux is amd64 (x86-64) OS, it will fail. Then Clonezilla will use the grub2 comes with Clonezilla live to run grub-install. The version could be imcompatible. E.g. for older version of grub, the syntax is like:
search --no-floppy --fs-uuid --set 857d5af9-23cd-4d9b-908b-cc075e566738
On the other hand, the newer one is:
search --no-floppy --fs-uuid --set=root 857d5af9-23cd-4d9b-908b-cc075e566738
To solve this issue, you can:
Then you can reboot the restored GNU/Linux again, and this warning message should be gone.
- Boot the restored GNU/Linux
- Enter the command line
- Run the following command as root:
(Replace /dev/sdx with your harddrive, normally it's /dev/sda. You have to make sure the correct disk name otherwise you might write the boot loader on the wrong disk, and it might fail to boot.)
//NOTE// You can not run "update-grub" or "update-grub2" to replace the command "grub-install", because update-grub or update-grub2 will only update the config file of grub (/boot/grub/grub.cfg or /boot/grub2/grub.cfg). It won't update the boot loader.