Need help with issue using winclone restore to external ssd

Hi there I was wondering if anyone could give me some advice on what to do with this issue, I had windows 10 installed on my 2017 macbook pro’s internal ssd previously and i wanted to move it over to a seagate slim 500GB ssd, which already contains a linux ubuntu 18.04 OS partition. I created an winclone image from the bootcamp partition successfully, however i run into several issues when trying to restore it to my external ssd. My external ssd contains these partitions:

/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk2
1: Linux Swap 17.2 GB disk2s1
2: Apple_HFS Ubuntu Boot Loader 1.1 GB disk2s2
3: Linux Filesystem 225.5 GB disk2s3
4: Microsoft Basic Data EFI BOOT 8.6 GB disk2s4
5: Microsoft Basic Data NO NAME 247.8 GB disk2s5

Where the last partition is intended for bootcamp, partitioned as FAT-32.

When i try to use the image restore, it reaches 90% completion but stops with the following error message:

2019-12-21T13:03:11+08:00:Extracting file data, 90.000000% complete
2019-12-21T13:03:11+08:00:Done applying WIM image.
2019-12-21T13:03:14+08:00:Error mounting EFI on disk /dev/disk2

Ive also attempted to use the
make EFI bootable functionality on my ssd as well, with the 90% completed bootcamp partition but it doesn’t seem to work and throws another error:

2019-12-21T14:26:58+08:00:Error mounting efi: /dev/disk2
2019-12-21T14:26:58+08:00:Helper tool error: EFI Path Error
2019-12-21T14:26:59+08:00:If SIP is enabled or we are on 10.13 or later so skipping writing MBR. If Windows does not boot, disable SIP and try again
2019-12-21T14:26:59+08:00:SIP is not enabled, so checking and setting MBR
2019-12-21T14:27:00+08:00:Helper tool error: Updating BCD Error

When performing these, I’ve disabled csrutil and I do not have any antivirus installed as suggested by others who have resolved similar issues. I’m also not very familiar with moving operating systems and bootable drives, so I’m not too sure if what I’ve done is right. Any help is appreciated, thanks!

The EFI partition is not the first partition, which is currently required by Winclone. It is always the first partition when the disk is created by Boot Camp Assistant (or Disk Utility) but it is not technically required by the spec. I plan on updated Winclone in the future to support EFI partition that are not the first partition.

tim

I think I have the same error, is it planned to be patched in the future ?

2020-06-27T14:56:36+02:00:Last message repeated 49 times
2020-06-27T14:56:36+02:00:Extracting file data, 90.000000% complete
2020-06-27T14:56:37+02:00:Done applying WIM image.
2020-06-27T14:56:40+02:00:Error mounting EFI on disk /dev/disk1

Can you do a “diskutil list” in terminal and post the output? I want to make sure it is the same issue.

tim