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

Sep 7, 2014 2:59 PM in response to Christopher Murphy

Hi Chris,


The post thread is too long and I couldn't read it all but I know you saved many people here =)


I hope you or someone else can give me a hand on this.

I run OS X 10.9.2 with an SSD which is partitioned. I have OS X and Win 7 via bootcamp. I also use Parallels to run the bootcamp partition when I don't want to restart my computer.


One day I thought I could easily resize my partitions but once I did that, I got my bootcamp ruined and I no longer can boot windows from bootcamp or Parallels.

However I do access the files from OS X.


Marco-Correas-iMac-3:~ marcoac14$ sudo gpt -r -vv show disk0

Password:

gpt show: disk0: mediasize=256060514304; sectorsize=512; blocks=500118192

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 500118191

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

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

314593416 28882808

343476224 156641280 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

500117504 655

500118159 32 Sec GPT table

500118191 1 Sec GPT header


Marco-Correas-iMac-3:~ marcoac14$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 31130/255/63 [500118192 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: AF 1023 254 63 - 1023 254 63 [ 409640 - 312914240] HFS+

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

4: 0C 1023 254 63 - 1023 254 63 [ 343476224 - 156641280] Win95 FAT32L


Regards,

Marco

Sep 16, 2014 5:39 PM in response to Christopher Murphy

Hi Chris,


I am having a similar issue but do not have five GPT partitions because I deleted the Linux partitions. I originally had set up a triple boot but then didn't really need the Linux side and wanted to reclaim the space. I no longer have the five GPT partitions but still have the "No bootable device..." error. I have a thread here. Any chance you can give me a quick walk through?

Sep 23, 2014 5:16 PM in response to Scotch_Brawth

Hi,


So today I was playing cs:go, running bootcamp, when suddenly my mac crashed and rebooted to mavericks... I've tried several things on this thread but I still can't boot on bootcamp... I really need some files I have there and I can't access them -.-' Is there a way to fix this and get bootcamp to work again? Tell me what you need from terminal so I can upload it here.


Btw, when I created the bootcamp partition I created it with 100gb and later I upgraded it to 400gb without reinstalling bootcamp but it as worked fine for more than a month so I'm assuming that is not the problem...


I really need some help with this...


Thanks,

Gabriel

Sep 23, 2014 5:35 PM in response to fallen002

Please start a new thread and post a reference here and the output of the following commands.


1. diskutil list

2. diskutil cs list

3. sudo gpt -vv -r show /dev/disk0 (if bootcamp is on disk0, or choose the appropriate disk, as shown in diskutil list).

4. sudo fdisk /dev/disk0 (if bootcamp is on disk0, or choose the appropriate disk, as shown in diskutil list).

5. sudo dd if=/dev/rdisk0 count=1 2>/dev/null | hexdump -C (if bootcamp is on disk0, or choose the appropriate disk, as shown in diskutil list).

Oct 1, 2014 2:06 PM in response to Disco Dave D

D3... Please post a new thread and post a reference to that thread here. It keeps problems cleanly separated.


Please post the output of


1. diskutil list

2. diskutil cs list

3. sudo gpt -vv -r show /dev/BootcampDiskWithoutSlice (where BootcampDiskWithoutSlice is of the form disk0 and is visible from the output of 1.)

4. sudo fdisk /dev/BootcampDiskWithoutSlice

5. sudo dd if=/dev/rBootcampDisk count=1 2>/dev/null | hexdump -C (where BootcampDisk is of the form disk0s4 and is visible from the output of 1. Please note the 'r' preceding the disk0s4 format).

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.