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.

Repairing Boot Camp after creating new partition

I'm running OS X 10.8 and Windows 7 x64 Pro.


After properly setting up Boot Camp to dual-boot Windows on my Mac mini, I decided to test whether or not it was true that creating another partition (a data partition for OS X) would interfere with Boot Camp. Wikipedia claims it does interfere but without citing a source, whilst the Boot Camp documentation itself only specifies that the disk must be a single partition _prior_ to setup - there's no mention of whether the disk must be _kept_ that way afterwards.


I opened Disk Utility, reduced the size of my OS X parition from 420GB to 80GB, and created a new partition in the unallocated space. Here's how it looks now:

User uploaded file

When I attempted to proceed with the process, I did receive a warning that doing this (and I quote), "may" cause problems with Boot Camp. Seeing as it was inconclusive, I thought I'd give it a shot - nothing ventured…


Of course, it borked Boot Camp, otherwise I wouldn't be posting here. Whilst OS X boots just fine, the Boot Camp partition now no longer shows up in the Startup Manager, though it does in the Startup Disk prefPane. If I do attempt to boot into Boot Camp, I receive the following message on a black screen:

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

The advice given to someone who had this same problem was, "fix your damaged Boot Camp volume." But I'm at a loss as to how to do that.


So, anyone know how to proceed now so that I can keep my partitions as is, whilst fully restoring normal Boot Camp functionality?

Mac mini (Mid 2011), Mac OS X (10.7.4)

Posted on Jul 26, 2012 11:28 PM

Reply
1,534 replies

Jun 26, 2014 12:46 PM in response to Christopher Murphy

here they are….


sejms-iMac:~ sejms$ sudo gpt -r -v show /dev/disk1

gpt show: /dev/disk1: mediasize=1000204886016; sectorsize=512; blocks=1953525168

gpt show: /dev/disk1: Suspicious MBR at sector 0

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

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

409640 1756533456 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

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

1758212632 1512

1758214144 195309568 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1953523712 1423

1953525135 32 Sec GPT table

1953525167 1 Sec GPT header

sejms-iMac:~ sejms$ sudo fdisk /dev/disk1

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 - 409639] <Unknown ID>

2: AC 1023 254 63 - 1023 254 63 [ 409640 - 1756533456] <Unknown ID>

3: AB 1023 254 63 - 1023 254 63 [1756943096 - 1269536] Darwin Boot

4: 0B 1023 254 63 - 1023 254 63 [1758214144 - 195309568] Win95 FAT-32

Jun 26, 2014 1:12 PM in response to jpschmid

sudo dd if=/dev/rdisk1s5 count=4 2>/dev/null | hexdump -C


This will spit out the contents of the first 4 sectors of the Bootcamp volume and hopefully make clear whether it is in fact FAT32 or NTFS. If you've formatted it, then whatever was there before is likely toast, but Test Disk might get it back if you want to go that route. Otherwise you just point to that BOOTCAMP named volume in the Windows 7 installer and tell it to format it and it will, then it'll let you install Windows.

Jun 30, 2014 11:45 PM in response to Christopher Murphy

Hi Christopher,


You seem like the expert in this situation. I've been searching for possible solutions to my issue. I recently updated my Mac to Mavericks 10.9.3. I can no longer access Bootcamp. I upgraded to Parallels 9 and that did nothing. I just get the blue screen that brings me back to the boot options (safe mode, last configuration, etc).


I had Windows XP running on my bootcamp partition. Apple says it doesn't support XP, but I've heard others able to do so. When going to Disk Utility, I see the following. So it appears that there's still data on that partition, but I can't access it. When booting and holding ALT, I can go to that partition, but the same blue screen happens.


User uploaded file

User uploaded file

I would appreciate your guidance in fixing the situation. I'm reading through this forum and just don't know what applies to my situation. I figured I should reach out to you versus start something that isn't correct and end up in a worst situation. I can follow instructions and more than willing to do what it takes to fix this. I have important accounting files on that partition.


Thank you,


Matt

Jul 1, 2014 4:05 AM in response to Matt2400

Please start a new thread and post a reference to it here.


What was the sequence of upgrade? 10.9.3. followed by Parallels or the other way? Where in this sequence did the Bootcamp disappear? What OSX version did you upgrade from to 10.9.3?


It is good to see that Bootcamp NTFS is intact and mountable? Can you see files in Bootcamp in Finder? If you have XP installed then it is supported, but new installation of XP is not supported.


Can you post the output of the following two commands?


sudo gpt -r -v show /dev/disk0

sudo fdisk /dev/disk0

Jul 1, 2014 9:05 PM in response to Scotch_Brawth

to Christopher Murphy : first of all Thank you very much for ur efforts 🙂

i was dealing with the main problem of the topic and thanks to you i solve it , but there's some Consequences like i was having

1- mac

2- shared drive [ms-dos (fat)]

3- bootcamp

and i was able to seeing them on windows

now and after solving the boot problem , i'm not able to see the neither ms-dos drive nor mac drive on windows !

so what should i do to fix this issuu ?

thanks

Jul 2, 2014 11:42 PM in response to Christopher Murphy

Hi, I had the same error with Windows and did this, and now it says "Operating System Not Found", even though I can read the Windows HD just fine from my main OS X partition. Also after doing the steps outlined here, my boot time for OS X (and the time it takes to reach the options menu in boot up) got exponentially slower... from a few seconds to about five minutes now. How do I fix this?


Thanks!


These are the results of the commands:


Jonathans-MacBook:~ jonathan$ sudo gpt -r -vv show disk0

Password:

gpt show: disk0: mediasize=251000193024; sectorsize=512; blocks=490234752

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 490234751

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

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

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

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

279297208 33887272 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

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

314454016 175779840 6 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

490233856 863

490234719 32 Sec GPT table

490234751 1 Sec GPT header

Jonathans-MacBook:~ jonathan$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]

Signature: 0xAA55

Starting Ending

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

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

1: EE 0 0 2 - 1023 254 63 [ 1 - 313184479] <Unknown ID>

*2: AB 1023 254 63 - 1023 254 63 [ 313184480 - 1269536] Darwin Boot

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused




And also:


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

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 278027671 132.4 GiB AF00 Customer

3 278027672 279297207 619.9 MiB AB00 Recovery HD

4 279297208 313184479 16.2 GiB AF00 Macintosh Future

5 313184480 314454015 619.9 MiB AB00 Recovery HD

6 314454016 490233855 83.8 GiB 0700 BOOTCAMP

Jul 3, 2014 12:23 AM in response to jonny_boi

I deleted the "Macintosh Future partition" so that and #5 Recovery HD are gone now and now I have:


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

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

1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>

2: AF 1023 254 63 - 1023 254 63 [ 409640 - 312500000] HFS+

3: AB 1023 254 63 - 1023 254 63 [ 312909640 - 1269536] Darwin Boot

4: 0C 1023 254 63 - 1023 254 63 [ 314454016 - 175779840] Win95 FAT32L

Jul 3, 2014 6:45 AM in response to Christopher Murphy

This worked for me as well. I can't thank you enough. Actually, I modified your directions slightly to also include an ExFat partition I added. I ran into Bootcamp not being recognized after adding an additional partition. Apparently I had corrupted the MBR as you discussed and needed to rebuild it from the GUID (at least I think that's what this just did?).


I am now able to boot into Windows and use my ExFat partition from both operating systems. Amazing.

Repairing Boot Camp after creating new partition

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