Perhaps you could create partitions manually and restore with switches bypass partition creation upon restore. You could also restore partitions individually rather than a whole disk. You could also try to modify the partitions data files in the image folder, so that clonezilla automatically creates smaller partitions, but this is rather a hack and may not work. Kind regards
If I understand correctly, if you run the restore in batch, it will not ask user and will convert the drive automatically during the restore. To be precise, it creates a temporary linked image in temp folder and restores that.
If I understand correctly, if you run the restore in batch, it will not ask user and will convert the drive automatically during the restore. To be precise, it create a temporary linked image in temp folder and restores that.
Thanks Steven, for looking into this. This is the actual system with the image. The image is MBR. System boot mode is UEFI. Restoring this image in UEFI mode will make it unbootable in either modes. Restoring in legacy in BIOS mode makes it bootable as expected. I think due to auto grub-install, which handles: target: x86_64-efi in UEFI mode target: i386-pc in BIOS mode Output attached.
Thanks Steven, for looking into this. This is the actual system with the image. The image is MBR. System boot mode is UEFI. Output attached.
For some reason bionic version gives me a lot of kernel panic on various machines. Other versions seem to work fine...
My personal preference to always use same version with which the image was taken. You can find the CZ version used in the Info-packages.txt In cases where there is a lack of drivers, then I use the latest version.
Ideally, Clonezilla should be installing grub as per image, rather than what current system boot mode is, I think.