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 14, 2014 9:54 PM in response to Christopher Murphy

Hello there. I have a Macbook Pro Retina 15', I created an new partition for the Yosemite but I didn't know it would mess up with my Boot Camp.

Before I reach to this thread, I had the same issue of the first post (No bootable device --- insert boot disk and press any key), so I just used my bootable flash drive and try to repair the windows, of course its failed and starting showing up a new message error: "An error occurred while attempting to read the boot config data"


Then I made everything like you said, but the windows keeping showing the same error (An error occurred while attempting to read the boot config data).

What I need to do know?

Jun 15, 2014 6:17 AM in response to Gmouse1

Soooo...coming new to this thread, after reading of it on NERDR.COM.


Have new iMac 27" and have been TRYING to load and use Win 8.1 Enterprise (MSDN) on BootCamp in Mavericks 10.9.3.


Could not even get setup to load until after I removed my three external G-Drives, finally got it to load, and actually got Windows pretty much configured and activated, and loaded Office 2013 and VISIO. But, I have an increasing number of BSOD (I assume it is) issues with kernel_security_check_failure which stop the computer, nothing works, and I have to power off. This has caused drive issues, and while I've been repairing them, I can no longer boot into Windows. Tried repairing that with the original Win 8.1 DVD, but, Automatic Repair can't fix, and I was unsure if using BootRec was a good idea.


So ran the three SUDO commands on my Drive 0, and here are the results:

Jun 15, 2014 6:18 AM in response to Gmouse1

tracy-imac:~ Tracy$ sudo gpt -r -vv show disk0

gpt show: disk0: mediasize=1000555581440; sectorsize=512; blocks=1954210120

gpt show: disk0: PMBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 1954210119

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 1703124992 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

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

1704804168 184

1704804352 249405440 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1954209792 295

1954210087 32 Sec GPT table

1954210119 1 Sec GPT header

Jun 15, 2014 6:20 AM in response to Gmouse1


tracy-imac:~ Tracy$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 872.0 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data BOOTCAMP 127.7 GB disk0s4


Soooo...question is, should I go ahead and use the sudo gdisk utility to repair things, or...something else?


And...if there is some kind of issue with using Boot Camp when you have external drives attached, what can be done to get around that?


Thanks!

Jun 26, 2014 11:31 AM in response to Christopher Murphy

Christopher,

Long story Short, 3.4 Ghz i7 iMac 27 with fusion drive 1Tb running 10.8.5 build 12F45

have had bootcamp installed working without a hitch, using parallels 8 an Win 7 extreme...

Upgraded to Parallels 9 (this is when everything went to pot…)

Somehow (following the directions of Parallels tech support)I lost my Bootcamp drive. I was also instructed to repartition drive to osx only… which I did (I think this was my first big mistake [other than trying to upgrade])

I have since repaired the disk and now am trying to reinstall bootcamp. The new partition is formatted as fat 32 so it will not allow windows to install.

Using the terminal commands, my bootcamp partition shows up on disk1 and not on disk0. is it still possible to fix this and reinstall windows 7 or is a full restore and reformatting of the entire drive necessary?


Although I am usually reluctant in the use of terminal commands, I do feel comfortable following your directions and attempting a repair if it is possible.

It just seemed that a modification of the commands may be in order due to the different disk location (am I right?)


Below are the dumps from the terminals commands for your review.


Thanks in advance for any assistance you can provide.

Josef


sejms-iMac:~ sejms$ sudo gpt -r -vv show disk0

gpt show: disk0: mediasize=121332826112; sectorsize=512; blocks=236978176

gpt show: disk0: PMBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 236978175

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 236306352 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

236715992 262144 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

236978136 7

236978143 32 Sec GPT table

236978175 1 Sec GPT header


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

Disk: /dev/disk0 geometry: 14751/255/63 [236978176 sectors]

Signature: 0xAA55

Starting Ending

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

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

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


sejms-iMac:~ sejms$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *121.3 GB disk0

1: EFI 209.7 MB disk0s1

2: Apple_CoreStorage 121.0 GB disk0s2

3: Apple_Boot Boot OS X 134.2 MB disk0s3

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk1

1: EFI 209.7 MB disk1s1

2: Apple_CoreStorage 899.3 GB disk1s2

3: Apple_Boot Recovery HD 650.0 MB disk1s3

4: Microsoft Basic Data BOOTCAMP 100.0 GB disk1s5

/dev/disk2

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS SEJMS iMac HD *1.0 TB disk2

/dev/disk3

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *7.8 GB disk3

1: DOS_FAT_32 WININSTALL 7.8 GB disk3s1

sejms-iMac:~ sejms$

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.