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

Mar 14, 2013 5:01 PM in response to Christopher Murphy

Well. I for sure do not know.


I tried

sudo gpt -r show disk0


gpt show: disk0: 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 269273912 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

269683552 262144

269945696 1269536 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

271215232 29293952

300509184 189724672 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

490233856 863

490234719 32 Sec GPT table

490234751 1 Sec GPT header


Is there any other way to get at the free space?

Mar 17, 2013 6:43 AM in response to Christopher Murphy

@ Christopher Morphy: I had the exact same problem as the original poster, and followed your instructions carefully (Additional Info: Before following your instructions, I updated the 03/15 Update from the App Store). It seemed to work, as I was able to boot up to Windows 7 again. But when I tried starting my machine ('10 Mac Mini) today, it wouldn't get past the white screen.


After nothing helped, I took the HDD out of my Mac and formatted it via USB case, put it back in and made everything ready for reinstall. But it doesn't get past the white screen yet again!!


I must have messed something up with your instruction, or it interfered with the new update. Did all this tweaking not happen on the HDD, but somewhere else on the hardware? How can I reset everything in order to get my Mini working again?

Mar 17, 2013 10:13 AM in response to zoidb_1221

Hang that early in the boot process is probably firmware related. I'd guess that NVRAM is pointing to the old Windows volume for booting, but since you formatted the drive, it's no longer there. However, a reformat doesn't get rid of a small bit of Windows related boot code in the first 440 bytes of the first sector. So to get rid of that:


sudo dd if=/dev/zero of=/dev/diskX bs=440 count=1


X is the number of the drive, found with diskutil list. It's important to get count=1 before you hit return or it'll start zeroing your hard drive without question.


Another option is to zap the PRAM which clears entries in NVRAM, or you can selectively delete entries using the nvram command, man nvram for more info.

Mar 17, 2013 10:50 AM in response to Christopher Murphy

@ Christopher Murphy: That sounds like a plan, but how exactly can I use commands, if the computer doesn't boot at all? Are you talking about putting the HDD into my USB case again, or is it also possible to access it via FW800 or Ethernet from another Mac while still in the Mini?


There has to be some way of accessing the Mini's hardware, because otherwise I would never be able to clean the NVRAM, would I?

Mar 17, 2013 1:27 PM in response to zoidb_1221

This isn't a Boot Camp problem anymore, I think you need to post in the Mac Mini forum. You need to get the hardware to boot off chosen media. Holding either the eject button on the keyboard or the mouse button on a mouse should eject the disk in the drive. And short of a hardware issue I've never heard of a Mac that doesn't respond to zapping the PRAM.

Mar 17, 2013 1:56 PM in response to Christopher Murphy

Oh boy.


But as I said in my first post, the whole problem must have sth to do with your advice from page 1. Either I messed sth up, or the whole thing interfered with the March 15th software update (careful, people!). I don't expect you to know exactly what to do now, and this might not be the appropriate place, but:


Your advice tweaked data that is stored in PRAM as well as on the hard drive, right? Physically restoring both should solve all this?

Where is the problem likely to be located? EFI or GPU?

Mar 17, 2013 2:11 PM in response to zoidb_1221

But as I said in my first post, the whole problem must have sth to do with your advice from page 1.


That advice wasn't for you. It was for one particular person with a particular problem. It doesn't inherently work for everyone who thinks their problem is exactly same, which often turns out it isn't exactly the same. If you had a disk with five partitions, and Windows was installed on the fifth partition, then that advice would work. But even if that's not true you'd still be able to zap PRAM, you'd still get a boot menu holding down the option key at startup, you'd still be able to boot OS X off an install DVD in the computer when holding either option or c. That you can'd do any of these things implicates your keyboard, or your USB hub, or your computer. Nothing on the disk or NVRAM has even been read at this point, it's as if your keyboard is being ignored.


Your advice tweaked data that is stored in PRAM as well as on the hard drive, right?


No. It changes nothing in NVRAM or the GPT. It only copies info from GPT entry 5, to MBR entry 2. It wouldn't prevent OS X from booting, let alone prevent PRAM from being zapped, let alone prevent booting from DVD.


Physically restoring both should solve all this?


Zapping the PRAM restores the NVRAM, and is a function of the firmware. It wouldn't matter how badly the drive or NVRAM are misconfigured, zapping PRAM should always work.


Where is the problem likely to be located? EFI or GPU?


I can't possibly answer these.

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.