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

Bootcamp/Yosemite Boot Issues

I have a setup where I have Windows 8.1 installed through bootcamp on a separate partition. I haven't booted into bootcamp natively for a while and have updated to Yosemite in the meantime. Now quite often when I try and boot into bootcamp it loads windows and I see the windows desktop for a few seconds and then it reboots automatically back into OS X. I have also had this behaviour when booting into OS X Utilities too.


I've tried everything from scanning partitions for errors in disk utility to deleting the bootcamp partition, recreating it and restoring a winclone image and also reinstalling windows afresh, yet the issue is still there. I can get into windows eventually after two or three attempts however.


I'm inclined to think it may be a Yosemite issue as I've tried most other things that I can think of with the exception of going back to Mavericks. Just wondered if anyone might have any ideas. Thanks in advance.

MacBook Pro with Retina display, OS X Yosemite (10.10.1)

Posted on Dec 25, 2014 9:32 AM

Reply
45 replies

Dec 28, 2014 7:48 AM in response to adyf88

I had another look at this and you say in your post that 'You should not create a Hybrid MBR on disk1. You need to pick diskN, where N contains the Bootcamp volume, and verify that you are picking the correct drive.'


If you look terminal data below, the Bootcamp volume appears to be on disk 1 number 4. So do I carry out the following with gdisk?


Sudo gdisk /dev/disk1

P (Print list of parts)

R (Recover)

H (chooses Hybrid)

Partitions numbers to be hybridized: 2 3 4

Y (Good for GRUB question)

N (part 2 boot flag)

N (part 3 boot flag)

Y (part 4 boot flag make NTFS bootable partition)

W (Write the new MBR)

Y (Yes! write the new MBR)

Reboot


Last login: Sun Dec 28 15:30:40 on ttys000

MacBook-Pro:~ AdrianLAPTOP$ Sudo gdisk /dev/disk1

GPT fdisk (gdisk) version 0.8.10


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: 977105060 sectors, 465.9 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 4570677C-A5B8-4A39-80A0-E1ECB52624CE

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 977105026

Partitions will be aligned on 8-sector boundaries

Total free space is 257 sectors (128.5 KiB)


Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 773847143 368.8 GiB AF00 Customer

3 773847144 775116679 619.9 MiB AB00 Recovery HD

4 775116800 977104895 96.3 GiB 0700 BOOTCAMP


Command (? for help):


Could these issues that people are experiencing with Yosemite/Bootcamp be resolved by Apple with a Yosemite update? Or would an update only help people that would use Yosemite/Bootcamp in the future and current issues can only be resolved by users themselves?

Dec 28, 2014 4:01 PM in response to adyf88

adyf88 wrote:


I had another look at this and you say in your post that 'You should not create a Hybrid MBR on disk1. You need to pick diskN, where N contains the Bootcamp volume, and verify that you are picking the correct drive.'


If you look terminal data below, the Bootcamp volume appears to be on disk 1 number 4. So do I carry out the following with gdisk?


Sudo gdisk /dev/disk1

P (Print list of parts)

R (Recover)

H (chooses Hybrid)

Partitions numbers to be hybridized: 2 3 4

Y (Good for GRUB question)

N (part 2 boot flag)

N (part 3 boot flag)

Y (part 4 boot flag make NTFS bootable partition)

W (Write the new MBR)

Y (Yes! write the new MBR)

Reboot


Last login: Sun Dec 28 15:30:40 on ttys000

MacBook-Pro:~ AdrianLAPTOP$ Sudo gdisk /dev/disk1

GPT fdisk (gdisk) version 0.8.10


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: 977105060 sectors, 465.9 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 4570677C-A5B8-4A39-80A0-E1ECB52624CE

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 977105026

Partitions will be aligned on 8-sector boundaries

Total free space is 257 sectors (128.5 KiB)


Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 773847143 368.8 GiB AF00 Customer

3 773847144 775116679 619.9 MiB AB00 Recovery HD

4 775116800 977104895 96.3 GiB 0700 BOOTCAMP


Command (? for help):

Yes, you should use disk1, not disk0.



Could these issues that people are experiencing with Yosemite/Bootcamp be resolved by Apple with a Yosemite update? Or would an update only help people that would use Yosemite/Bootcamp in the future and current issues can only be resolved by users themselves?

There are different aspects to the issues on Yosemite/Bootcamp which start depending on what you have done to your systems.


1. Original Mac with fully functional hardware - This is by far the easiest environment to work on and has the fewest issues.

2. Original Mac and modified/non-standard disk layout - This is the source of a different set of issues.

3. Modified Mac with HW and custom disk layout - This is the hardest one to work with.


Yosemite cannot deal with systems of type 2 and type 3. There is not much a Software update can do for such systems.

Jan 2, 2015 4:50 AM in response to Loner T

Just an update, still no joy with the below I'm afraid. It won't allow me to repair the windows installation so I have to restore my winclone image and then the issue remains. I guess I'll just have to boot into Bootcamp from the startup disk -> preferences as that works fine, it's just not reliable when holding down crtl, cmd and the power key and choosing windows. 😕


Sudo gdisk /dev/disk1

P (Print list of parts)

R (Recover)

H (chooses Hybrid)

Partitions numbers to be hybridized: 2 3 4

Y (Good for GRUB question)

N (part 2 boot flag)

N (part 3 boot flag)

Y (part 4 boot flag make NTFS bootable partition)

W (Write the new MBR)

Y (Yes! write the new MBR)

Reboot

Jan 2, 2015 5:58 AM in response to adyf88

If you have restored a Winclone image, using https://twocanoes.zendesk.com/hc/en-us/articles/203443727-Migrate-Windows-8-to-a n-External-Drive-

you should look at the following section in the link,


Troubleshooting

If you successfully restore your image to your external partition and experience any start up errors, please try opening Winclone and selecting your external boot camp partition, right-clicking, and selecting "Make EFI bootable". Attempt to restart into the partition.

I removed the word external in the above.


Startup Disk uses the OSX bless command (see man bless for details) and uses specific qualifiers --nextonly --legacy --legacydrivehint .

There is also additional information in the NVRam.

nvram -p -x | grep -i bootcamp

BootCampHD %02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%02%1f%03%12%0a%00%00%00%00%00%00 %00%7f%ff%04%00

Can you check what you get after the Winclone image has been restored, and the Hybrid MBR is in place?

Jan 2, 2015 6:45 AM in response to Loner T

I've opened winclone, right clicked on the Bootcamp partition and selected make EFI bootable. This completed and hasn't made a difference.


Please see below from terminal:


Last login: Fri Jan 2 14:32:15 on console

MacBook-Pro:~ AdrianLAPTOP$ nvram -p -x | grep -i bootcamp

BootCampHD %02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%04%1c%01%01%06%00%00%00%03%12%0a %00%00%00%00%00%00%00%7f%ff%04%00

BootCampProcessorPstates %10%00

MacBook-Pro:~ AdrianLAPTOP$


However, I'm not sure if the Hybrid MBR is in place or not to be honest. I've used the sudo gdisk command twice now on disk0 and disk1. Each time I couldn't repair windows from the black screen with hanging cursor, so I've restored my winclone image. By restoring the winclone image I'm not sure whether I've undone or reset the Hybrid MBR or if it's still in place?

Jan 2, 2015 7:42 AM in response to Loner T

I doesn't look like I have the Hybrid MBR:


Last login: Fri Jan 2 14:48:38 on ttys000

MacBook-Pro:~ AdrianLAPTOP$ sudo fdisk /dev/disk1

Password:

Disk: /dev/disk1 geometry: 121601/255/63 [1953525168 sectors]

Signature: 0xAA55

Starting Ending

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

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

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

MacBook-Pro:~ AdrianLAPTOP$


Restoring the winclone image appears to lose the Hybrid MBR. I can't repair windows after creating an Hybrid MBR, so I'm unsure how to restore the winclone image and keep the Hybrid MBR. On both occasions when I have created the Hybrid MBR, there's two windows drives shown in the boot up options. This goes back to one windows drive after restoring the winclone image.

Jan 2, 2015 9:09 AM in response to adyf88

1. What version of Winclone do you have?

2. Restoring a Winclone image is supposed to re-create the Hybrid MBR. You may want to contact TwoCanoes for clarification.

3. You have the following two options for boot ability of the restored clone. Can you also check the second option - "Make Legacy Bootable"?


User uploaded file

Jan 2, 2015 10:09 AM in response to Loner T

I have Winclone 4.4. It does indeed have the Make Legacy Bootable option. I have tried this and the blue progress bar goes straight across immediately and then nothing more seems to happen. I have waited for between 20 and 30 minutes and the process doesn't seem to finish. Not sure if it's a long process and it's still running or the program has stopped responding. The Make EFI Bootable process completes as it should.

Jan 3, 2015 5:43 AM in response to Loner T

1. Yes the winclone image came from this Mac. I didn't realise that restoring the winclone image would restore the Hybrid MBR. I created the image after upgrading to Yosemite, therefore I guess if the Hybrid MBR was destroyed at that point then restoring the winclone image restores just that.

2. Chkdsk doesn't run every time after trying to boot into Bootcamp, it has run though sometimes after I have used the 'Make EFI Bootable' option in winclone.

3. 'Make Legacy Bootable' doesn't seem to complete as I mentioned above. How long should that process take? Even after attempting this and quitting winclone, there is still no Hybrid MBR.


I could understand it, if I'm just going round in circles and there is no way of recovering windows to boot properly again and having to start over. The strange thing is, I have already tried deleting the Bootcamp partition, enlarging the Macintosh HD partition to take up the remaining space, recreating the Bootcamp partition and installing windows afresh. Yet I still have the issue.

Jan 3, 2015 6:19 AM in response to adyf88

When I look at the below using 'Get Info' whilst highlighting Bootcamp in Disk Utility you see that Bootcamp is alleging on Disk0, number 4. Yet sudo fdisk /dev/disk0 doesn't substantiate this. Now sudo gdisk /dev/disk0 seems to correlate with the info from Disk Utility and show Bootcamp on Disk0, number 4.


On the screen grab at the bottom of the post, it says Bootcamp is not bootable, is this correct?

Last login: Sat Jan 3 14:08:17 on ttys000

MacBook-Pro:~ AdrianLAPTOP$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]

Signature: 0xAA55

Starting Ending

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

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

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

MacBook-Pro:~ AdrianLAPTOP$ sudo gdisk /dev/disk0

GPT fdisk (gdisk) version 0.8.10


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/disk0: 977105060 sectors, 465.9 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 4570677C-A5B8-4A39-80A0-E1ECB52624CE

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 977105026

Partitions will be aligned on 8-sector boundaries

Total free space is 257 sectors (128.5 KiB)


Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 773847143 368.8 GiB AF00 Customer

3 773847144 775116679 619.9 MiB AB00 Recovery HD

4 775116800 977104895 96.3 GiB 0700 BOOTCAMP


Command (? for help):

User uploaded file

Jan 3, 2015 10:54 AM in response to adyf88

1. Can I suggest that you disconnect the G-drive till the internal Windows and Winclone issues can be sorted out. You Mac switches between disk0 and disk1 when showing the BC partition.

2. Restore your Winclone backup without the G-drive connected, and check the output of fdisk. If there is no MBR, it can be recreated via Gdisk. Any bootability issues can the be addressed with just the Winclone image and the internal disk.

Jan 4, 2015 5:21 AM in response to Loner T

Hi Loner T.


Still can't solve this.


Disconnected G - Drive. Restored winclone image, checked for Hybrid MBR and it is not present. Recreated Hybrid MBR, I could get windows to boot but not reliably every time. Seems as if there's no real difference to reliable booting if the Hybrid MBR is present or not.


After recreating Hybrid MBR, two windows drives show up on the boot up screen. If I then use winclone and choose 'Make EFI Bootable' or 'Make Legacy Bootable' one of these drives disappear, however after doing this the Hybrid MBR disappears. Seem to be going round in circles.

Bootcamp/Yosemite Boot Issues

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