Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Posted on May 11, 2013 6:22 AM

Reply
Question marked as Best reply

Posted on Jun 2, 2013 3:31 PM

On reboots, disk0 and disk1 designations can flip around, so it's not reliable to specify them as disk0 and disk1. However, given the information you've given, disk0 (os x) and disk1 (windows), you should only have a protective MBR on disk0, and either a hybrid MBR with partitions 2 3 added for disk1, OR you can just remove the GPT and have an MBR only disk. There's no advantage to using GPT for a disk that's smaller than 2TB, without OS X on it. Way safer to go with MBR only.


Anyway, you haven't presented the fdisk result for either disk to show the MBR. You've only supplied the GPT information. So you need to do:


fdisk /dev/disk0

fdisk /dev/disk1

2 replies
Question marked as Best reply

Jun 2, 2013 3:31 PM in response to Gernouille

On reboots, disk0 and disk1 designations can flip around, so it's not reliable to specify them as disk0 and disk1. However, given the information you've given, disk0 (os x) and disk1 (windows), you should only have a protective MBR on disk0, and either a hybrid MBR with partitions 2 3 added for disk1, OR you can just remove the GPT and have an MBR only disk. There's no advantage to using GPT for a disk that's smaller than 2TB, without OS X on it. Way safer to go with MBR only.


Anyway, you haven't presented the fdisk result for either disk to show the MBR. You've only supplied the GPT information. So you need to do:


fdisk /dev/disk0

fdisk /dev/disk1

Repairing Boot Camp on a secondary hard drive

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.