1
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
And here is the new code after a failed attempt to fix the mismatched.
Jolin-M:~ JolinM$ sudo gdisk /dev/disk1
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if
you don't want to convert your MBR partitions to GPT format!
***************************************************************
Command (? for help): p
Disk /dev/disk1: 488397168 sectors, 232.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C9DD6E4E-F901-43E8-BFE6-56E0FD8A3E47
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
2 409640 438299463 208.8 GiB AF00 Apple HFS/HFS+
3 439570432 488396799 23.3 GiB 0700 Microsoft basic data
Command (? for help): r
Recovery/transformation command (? for help): o
Disk size is 488397168 sectors (232.9 GiB)
MBR disk identifier: 0x00000000
MBR partitions:
Number Boot Start Sector End Sector Status Code
1 1 488397167 primary 0xEE
Recovery/transformation command (? for help):
Thanks for the head up; I did a lot of reading on your website previously (thanks for all the info there!), and should manage to fix the mismatched GPT and MBR.
I am just a little bit confused.What is currently printed in my report is the GPT, right? – Jolin M – 2013-05-11T19:52:50.527
Yes,
gdisk
'sp
option displays the GPT partitions. To view the MBR partitions, you must either use another utility (like Linux's or OS X'sfdisk
) or use theo
option ongdisk
's recovery & transformationor
experts'` menus. (Theo
option on the main menu creates a new partition table, so don't use that!) – Rod Smith – 2013-05-12T18:59:27.447Hum… I’m not sure I’m going in the right direction… I now have an Invalid GPT and a valid MBR, but I’m not sure why… I added the new terminal window to the original post. – Jolin M – 2013-05-15T00:56:20.563
Something you've done seems to have wiped your GPT data. I recommend you test to see that you can access both partition 2 and partition 3 using their respective OSes or emergency discs. If so, you can launch
gdisk
on the disk, create a fresh hybrid MBR, and all should be OK. If you can't access either partition 2 or partition 3, though, I recommend fixing that problem before proceeding. – Rod Smith – 2013-05-15T15:47:48.970I fixed it all, and I am now able to select Window sfrom the Bootloader. Unfortunatly, It only greats me with a blank flashing cursor; but I think this is another problem I need to fix. Thanks for the help anyhow! – Jolin M – 2013-05-19T01:32:39.403