I have a xubuntu partition on my actual laptop with MBR and grub for dual boot windows and Linux. I'm trying to clone the xubuntu partition and restore into a new laptop that is UEFI based.
In the new laptop ( HP Probook that originally had only windows 10 ) I managed to create an ext4 partition and to install a fresh copy of xubuntu. Now I'm trying to overwrite the new ext4 partition with my xubuntu clonezilla image but I have problems after restore because xubuntu system won't boot and grub starts in cmdline mode.
I still can boot into windows partition through BIOS boot option.
This is what I've done:
Cloned the old ext4 xubuntu partition with clonezilla to image ( on USB disk )
On the new laptop I have disabled secure boot and disable legacy support in order to create/resize partitions
Created a new empty ext4 partition where I've installed a new xubuntu system. Now I can boot both windows and xubuntu
Restored the clonezilla xubuntu image on ext4 partition, overwriting the fresh install of xubuntu
The system is not able to boot with the xubuntu partition, starts with grub command line
How can I recover grub options?