Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Boot Camp partition not bootable after update

Hi All, hi Loner T!


After an OSX update I lost my Boot Camp partition. Reading you replies here on the forum, i was able to save my important files through testdisk, for what i'm really thankful! Following your instructions in this thread (Bootcamp disk0s4 gone after Yosemite update) the bootcamp partition finally appeared in finder and disk utility.

But sudo gdisk /dev/disk0 returns with this:

Kovacs-Peter-Attilas-MacBook-Pro:~ kovacspeterattila$ Sudo gdisk /dev/disk0

Password:

GPT fdisk (gdisk) version 1.0.0


Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: present


Found valid GPT with protective MBR; using GPT.


Command (? for help):


So if it is able i would avoid reinstalling windows, and all the applications with your help. I saw many people asking you about this case, so i hope you may can help me as well.


Thank you!

MacBook Pro, OS X Yosemite (10.10.3)

Posted on Apr 17, 2015 11:49 AM

Reply
11 replies

Apr 17, 2015 1:04 PM in response to Loner T

Last login: Fri Apr 17 20:46:33 on ttys000

Kovacs-Peter-Attilas-MacBook-Pro:~ kovacspeterattila$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *250.1 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 149.2 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data BOOTCAMP 100.0 GB disk0s4

Kovacs-Peter-Attilas-MacBook-Pro:~ kovacspeterattila$ diskutil cs list

No CoreStorage logical volume groups found

Kovacs-Peter-Attilas-MacBook-Pro:~ kovacspeterattila$ sudo gpt -vv -r show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=250059350016; sectorsize=512; blocks=488397168

gpt show: /dev/disk0: PMBR at sector 0

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

gpt show: /dev/disk0: Sec GPT at sector 488397167

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

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

293085424 1808

293087232 195309561 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

488396793 342

488397135 32 Sec GPT table

488397167 1 Sec GPT header

Kovacs-Peter-Attilas-MacBook-Pro:~ kovacspeterattila$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 30401/255/63 [488397168 sectors]

Signature: 0xAA55

Starting Ending

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

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

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

Kovacs-Peter-Attilas-MacBook-Pro:~ kovacspeterattila$

Apr 17, 2015 2:19 PM in response to Loner T

Hi LonerT, I too have lost the ability to boot into windows/bootcamp - only Mac & recovery are displayed at startup.

Below are my results for the same set of instructions.

What does it indicate?

Thank you!


Hils-MacBook-Pro-2:~ king_hil$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 175.0 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data 50.0 GB disk0s4

Hils-MacBook-Pro-2:~ king_hil$ diskutil cs list

No CoreStorage logical volume groups found

Hils-MacBook-Pro-2:~ king_hil$ sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752

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 490234751

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

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

343476048 49103024

392579072 97654784 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

490233856 863

490234719 32 Sec GPT table

490234751 1 Sec GPT header

Hils-MacBook-Pro-2:~ king_hil$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 30515/255/63 [490234752 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 - 341796872] HFS+

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

4: 0C 1023 254 63 - 1023 254 63 [ 392579072 - 97654784] Win95 FAT32L


I added:


Hils-MacBook-Pro-2:~ king_hil$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 30515/255/63 [490234752 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 - 341796872] HFS+

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

4: 0C 1023 254 63 - 1023 254 63 [ 392579072 - 97654784] Win95 FAT32L

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

00000000 be b7 90 5b dc 2d 75 3f bc f2 56 7b d7 ee 87 19 |...[.-u?..V{....|

00000010 b9 cd de 96 1f af c7 a9 ef 83 eb 21 fa 90 7e a2 |...........!..~.|

00000020 31 1a 9c e9 c3 ea c9 78 78 3f 02 1f 31 0f 54 90 |1......xx?..1.T.|

00000030 26 4d d9 a3 e1 a9 7f f4 f7 0f 65 e6 1e 6b fb c1 |&M........e..k..|

00000040 a6 13 bf 5e 52 89 ef 07 a5 d8 4b 32 86 93 94 09 |...^R.....K2....|

00000050 db 49 d6 84 6f 7f 51 54 fc a4 70 22 7b a2 78 a2 |.I..o.QT..p"{.x.|

00000060 76 52 b3 1f 62 68 62 72 d2 b6 17 7e be 8b d7 ff |vR..bhbr...~....|

00000070 c5 df 3b 5a f8 4b 71 2f 38 c3 4e 36 6f e6 cb f7 |..;Z.Kq/8.N6o...|

00000080 15 f2 8a 7f a5 bd e5 bd a3 aa 79 b5 bc 3a 5e 03 |..........y..:^.|

00000090 af f1 d7 c2 db 3e 1d 4e df a9 ef 14 d7 94 e0 74 |.....>.N.......t|

000000a0 3d 85 62 4a 71 4a 7b ca 70 ca 6c 9a be 17 2c bb |=.bJqJ{.p.l...,.|

000000b0 3f 29 17 31 95 30 2d ec 1d a9 92 a9 da 69 cd 54 |?).1.0-......i.T|

000000c0 c7 b4 69 6a 6c 6a 7e 6a b5 77 24 57 a7 ff 8c c0 |..ijlj~j.w$W....|

000000d0 2c 78 16 31 a3 32 a3 33 83 72 c6 62 2f 28 8f 59 |,x.1.2.3.r.b/(.Y|

000000e0 de 4c c4 ac 60 26 7d 26 0f d2 a2 69 9b 35 ce 8c |.L..`&}&...i.5..|

000000f0 cd 2c 60 24 64 31 c7 d1 49 64 1e 3a 27 3b a7 3c |.,`$d1..Id.:';.<|

00000100 a7 35 67 38 4f e9 e4 3e e7 3f 17 bd 0f 2e 7d ae |.5g8O..>.?....}.|

00000110 60 ae 7c ae b1 57 64 fa e7 c6 e6 e6 1d 2d bc 3a |`.|..Wd......-.:|

00000120 57 0b dc 0b 62 db 21 51 0b ea 0b 7a f6 39 2f f8 |W...b.!Q...z.9/.|

00000130 ee 83 89 5d 14 2e 64 2e 14 2f d4 2d 6a 17 ba 17 |...]..d../.-j...|

00000140 cd 0b d3 0b cb 0b db cb f1 d2 69 40 5f d0 18 89 |..........i@_...|

00000150 25 b9 65 cc 92 c1 92 f9 92 e3 92 d7 52 d0 52 cc |%.e.........R.R.|

00000160 56 bc 6c 29 bf 53 f3 52 d7 d2 48 a7 c5 a5 9d d5 |V.l).S.R..H.....|

00000170 bb c2 be 22 b0 22 b5 8a 5a c5 ac 62 57 50 ae 52 |..."."..Z..bWP.R|

00000180 57 ec 57 dc 56 b9 2b 91 2b 29 ab b2 95 c2 95 aa |W.W.V.+.+)......|

00000190 55 cd 4a f7 ca c8 ca dc ca 9a cf d0 67 e6 e3 8f |U.J.........g...|

000001a0 ea 2a 27 0a ee 46 b1 61 5e 78 22 f7 c6 13 31 c7 |.*'..F.a^x"...1.|

000001b0 96 f3 f5 12 be 81 2d eb 55 a5 aa 37 a0 4d 1f d6 |......-.U..7.M..|

000001c0 58 f6 76 3a f3 0e 80 3c ab db a3 1a eb cd 64 6f |X.v:...<......do|

000001d0 18 d7 5d e7 a2 37 ef b2 7b 53 aa b1 37 6f 86 bf |..]..7..{S..7o..|

000001e0 a4 de de 3b ce aa b7 72 62 bd a8 53 ed ad 78 72 |...;...rb..S..xr|

000001f0 4f 6a f6 be b8 f8 cd 13 79 3d 99 9a cd 0b b4 bd |Oj......y=......|

00000200

Apr 17, 2015 3:02 PM in response to Loner T

I am in the process of getting Bootcamp and WIN 7 on my iMAC 21.5 (late 2010). Should I upgrade to Yosemite first? I am hesitating with Yosemite due to the bad reviews for PHOTO - I have 30K photos and don't want to loose them - I see complaints of that. So I was going to keep Mavericks and iPhoto and go with Bootcamp & my licenced WIN 7

Apr 17, 2015 3:03 PM in response to Loner T

Here it is:

Last login: Fri Apr 17 22:49:53 on ttys000

Kovacs-Peter-Attilas-MacBook-Pro:~ kovacspeterattila$ 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 28 78 11 |........?....(x.|

00000020 00 00 00 00 80 00 80 00 f8 2f a4 0b 00 00 00 00 |........./......|

00000030 ed 02 00 00 00 00 00 00 ec 02 00 00 00 00 00 00 |................|

00000040 f6 00 00 00 01 00 00 00 e0 d7 e0 cf 71 35 d0 01 |............q5..|

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

Kovacs-Peter-Attilas-MacBook-Pro:~ kovacspeterattila$

Boot Camp partition not bootable after update

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