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 upgrading to Mavericks: Jarvis

Hi,

I cannot boot up into BootCamp after I upgraded to Mavericks: problem has been with me for about a year.

MacBook Pro 13: mid-2012

Mavericks 10.9.5

960 GB SSD: Mac OS etc and BootCamp partitions

1 TB HDD in the optical bay slot: HDD (data) and HDD2 for personal encrypted data.


BootCamp runs on Windows 7 Ultimate.


I am able to access the BootCamp partition with Parallel's Desktop.

But I want to be able to boot into it as well (like I used to in Lion).

Would really appreciate help from Chris Murphy or LonerT on this.


I've been following your thread:

Repairing Boot Camp after creating new partition


The output from the various Terminal commands are:

Last login: Tue Sep 23 20:25:52 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

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_HFS Mac_HDD 954.1 GB disk1s2

3: Apple_CoreStorage 45.6 GB disk1s3

4: Apple_Boot Boot OS X 134.2 MB disk1s4

/dev/disk2

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Mac_HDD 2 *45.3 GB disk2

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

Password:

Disk: /dev/disk0 geometry: 116737/255/63 [1875385008 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 - 1698931968] HFS+

3: AB 1023 254 63 - 1023 254 63 [1699341608 - 1531680] Darwin Boot

4: 0C 1023 254 63 - 1023 254 63 [1700874240 - 174510080] Win95 FAT32L

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

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

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

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/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


Thanks very much,


Alan Jarvis

MacBook Pro (13-inch Mid 2012), OS X Mavericks (10.9.5), BootCamp Windows 7 Ultimate

Posted on Sep 23, 2014 12:48 PM

Reply
86 replies

Sep 23, 2014 1:04 PM in response to WarthogARJ

If you can


1. See the Bootcamp Volume in Finder, and,

2. Access your files the Bootcamp volume, and,

3. The NTFS header is intact (Parallels being able to use it is an excellent indicator of that), then you are in good shape.


The following procedure fixes the MBR and marks Bootcamp (Partition 4) as bootable.


Assuming your MBR entry (#4) is correct.


sudo fdisk -e /dev/disk0

p

setpid 4

07

flag 4

w

y



Reboot and test. Verify that you can select Bootcamp in System Preferences -> Startup Disk.

Sep 23, 2014 5:20 PM in response to WarthogARJ

Hi Loner T,

Mixed success.

I did the Terminal commands, and I now see a BootCamp option in Preferences/Startup.

Yee haa.


I rebooted and held Option key.

Got a choice of Mac OSX, Windows or Recovery: before I diode not see Windows.


However when I selected Windows it just hangs.

Have to hold the PowerOff.


I boot up into Mac OSX and then can still access BootCamp via Parallels.

I run a chkdesk /b in case as well and it goes OK too.


So my situation is a bit better than before: I can SEE BootCamp now on boot up but it won't boot up into Windows.

However it does OK in Parallels.


The record of my Terminal commands is as follows:

Last login: Tue Sep 23 20:27:47 on ttys000

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

Password:

fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

Enter 'help' for information

fdisk: 1> p

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

Offset: 0 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 - 1698931968] HFS+

3: AB 1023 254 63 - 1023 254 63 [1699341608 - 1531680] Darwin Boot

4: 0C 1023 254 63 - 1023 254 63 [1700874240 - 174510080] Win95 FAT32L

fdisk: 1> setpid 4

Starting Ending

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

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

4: 0C 1023 254 63 - 1023 254 63 [1700874240 - 174510080] Win95 FAT32L

Partition id ('0' to disable) [0 - FF]: [C] (? for help) 07

fdisk:*1> flag 4

Partition 4 marked active.

fdisk:*1> w

Device could not be accessed exclusively.

A reboot will be needed for changes to take effect. OK? [n] y

Writing MBR at offset 0.

fdisk: 1>


Then I tried booting into Windows BootCamp as I said.


Newest fdisk etc output is below:

Last login: Wed Sep 24 01:04:57 on console

Alans-MacBook-Pro:~ arjarvis_mbp$ sudo gpt -vv -r show /dev/disk0

Password:

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

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

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/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-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 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>

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

3: AB 1023 254 63 - 1023 254 63 [1699341608 - 1531680] Darwin Boot

*4: 07 1023 254 63 - 1023 254 63 [1700874240 - 174510080] HPFS/QNX/AUX

Alans-MacBook-Pro:~ 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

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_HFS Mac_HDD 954.1 GB disk1s2

3: Apple_CoreStorage 45.6 GB disk1s3

4: Apple_Boot Boot OS X 134.2 MB disk1s4

/dev/disk2

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Mac_HDD 2 *45.3 GB disk2

Alans-MacBook-Pro:~ arjarvis_mbp$



Any ideas what to try next?


Thanks very much.

Alan

Sep 23, 2014 5:46 PM in response to Loner T

Howzit,

Dang, ANOTHER quick reply.


Yes I think I did resize it.

It started out on a Macbook 2008, then went to 2012, which got run over by a big truck (fell off my motorbike...don't ask).

So I then gave Apple some more $$$ (or at that point ££££) and got its sister.

Had good backup, but at some point I am pretty sure I changed the size of the partition.

As well as upgraded thru various OS.


Here goes:

Last login: Wed Sep 24 01:07:13 on ttys000

Alans-MacBook-Pro:~ arjarvis_mbp$ sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C

Password:

00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|

00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 48 61 65 |........?....Hae|

00000020 00 00 00 00 80 00 80 00 f8 cf 66 0a 00 00 00 00 |..........f.....|

00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|

00000040 f6 00 00 00 01 00 00 00 ad dc 48 3e 48 1f 93 c1 |..........H>H...|

00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|

00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|

00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|

00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|

00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|

000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|

000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|

000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|

000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|

000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|

000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|

00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|

00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|

00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|

00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|

00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|

00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|

00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|

00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|

00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |

00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |

000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|

000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|

000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|

000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|

000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|

000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|

00000200

Alans-MacBook-Pro:~ arjarvis_mbp$

Sep 24, 2014 2:06 AM in response to Loner T

OK: thanks.

I'll try that.


My Mac encounter with Mr. Mack Truck happened as I was returning from a garage that upgraded the firmware in my motorbike's ignition control. I was logging the real time sensors and recording to my laptop, which was in my pannier box. When I stopped for petrol, I saw the USB cable trailing.

Hmmm....not good.

Especially since the MacBook that WAS attached to it was NOT also trailing.

I had neglected to fasten on the pannier securely after I removed it for the dyno session at the garage.

Retraced my steps (30km), saw something that LOOKED like a pannier lid on the side of the highway (incidentally one of the UK's busiest).

Yup.

A FLAT lid.

And an even flatter MacBook case in the ditch a few 100 metres further.

Can even SEE the tire imprints on it.

So that fancy case is not THAT strong...😮


Am happy for good backup.

Sep 24, 2014 8:33 AM in response to Loner T

Hi,

Sorry to ask a very basic question, but I'm struggling to make a bootable USB stick.

I have a Windows 7 DVD iso that I've used in the past to make new engines for Parallels, so I know it works.


I've either been struggling to make a bootable USB, or else maybe I HAVE done it, but I'm not booting up BootCamp with it properly.

I made it using the BootCamp Assistant, I selected:

- Create a Windows 7 or later version install disk

- Download the latest Windows support software from Apple

It make a USB stick about 4 GB.


But I have not been able to find a way to boot from it.

Maybe it's no good, or I am not doing it right.


In the meantime, I ran Windows System filechecker and it reported no errors: "Windows Resource Protection did not find any integrity violations"

I used this link:

http://support.microsoft.com/kb/929833/en-us


But I am trying to do what you suggested and run the instructions on:

http://support.microsoft.com/kb/927392


Ideas?

Thanks,

Alan

Sep 24, 2014 12:03 PM in response to WarthogARJ

Parallels allows you to change the settings. Have you tried http://kb.parallels.com/en/121107 this?


I use Disk Utility to create a boot USB, not Bootcamp Assistant. It does not provide the Windows RE correctly, as that is what you need.


In Disk Utility, format your USB to MSDOS-FAT. Click on Restore. Please ensure that the ISO is the source and the USB is the destination. If you choose anything else, you can lose data. Please be extra careful.


Once you have the USB created. go to System Preferences and select your Bootcamp partition (not the USB) as your boot device. Click restart. Once the black screen comes, if it asks you to press any key to boot from CD/DVD (or its USB equivalent), press the space bar. You should be able to Repair your startup.

Sep 24, 2014 2:40 PM in response to Loner T

Well I got out of the endless loop, and my BootCamp windows runs OK under Parallels.


I'm NOW having huge hassles just making the bootable USB.

Incredible.

I've done it before, but now I'm having problems.

Current one is: "Restore Failure Could not validate source - invalid argument".


I see on various forums this is a common error.

I tried all the fixes and I still get it.

Sigh.

Where's a good Mack Truck when you need to discipline your computer????

Repairing Boot Camp after upgrading to Mavericks: Jarvis

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