Repairing Boot Camp on a secondary hard drive
Hi, I managed to install Windows on a partition of a secondary hard drive with Winclone, but I am unable to boot on it.
Now when i choose windows as startup device i get the "No bootable device --- insert boot disk and press any key" error.
I played a lot with eFit, rEFind, gptsync and friends, but I did not manage to fix it yet.
I found a similar thread, but I did not find anything about fixing the MBR for two drives.
(https://discussions.apple.com/thread/4144252?start=600&tstart=0)
Here is the last code I tried; I chicken'd out at the end…
Last login: Sat May 11 09:02:53 on console
Jolin-M:~ JolinM$ sudo gdisk /dev/disk0
GPT fdisk (gdisk) version 0.8.6
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/disk0: 125045424 sectors, 59.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 5AB6E84E-2E88-4DE1-9931-03182B67EABE
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 125045390
Partitions will be aligned on 8-sector boundaries
Total free space is 13 sectors (6.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 123775847 58.8 GiB AF00 SSD
3 123775848 125045383 619.9 MiB AB00 Recovery HD
Command (? for help): q
Jolin-M:~ JolinM$ sudo gdisk /dev/disk1
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Command (? for help): p
Disk /dev/disk1: 488397168 sectors, 232.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0E0A8E5C-5CA7-4C12-AAA9-C454E9E6ABF1
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 488397134
Partitions will be aligned on 8-sector boundaries
Total free space is 1271309 sectors (620.8 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 438299463 208.8 GiB AF00 Untitled
3 439570432 488396799 23.3 GiB 0700 BOOTCAMP
Command (? for help): w
Warning! Mismatched GPT and MBR partition! MBR partition 4, of type 0x07,
has no corresponding GPT partition! You may continue, but this condition
might cause data loss in the future!
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): n
Aborting write of new partition table.
Command (? for help): q