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.

Boot camp lost after upgrading to Yosemite from mountain lion

User uploaded file

I lost my windows7 boot camp after I upgrade to Yosemite from mountain lion. When I press ALT when rebooting there is no more alternative to boot for window anymore. I did read some thread about this but my case is different since when I tried to type 3 steps(diskutil.......etc) 😕 as LonerT user answers it did not work. The attached files here are what I faced with. Please help. I have a lot of important files in windows

User uploaded fileUser uploaded fileUser uploaded file

MacBook Pro, OS X Yosemite (10.10), macbook pro

Posted on Nov 10, 2014 1:38 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 10, 2014 2:14 PM

You have also caught the Yosemite bug.


1. Please post the output of sudo fdisk /dev/disk0

2. Text output of commands is a bit more helpful than screen images for calculations.

3. The gap between GPT#3 and GPT#4 is where your lost NTFS header lies.

4. Please download Testdisk and GPT Fdisk. Let me know if you have the links or you need them.

82 replies

Jan 20, 2015 4:36 PM in response to Eugeniu_K

As noted earlier, these are the correct ones.


7. 722036736

8. +254734336


To avoid confusion, let me put all the steps here, just to be safe.



Rebuild GPT3 using start/end offsets

1. Sudo gdisk /dev/rdisk0
2. P (print the full list of parts)
3. D (delete)
4.

3 (part 3)

D (Delete)

4 (part 4)

5. N (new part)
6. 3 (part 3)
7. 722036736 - Start offset in bytes (start point for Bootcamp part)
8. +254734336 (Size offset as opposed to End offset)
9. 0700 (Windows part type)
10. P (print list of all parts just to see what changes will be made)
11. W (Write the new GPT)
12. Y (Yes! really write the new GPT)

This will delete and re-write the GPT partition info for /dev/disk0s3.

Jan 20, 2015 4:53 PM in response to Loner T

Loner T wrote:


Please continue. After Reboot, please post the output of


sudo dd if=/dev/rdisk0s3 count=1 2>/dev/null | hexdump -C



Last login: Wed Jan 21 02:49:23 on console

100:~ timonpumba$ sudo dd if=/dev/rdisk0s3 count=1 2>/dev/null | hexdump -C

Password:

00000000 86 80 33 cb 08 fe 05 dc 05 fa a9 2a a3 3c 2d 06 |..3........*.<-.|

00000010 17 80 7e 3d c2 2f 8c f2 90 0c 5e 76 5c f0 35 70 |..~=./....^v\.5p|

00000020 89 54 c1 ef c0 27 36 09 f6 74 c3 fd 74 8b e0 f2 |.T...'6..t..t...|

00000030 e0 69 d0 b7 02 7b 81 bd c1 6d 57 09 fe 19 fc 12 |.i...{...mW.....|

00000040 c7 cf 03 77 da 2a f8 0f 70 14 ec cf b9 89 f8 e7 |...w.*..p.......|

00000050 44 fc 9f 40 3f 18 7a 0f 77 94 0f 70 15 70 40 3b |D..@?.z.w..p.p@;|

00000060 51 fe da 83 1f b6 11 1c 01 be d6 4c f0 6c f0 49 |Q..........L.l.I|

00000070 e8 b7 81 b3 77 14 7c 05 dc a9 bd e0 37 e0 cd 7d |....w.|.....7..}|

00000080 04 e7 f3 10 3c 04 5c 0b fc c5 d7 82 db 81 cf 23 |....<.\........#|

00000090 3c 5f f0 3d e8 47 81 8f 40 1f 0d 6e db 55 f0 5a |<_.=.G..@..n.U.Z|

000000a0 70 f9 5e 82 4f 80 57 41 ff 00 ec f5 0d fa 23 d9 |p.^.O.WA......#.|

000000b0 51 5e 3b 0b ce 0f be d0 5b 70 5d f0 54 84 d7 03 |Q^;.....[p].T...|

000000c0 fc 0d ec 83 c1 23 3a e1 7e 03 fe bd b8 48 df c5 |.....#:.~....H..|

000000d0 e0 43 a5 50 5f c0 1f ca 08 3e 0b ae 56 4e 70 26 |.C.P_....>..VNp&|

000000e0 b8 73 3a fa 77 39 04 5f 7a 20 b8 09 38 f4 28 da |.s:.w9._z ..8.(.|

000000f0 57 70 15 f0 4f e0 38 f0 52 b0 74 41 c4 6f 1f 78 |Wp..O.8.R.tA.o.x|

00000100 ce 06 a1 7f 00 fe 09 e5 39 5b 4e 94 4f 9c ff 0b |........9[N.O...|

00000110 f0 6a 70 1b f0 85 c7 82 7d c1 0f d1 7e 44 82 f3 |.jp.....}...~D..|

00000120 9c 46 ff 11 5c 37 a7 e8 0f 6f 03 97 75 13 7c 09 |.F..\7...o..u.|.|

00000130 dc f8 2d f2 c3 13 e5 f5 89 e0 72 e0 63 af 05 b7 |..-.......r.c...|

00000140 05 7f 0d fb 00 f0 c4 4c 94 07 70 d7 37 82 b7 82 |.......L..p.7...|

00000150 fb 95 17 f1 bb 00 8e ce 2b f8 31 38 38 1f ea 6b |........+.188..k|

00000160 2e a4 77 9a e0 6a e0 be ff a0 7e 80 63 c1 fe e0 |..w..j....~.c...|

00000170 33 79 c4 f5 44 81 5f 7d 2b 78 05 78 30 f8 20 d8 |3y..D._}+x.x0. .|

00000180 ad 1f ea 0b 38 ed be 38 df 5b b0 82 f4 ce 9b 5b |....8..8.[.....[|

00000190 70 c6 4e c1 b5 c1 2d cb a1 3f 0c 1e f0 27 d2 03 |p.N...-..?...'..|

000001a0 dc 1b f5 2b 0a 5c b5 81 38 ff 1a f0 d6 4d 42 7f |...+.\..8....MB.|

000001b0 14 bc c4 49 e8 af 83 3f 95 15 fc 11 9c b3 9c e0 |...I...?........|

000001c0 b2 79 70 ff 3e 25 8e 6f 01 de 8c e3 fb 81 0f 82 |.yp.>%.o........|

000001d0 7f 04 2f a9 80 f6 0b fc 1a bc 07 5c 09 f1 bf 01 |../........\....|

000001e0 5e 8f f0 ad 79 31 1e 42 7b 55 0a bc 15 dc 1c 7c |^...y1.B{U.....||

000001f0 0c ec 0d 0e 38 2f 78 1a 38 2c 41 f0 72 f0 5d 94 |....8/x.8,A.r.].|

00000200

100:~ timonpumba$


Boot camp lost after upgrading to Yosemite from mountain lion

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