You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Bootcamp not bootable after partitioning

Hello.

I have really big problems with my MacMini.

The system was stable with osX 10.8 and a Bootcamp partition with Windows on it.

Now I divided the MacHD in two parts: osX 10.8 and oX 10.9 run stable

and, of course, there is my Windows Bootcamp partition still on the HDD.


When I press alt-Button starting my computer, I have only the choice to boot in osX 10.8 and 10.9.

So I tried settings - start volume - windows - restart

didn't work...

The next idea was to google the problem and I found rEFInd / rEFId and created a bootable USB device; refind booted, I chose Windows AND:

Again the error:

No bootable Device -- insert boot disk and press any key


Can anybody please help me?

I don't want, and I can't reinstall Windows.


Thanks in advance.

Posted on Mar 4, 2014 3:29 AM

Reply
13 replies

Mar 4, 2014 5:54 AM in response to Number88

Ok. Thanks.



gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

gpt show: disk0: PMBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 976773167

start size index contents

0 1 PMBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 243164064 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

243573704 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

244843240 241894896 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

486738136 1269536 5 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

488007672 8

488007680 488765440 6 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

976773120 15

976773135 32 Sec GPT table

976773167 1 Sec GPT header






Disk: /dev/disk0 geometry: 60801/255/63 [976773168 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 1023 254 63 - 1023 254 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

Mar 4, 2014 6:23 AM in response to jonasander

Not yet.

In that Panther folder is a file near the end called "setupact.log"

Open that file please and in the console window that opens up there is a search box in the top right corner.

In that box please enter "Detected boot environment" and then the entry corresponding with that will appear below.

Does it say that the detected boot environment is EFI or BIOS?

Mar 4, 2014 6:38 AM in response to jonasander

Ok, thanks. You don't have an EFI install so your fdisk output is wrong.


As we can see form your gpt show output you now have 6 partitions on the drive. Ideally there should only be 4.


EFI

OSX (original)

OSX recovery HD (original)

OSX (new one)

OSX recovery HD (new one)

Bootcamp


With a BIOS installation of Windows the Windows installation boots using the MBR (hybrid) on the drive. That hybrid MBR has now been changed to a protective MBR, so Windows can't boot.

I'm not sure what caused this shift, exactly, but it's happened.


It may be possible to use gdisk to re-create a hybrid MBR. Windows may then boot, though there are no guarantees.

If you want to try that you should download and install gdisk from here

http://sourceforge.net/projects/gptfdisk/


I can then walk you through the process to create a new hybrid MBR.


Just to confirm, you haven't ever changed the size of the Bootcamp partition, have you?

Mar 4, 2014 7:15 AM in response to jonasander

Ok, so download and install gdisk.

The MBR can only hold 4 partitions (not 6) so we have to reduce the number to include in the new hybrid MBR.


Open up a terminal in OSX and assuming you have only one hard drive installed run


sudo gdisk /dev/disk0

type "r" (no quotes) and press enter

type "h" and press enter

You'll get a warning that hybrid MBR's are flaky and dangerous. That's ok.

It will ask for 1 to 3 partition numbers (space separated) so I would suggest you enter

2 4 6 (one space between each) and press enter - that means you're leaving out the recovery HD's

It will ask if you want to include the EFI partition first in MBR

answer Y and press enter

you will get default entries for partition 2 - accept them by pressing enter BUT

the last question will ask if you want to make the partition bootable - answer N and press enter.

Do the same for partition 4

For partition 6 accept defaults (checking that type 07 is the default option for partition type) but when it asks you if you want to make partition 6 bootable - answer Y and press enter.

When finished type "w" and press enter - to write changes to the partition table.

Answer Y to continue.

When done type "q" to quit gdisk

Close terminal

Reboot holding Alt key and see if Windows appears in the boot menu - try to boot it.

Mar 5, 2014 8:00 AM in response to jonasander

It's good to hear that this is now fixed 😁

However, you now have a decision to make!

You are running a system which will be unlikely to remain stable.

This problem is likely to happen again. If you upgrade any of your OSX installations the installer will probably do the same thing. Even using disk utility to check/repair the disk may have the same outcome.


The only proper way to stop this happening is to reduce the number of partitions to 4 (ie EFI, OSX, recovery HD and Bootcamp)., though that in istelf can cause problems if not done carefully.

Others would advocate that you backup everything you need and wipe the hard drive and start again with just one OSX system and a Bootcamp installation.

The decision is yours :-)

Bootcamp not bootable after partitioning

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