windows 10 installed via bootcamp does not boot after cloning harddrive
I am using a late 2012 Mac mini with a triple boot Catalina + windows 10 + linux. I uses refind as boot manager. I cloned my 256GB hard drive to a 512GB one, linux and Mac OS are booting fine. Windows however get stuck on a blinking cursor.
The bootcamp partition is mounted and visible in finder.
I have seen a few questions mentioning the use of gdisk to fix related problems. I want to give it a try but I am not sure of the correct settings:
Here is the output of gdisk for my system:
GPT fdisk (gdisk) version 1.0.8
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/disk1: 976773168 sectors, 465.8 GiB
Sector size (logical): 512 bytes
Disk identifier (GUID): D96994EC-DC95-448F-8813-6BAB9472962F
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 8-sector boundaries
Total free space is 476655927 sectors (227.3 GiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 248454879 118.3 GiB AF0A Systeme
3 248455168 249503742 512.0 MiB EF00
4 373456896 500117503 60.4 GiB 0700
and here is fdisk's:
eniac314@Mac-mini-de-eniac314 ~ % sudo fdisk /dev/disk1
Password:
Disk: /dev/disk1 geometry: 60801/255/63 [976773168 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 1023 255 63 [ 1 - 976773167] <Unknown ID>
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
Any help appreciated :)