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

Jan 7, 2014 5:22 AM in response to tantrumnism

1. I am a bit surprised at the MSR partition. Did you try an EFI boot or a Windows repair?

2. Your fdisk output shows partition #3 as bootable which is atypical, with Recovery HD missing from the MBR.

3. What happens when you select Bootcamp partition from Startup Manager on the OS X side? Does Windows boot correctly?

4. Could you describe the sequence of events which led to the "issue"?

Jan 7, 2014 6:20 AM in response to Loner T

I tried an EFI boot.

Initially i upgraded to Mavericks. I added Windows 8.1 on 500gb factory Macintosh HD with no issues.


I have since replaced this drive with a 128gb SSD and swapped optical drive for caddy including the 500gb HD.


I cloned Mac OS using Carbon Copy inclusive of recovery partition.


I used bootcamp to add 8.1 to the SSD and was able to do so with success. Afterward reformated the 500gb HD into 2 partitions a large one for Mac and a smaller one fore Windows files. Since then i've been unable to boot into Windows.


Within my System Preference > Starup Disk provides the option to boot from Windows Bootcamp but when restarting i get "no bootable disk"


I am able to see Bootcamp in finder, startup disk option and in disk utility. it just doesn't boot.


I have since then been in and out of this thread trying several options including creating a 5th partition and creating the Hybrid disk. I am still unsuccessful in my efforts. Here is what things are looking like now. User uploaded file

Feb 4, 2014 9:45 AM in response to Christopher Murphy

Hi,

I have a similar problem; Mavericks wouldn't startup in BootCamp since I upgraded from ML.

I can run Windows 7 installed on it using Parallels Desktop OK though.

But I want the option to bootup into BootCamp (some Windows software I have is resource intensive).


I have MacBook Pro 2012 with SSD 969GB Crucial main drive, a 2nd HDD 1TB (installed in optical bay) and 16 GB RAM.

Mavericks 10.9.1 upgraded from ML.

I run Windows 7 using Parallels Desktop 9 from BootCamp.


I tried to do the same fix that Christopher Murphy suggested using GDisk but it didn't work: I could not boot up at all afterwards; not even in Mac mode.

Got a strange sort of empty flag.....

I think I damaged my Mac partition table....sigh.

I had to reformat my main SSD and re-install from my backups.


I'm not blaming Christopher: obviously something was not suitable or I made a mistake.

I am reasonably competent at using Terminal.

I thought my case was the same as Scotch-Brawth's.

Our maps looked almost identical.


So after my crash I reformated my SSD and reloaded my Mac partition from a CarbonCopyClone backup (I had a choice of CCC or TimeMachine).

And my BootCamp from a Winclone backup.

I've done this in the past, and wasn't expecting problems.


However after that I could not access Windows in BootCamp at all.

Even just from Parallels Desktop.

Remember the problem that I set out to fix was to try to bootup into BootCamp, but I had no problem running Windows with Parallels.


Before my GDisk disaster:

SSD 845 GB Mac start-up

SSD-2 25 GB NTFS (empty)

BootCamp 90 GB NTFS


(I saved diskutil list and sudo gpt of my maps, but no point in posting these since I've reformated since that).


After my GDisk disaster (self-inflicted I'm sure):

(1) First set-up was the same as before: could not access Windows and couldn't see BootCamp as a Startup option


(2) Simplified set-up I have now:

SSD 870 GB Mac start-up

BootCamp 90 GB NTFS


As soon as I went to (2) I got the option to bootup into BootCamp on startup: so obviously my partition scheme before was part of the problem.


This is what my system looks like now:


Last login: Tue Feb 4 14:22:13 on console

alans-mbp:~ arjarvis_mbp$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *960.2 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Mac_SSD 869.9 GB disk0s2

3: Apple_Boot Recovery HD 784.2 MB disk0s3

4: Microsoft Basic Data BOOTCAMP 89.3 GB disk0s4


alans-mbp:~ arjarvis_mbp$ sudo gpt -r -vv show disk0

Password:

gpt show: disk0: mediasize=960197124096; sectorsize=512; blocks=1875385008

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 1875385007

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

1699341608 1531680 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

1700873288 952

1700874240 174510080 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1875384320 655

1875384975 32 Sec GPT table

1875385007 1 Sec GPT header



alans-mbp:~ arjarvis_mbp$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 116737/255/63 [1875385008 sectors]

Signature: 0xAA55

Starting Ending

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

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

1: EE 0 0 2 - 25 127 14 [ 1 - 409639] <Unknown ID>

2: AF 25 127 15 - 1023 31 20 [ 409640 - 1698931968] HFS+

3: AB 1023 31 21 - 1023 118 44 [1699341608 - 1531680] Darwin Boot

*4: BF 1023 133 52 - 1023 70 5 [1700874240 - 174510080] <Unknown ID>



I now have the option on startup (Alt) to boot into Mac, Windows or Recovery.

However Windows (BootCamp) just hangs in the Windows screen.

It gets as far as the Microsoft windows start screen and then just stays there: I left it for several hours.


User uploaded file

When booted into Mac, the Mac side works fine, but Parallels cannot access the BootCamp Windows 7 anymore: same problem: gets to Windows start screen and just stays there.

And my feeling is that it SHOULD hace run: after all I had what I thought was a good BootCamp backup using WinClone (I've tried three different versions of winclone backups, including one I KNOW is 100% good).


I've been speaking with Parallels Support but so far no success.


The problem is it's not obvious where the issue lies:

Parallels

Winclone

Apple

Microsoft


In summary I have TWO linked problems:

(1) I used to be able to access the BootCamp Windows 7 using Parallels for Mac Version 9 but it cannot now

And I restored from very good backups.

It SHOULD be able to do it: I was able to before I ran GDisk (and I did my backups BEFORE I did GDisk).


(2) I would LIKE to be able to start-up in BootCamp.

That's my main goal.

But ever since Mavericks upgrade I've had problems.

Some that might be self-inflicted though: I was trying to get fancy and add a 2nd Windows partition (which I've removed now)

So maybe that's part of the reason I had BootCamp start-up issues.


What I have now:

- main SSD partitioned as per above maps

- TimeMachine backups of system before and after my GDisk disaster

- CarbonCopyClone backup of system after I restored it from damaging my Mac partition

- Winclone backups: about six different ones (I know at least 1 of them works for 100% (the earliest one)



Any ideas?


I'm willing to be adventurous and run GPT fdisk again: I'd REALLY like to get the better of this!


Alan Jarvis

Feb 4, 2014 2:28 PM in response to WarthogARJ

Aha!!!

I think I solved it.

I tried a few different WinClone copies of my BootCamp and I got one to work.

But there was some damage to Windows.

I think because Parallels tried to access Windows but the config files were wrong and it just hung.


So by dint of deleting the BootCamp patition and adding it again I managed to get a session that ran Windows enough to do a chkdsk.


User uploaded file

And now I can access Windows via Parallels.

I repaired it again with chkdsk /b and now I can access it OK.

I am now going to defrag it and back it up some more before I try to bootup into bootCamp from Startup.

I think I still have a dodgy partition scheme though: nothing has changed from the last time I ran gpt

gpt show: disk0: mediasize=960197124096; sectorsize=512; blocks=1875385008

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 1875385007

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

1699341608 1531680 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

1700873288 952

1700874240 174510080 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1875384320 655

1875384975 32 Sec GPT table

1875385007 1 Sec GPT header

The phrase "suspicious MBR" does not look good!!

Feb 4, 2014 2:56 PM in response to WarthogARJ

Can you post the output of sudo fdisk /dev/disk0?


In your previous post the 'id' column shows BF for the "*4" partition, but it should be '07' for Bootcamp to work.


Parallels may not care about fdisk, because it already has pointer to the NTFS partition which has bootcamp.


The "suspicious MBR" is expected because you have OSX and Bootcamp on the same disk. (You can read more about MBRs and GPTs here - http://www.rodsbooks.com/gdisk/hybrid.html )

Feb 4, 2014 3:04 PM in response to Loner T

Aha!

I did not know that.


Alans-MacBook-Pro:~ arjarvis_mbp$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 116737/255/63 [1875385008 sectors]

Signature: 0xAA55

Starting Ending

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

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

1: EE 0 0 2 - 25 127 14 [ 1 - 409639] <Unknown ID>

2: AF 25 127 15 - 1023 31 20 [ 409640 - 1698931968] HFS+

3: AB 1023 31 21 - 1023 118 44 [1699341608 - 1531680] Darwin Boot

*4: BF 1023 133 52 - 1023 70 5 [1700874240 - 174510080] <Unknown ID>

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.