I'm trying to restore an image to a MacBook Air and I'm having issues with the Clonezilla image restoration.
The hard drive of the destination laptop is an SSD disk
I'm using the latest antiX version, the one that with the scripts "autodeplo".
1) The first issue was that, when executing the script, it does not display the laptop disk in the list "Select the DISK you want to have ERASED".
I looked at the script and it only identifies "sdX" drives, not "nvmeX" drives.
I propose editing the script "labdoo_sanitize_main.sh", line 69, and change [grep sd] with [grep "sd\|nvme"].
2) Anyway, I have tried to restore the image using Clonezilla directly.
The issue here is that Clonezilla says the destination disk does not have enough sectors to restore the image:
/dev/nvme0n1p1: No free sectors available
Failed to add #1 partition: No space left on device
The destination disk, however, has more than enough space for the image I'm restoring.
I have tried retoring with Clonezilla option "-icds" without success.
I think the issue is the sector size (512 bytes vs 4K)
Is there any trick to be able to restore the 512 bytes sector image to the destination disk with 4K sectors?
If not, maybe we would need to have specific images built from disks with 4K sectors.
Any suggestion here?