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 gone haywire after Yosemite update

Hello


I recently updated my Macbook Pro to OS X Yosemite 10.10, and as a result, my bootcamp (Windows 7, 64-Home edition) is now gone.

I have tried to follow many of the discussions posted already but non seem to have a clear solution to my issue. I ve had no problem with Bootcamp before with the Lion and Maverick updates, but this time my guess is that the problem probably lies in the fact that I re-sized my partitions using a window software.


Basically the current situation is my Bootcamp no longer appears when I press Alt on start-up.

Upon checking my partition through Disk Utility, here is what I see:

User uploaded file

So you see that not only Bootcamp is now changed into disk0s4, there is also a gap of hard drive space that is not used by either Mac or Windows.

I have tried the sudo MBR method but I always encounter errors despite I followed word for word on other discussions. I think they likely have a slight different situation than mine? Here is a sample of my Diskutil List: (I saw a guy with a fifth item listed as Basic Data Bootcamp, but I don't have that line...)

diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *750.2 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage 450.0 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data 200.8 GB disk0s4

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD *449.6 GB disk1

Logical Volume on disk0s2

D642C513-A4DB-4E81-9E67-546F88021205

Unlocked Encrypted

Thank you in advance for replies.

MacBook Pro, OS X Yosemite (10.10)

Posted on Oct 20, 2014 3:29 PM

Reply
43 replies

Oct 28, 2014 4:40 PM in response to Andy TLW

Andy TLW wrote:


Sounds good. so how do I go from here?

Do I use this command? how do I input the correct numbers?

sudo gdisk /dev/disk0

p

d

4

n

4

86923264 880586752

538218489 1465147384

0700

p

w

y


Please see the changes. Reboot after this. Run the dd command and make sure you can see "R.NTFS" in the first line.


You should be able to see your Bootcamp volume and files in it.


If that works, recreate your Hybrid MBR using the steps in the referenced link. Please post back here, if you have questions, or you want me to paste it here.

Oct 28, 2014 11:02 PM in response to Loner T

IT WORKED!

THANK YOU VERY MUCH LONER!!! 🙂


Ok just to give a summary of what I did.

So first get Testdisk and GPT disk from internet.

Then first use fdisk and Testdisk to find the codes.

For me, the speed of even a quick search is that of 10 hours roughly that always ends up stuck.

So I ended up doing a clean install for Yosemite. Then the Testdisk is quick as few minute to obtain the necessary codes for gdisk command.


Then I just followed the gdisk command to correct the disk.

Here are the gdisk steps and dd Command screenshots.

User uploaded file

User uploaded file

Then reboot and test using Finder,UtilityDisk, and Startup Disk.

Afterwards I used windows install CDs to repair the drive. And now Bootcamp is back on.

Nov 29, 2015 7:53 AM in response to Loner T

Loner,

I'm facing the same problem when I updated to OS X EI Capitan. Below is my setting


prashanths-MacBook-Pro:meanHelloWorld pranag$ sudo gdisk /dev/disk0

Password:

Sorry, try again.

Password:

GPT fdisk (gdisk) version 1.0.1


Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

NOTE: Write test failed with error number 1. It will be impossible to save

changes to this disk's partition table!

You may need to deactivate System Integrity Protection to use this program. See

https://www.quora.com/How-do-I-turn-off-the-rootless-in-OS-X-El-Capitan-10-11

for more information.


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/disk0: 976773168 sectors, 465.8 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 0000136E-5E53-0000-413D-0000E64A0000

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 976773134

Partitions will be aligned on 8-sector boundaries

Total free space is 195508533 sectors (93.2 GiB)


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

1 40 409639 200.0 MiB EF00 EFI system partition

2 409640 291229631 138.7 GiB AF05 Macintosh HD

3 291229632 292499167 619.9 MiB AB00 Recovery HD

4 488007680 976773119 233.1 GiB 0700 BOOTCAMP


Command (? for help): d

Partition number (1-4): 4


Command (? for help): n

Partition number (4-128, default 4): 4

what should be the numbers for n ?

291229631?

How do I proceed?

Thanks

May 27, 2016 7:48 AM in response to Loner T

Hey, Loner! Thank you SO much for all your help with this issue. Wish I had the time to learn more about this. I feel completely clueless!


I'm having the same problem with my Windows partition not showing up after an OS X upgrade. Here's my diskutil list. Can you point me in the right direction?

diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *751.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_CoreStorage Macintosh HD 718.4 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3 4: Microsoft Basic Data BOOTCAMP 32.0 GB disk0s4 /dev/disk1 (internal, virtual): #: TYPE NAME SIZE IDENTIFIER 0: Apple_HFS Macintosh HD +718.0 GB disk1 Logical Volume on disk0s2 AB8475DA-8F76-4C7A-88B2-62722099E783 Unencrypted

Bootcamp gone haywire after Yosemite update

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