kentonfromdenton

Q: Missing Bootcamp Partition After Mavericks Update

MacBook Pro, OS X Mavericks (10.9.1)

Posted on Sep 22, 2014 5:46 AM

Close

Q: Missing Bootcamp Partition After Mavericks Update

  • All replies
  • Helpful answers

Previous Page 2
  • by kentonfromdenton,

    kentonfromdenton kentonfromdenton Sep 22, 2014 10:40 AM in response to Loner T
    Level 1 (0 points)
    Sep 22, 2014 10:40 AM in response to Loner T

    It still looks corrupted:

     

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

    Password:

    00000000  b0 45 86 df 49 90 1e b1  47 20 96 de 2c 07 5b 63  |.E..I...G ..,.[c|

    00000010  82 ce c1 49 db 66 cd 05  97 27 bf f2 cc 25 a4 0f  |...I.f...'...%..|

    00000020  f7 de fc 1f 1f 9c 11 12  67 60 74 23 b6 fd a4 55  |........g`t#...U|

    00000030  c9 26 18 e9 74 ad 1d 90  4d 63 c4 67 17 62 1a e0  |.&..t...Mc.g.b..|

    00000040  84 63 0e 68 0a 6f 0a ff  0b 71 79 96 54 7e fc bb  |.c.h.o...qy.T~..|

    00000050  21 67 4e d2 94 f8 cc 86  e2 90 7a a9 e5 6e ff 15  |!gN.......z..n..|

    00000060  be 34 9c 8a 9f f4 5d b8  d2 17 1b f1 a7 7d 03 f9  |.4....]......}..|

    00000070  d0 34 32 0b a2 58 4d a9  74 1d ab bb 55 6b ef d4  |.42..XM.t...Uk..|

    00000080  eb c4 e4 eb e1 41 da 24  ae 24 17 d8 72 bf cb c7  |.....A.$.$..r...|

    00000090  d3 53 6f 1b f1 93 aa a8  47 46 8f 4d 7a 20 83 75  |.So.....GF.Mz .u|

    000000a0  e6 6d d2 53 2b a5 6c 6f  e9 f1 0e 88 28 12 2d ff  |.m.S+.lo....(.-.|

    000000b0  12 71 05 88 af 5d 53 23  64 76 b6 fe b2 78 93 82  |.q...]S#dv...x..|

    000000c0  ac 15 db 0a 65 34 5f 34  35 a6 23 82 7e 01 cc a3  |....e4_45.#.~...|

    000000d0  cb b3 6d 21 93 f7 76 05  7e d0 f6 89 10 82 f7 01  |..m!..v.~.......|

    000000e0  2c 26 77 de a1 6e 73 da  a1 17 5d 2d 43 fc 47 71  |,&w..ns...]-C.Gq|

    000000f0  ce 72 9a bc c3 52 73 a5  d4 b0 64 09 c5 36 29 6b  |.r...Rs...d..6)k|

    00000100  2b c3 9f 57 df 25 55 c5  df 03 ec 50 53 31 02 c4  |+..W.%U....PS1..|

    00000110  da 6d fe c5 25 2b 54 ca  e3 b5 6c 98 a6 0c 7e 7a  |.m..%+T...l...~z|

    00000120  8d 3c 3e 6d e6 b1 c6 88  98 cc f4 77 87 62 c4 d5  |.<>m.......w.b..|

    00000130  f3 b6 3d 5b b9 15 ad 8e  3f 47 c1 55 68 ca 8f c5  |..=[....?G.Uh...|

    00000140  70 91 ee af 0e c9 6e 43  f1 3a e9 f2 4a 6a fd 1e  |p.....nC.:..Jj..|

    00000150  09 77 d3 03 f9 22 ab bd  a5 f5 83 96 e6 0c 4f a7  |.w..."........O.|

    00000160  87 36 20 eb 1c a4 93 b5  7f 13 f8 ff 07 7c c1 d8  |.6 ..........|..|

    00000170  3b d3 91 e5 b2 c9 87 1f  d5 85 65 b6 58 ee b3 c2  |;.........e.X...|

    00000180  29 09 14 93 4a f2 2f 04  f1 86 d0 7b c2 8e 77 63  |)...J./....{..wc|

    00000190  c4 a6 f5 01 a5 d6 73 91  94 07 75 d7 f7 69 45 df  |......s...u..iE.|

    000001a0  32 11 ff 45 5c 66 20 3a  35 5a 6e 0c 58 55 f1 ae  |2..E\f :5Zn.XU..|

    000001b0  1e c0 b9 02 df 66 65 7b  c6 8a d9 e5 0d 35 47 6d  |.....fe{.....5Gm|

    000001c0  24 b6 d3 4e 24 9f be 5e  48 31 25 78 9d fd 0b f7  |$..N$..^H1%x....|

    000001d0  f5 c2 1b 04 61 2a cc 9c  d0 e2 be eb 5c 65 21 7d  |....a*......\e!}|

    000001e0  06 c7 79 1e 55 eb 56 e2  e4 89 6c bc bc 1d e0 9f  |..y.U.V...l.....|

    000001f0  29 16 bf d8 4f 86 5a 10  df 88 d4 f3 cb 72 8c c3  |)...O.Z......r..|

    00000200

  • by Loner T,

    Loner T Loner T Sep 22, 2014 10:49 AM in response to kentonfromdenton
    Level 7 (24,601 points)
    Safari
    Sep 22, 2014 10:49 AM in response to kentonfromdenton

    This does not look like the start of your NTFS volume at all. It looks the same as the previous dump.

     

    What is at these locations?

     

    4 P MS Data               1269837824 1465147391  195309568 [BOOTCAMP]

    4 P MS Data               1269837824 1465147391  195309568 [BOOTCAMP]

     

    3 P Mac Boot              1075084336 1076353871    1269536 [Recovery HD]


    D MS Data                687562760 1076355072  388792313

  • by kentonfromdenton,

    kentonfromdenton kentonfromdenton Sep 22, 2014 10:57 AM in response to Loner T
    Level 1 (0 points)
    Sep 22, 2014 10:57 AM in response to Loner T

    Disk /dev/disk0 - 750 GB / 698 GiB - 1465149168 sectors (RO)

    Current partition structure:

         Partition                  Start        End    Size in sectors

     

    1 P EFI System                    40     409639     409600 [EFI system partitio

    2 P Mac HFS                   409640 1075084335 1074674696 [Customer]

    3 P Mac Boot              1075084336 1076353871    1269536 [Recovery HD]

    No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker

    4 P MS Data               1269837824 1465147391  195309568 [BOOTCAMP]

    4 P MS Data               1269837824 1465147391  195309568 [BOOTCAMP]

     

     

    >P EFI System                    40     409639     409600 [EFI]

    D Mac HFS                   409640 1075084335 1074674696

    D MS Data                687562760 1076355072  388792313

    D Mac HFS               1075084336 1076353871    1269536

    D MS Data               1076355072 1465147384  388792313

    D MS Data               1076355079 1465147391  388792313

    D Mac HFS               1463879592 1465149127    1269536

     

    Did gdisk not take?

  • by Loner T,

    Loner T Loner T Sep 22, 2014 11:18 AM in response to kentonfromdenton
    Level 7 (24,601 points)
    Safari
    Sep 22, 2014 11:18 AM in response to kentonfromdenton

    If you post the output of sudo gpt -vv -r show /dev/disk0 it can be checked.

     

    This is Testdisk output which is just looking for any partition headers. GPT would show if it actually was corrected.

  • by kentonfromdenton,

    kentonfromdenton kentonfromdenton Sep 22, 2014 11:22 AM in response to Loner T
    Level 1 (0 points)
    Sep 22, 2014 11:22 AM in response to Loner T

    Results:

     

    gpt show: /dev/disk0: mediasize=750156374016; sectorsize=512; blocks=1465149168

    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 1465149167

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

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

      1076353872   193483952        

      1269837824   195309568      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      1465147392        1743        

      1465149135          32         Sec GPT table

      1465149167           1         Sec GPT header

  • by Loner T,

    Loner T Loner T Sep 22, 2014 11:55 AM in response to kentonfromdenton
    Level 7 (24,601 points)
    Safari
    Sep 22, 2014 11:55 AM in response to kentonfromdenton

    This entry

     

    MS Data 1076355072 1465147384  388792313

     

    does not match

     

    1076353872   193483952    

      1269837824   195309568      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

     

    You will need to delete the current GPT#4 entry and  re-add it with the correct start/size.

     

    After the new GPT#4 is in place, run the dd command again to verify NTFS headers.

  • by kentonfromdenton,

    kentonfromdenton kentonfromdenton Sep 22, 2014 12:17 PM in response to Loner T
    Level 1 (0 points)
    Sep 22, 2014 12:17 PM in response to Loner T

    I went through gdisk and deleted GPT 4 and recreated the new partition.  Here are the results:

     

    Command (? for help): i

    Partition number (1-4): 4

    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)

    Partition unique GUID: 0995434D-76F6-4396-9856-59BFE981DE38

    First sector: 1076355072 (at 513.2 GiB)

    Last sector: 1465147384 (at 698.6 GiB)

    Partition size: 388792313 sectors (185.4 GiB)

    Attribute flags: 0000000000000000

    Partition name: 'Microsoft basic data'

     

    Command (? for help): p

    Disk /dev/disk0: 1465149168 sectors, 698.6 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 00005C68-619F-0000-D655-00000D170000

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 1465149134

    Partitions will be aligned on 8-sector boundaries

    Total free space is 2956 sectors (1.4 MiB)

     

    Number  Start (sector)    End (sector)  Size       Code  Name

       1              40          409639   200.0 MiB   EF00  EFI system partition

       2          409640      1075084335   512.4 GiB   AF00  Customer

       3      1075084336      1076353871   619.9 MiB   AB00  Recovery HD

       4      1076355072      1465147384   185.4 GiB   0700  Microsoft basic data

     

    However, The headers are still the same and running dd looks like nothing changed:

     

    dd:

     

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

    00000000  b0 45 86 df 49 90 1e b1  47 20 96 de 2c 07 5b 63  |.E..I...G ..,.[c|

    00000010  82 ce c1 49 db 66 cd 05  97 27 bf f2 cc 25 a4 0f  |...I.f...'...%..|

    00000020  f7 de fc 1f 1f 9c 11 12  67 60 74 23 b6 fd a4 55  |........g`t#...U|

    00000030  c9 26 18 e9 74 ad 1d 90  4d 63 c4 67 17 62 1a e0  |.&..t...Mc.g.b..|

    00000040  84 63 0e 68 0a 6f 0a ff  0b 71 79 96 54 7e fc bb  |.c.h.o...qy.T~..|

    00000050  21 67 4e d2 94 f8 cc 86  e2 90 7a a9 e5 6e ff 15  |!gN.......z..n..|

    00000060  be 34 9c 8a 9f f4 5d b8  d2 17 1b f1 a7 7d 03 f9  |.4....]......}..|

    00000070  d0 34 32 0b a2 58 4d a9  74 1d ab bb 55 6b ef d4  |.42..XM.t...Uk..|

    00000080  eb c4 e4 eb e1 41 da 24  ae 24 17 d8 72 bf cb c7  |.....A.$.$..r...|

    00000090  d3 53 6f 1b f1 93 aa a8  47 46 8f 4d 7a 20 83 75  |.So.....GF.Mz .u|

    000000a0  e6 6d d2 53 2b a5 6c 6f  e9 f1 0e 88 28 12 2d ff  |.m.S+.lo....(.-.|

    000000b0  12 71 05 88 af 5d 53 23  64 76 b6 fe b2 78 93 82  |.q...]S#dv...x..|

    000000c0  ac 15 db 0a 65 34 5f 34  35 a6 23 82 7e 01 cc a3  |....e4_45.#.~...|

    000000d0  cb b3 6d 21 93 f7 76 05  7e d0 f6 89 10 82 f7 01  |..m!..v.~.......|

    000000e0  2c 26 77 de a1 6e 73 da  a1 17 5d 2d 43 fc 47 71  |,&w..ns...]-C.Gq|

    000000f0  ce 72 9a bc c3 52 73 a5  d4 b0 64 09 c5 36 29 6b  |.r...Rs...d..6)k|

    00000100  2b c3 9f 57 df 25 55 c5  df 03 ec 50 53 31 02 c4  |+..W.%U....PS1..|

    00000110  da 6d fe c5 25 2b 54 ca  e3 b5 6c 98 a6 0c 7e 7a  |.m..%+T...l...~z|

    00000120  8d 3c 3e 6d e6 b1 c6 88  98 cc f4 77 87 62 c4 d5  |.<>m.......w.b..|

    00000130  f3 b6 3d 5b b9 15 ad 8e  3f 47 c1 55 68 ca 8f c5  |..=[....?G.Uh...|

    00000140  70 91 ee af 0e c9 6e 43  f1 3a e9 f2 4a 6a fd 1e  |p.....nC.:..Jj..|

    00000150  09 77 d3 03 f9 22 ab bd  a5 f5 83 96 e6 0c 4f a7  |.w..."........O.|

    00000160  87 36 20 eb 1c a4 93 b5  7f 13 f8 ff 07 7c c1 d8  |.6 ..........|..|

    00000170  3b d3 91 e5 b2 c9 87 1f  d5 85 65 b6 58 ee b3 c2  |;.........e.X...|

    00000180  29 09 14 93 4a f2 2f 04  f1 86 d0 7b c2 8e 77 63  |)...J./....{..wc|

    00000190  c4 a6 f5 01 a5 d6 73 91  94 07 75 d7 f7 69 45 df  |......s...u..iE.|

    000001a0  32 11 ff 45 5c 66 20 3a  35 5a 6e 0c 58 55 f1 ae  |2..E\f :5Zn.XU..|

    000001b0  1e c0 b9 02 df 66 65 7b  c6 8a d9 e5 0d 35 47 6d  |.....fe{.....5Gm|

    000001c0  24 b6 d3 4e 24 9f be 5e  48 31 25 78 9d fd 0b f7  |$..N$..^H1%x....|

    000001d0  f5 c2 1b 04 61 2a cc 9c  d0 e2 be eb 5c 65 21 7d  |....a*......\e!}|

    000001e0  06 c7 79 1e 55 eb 56 e2  e4 89 6c bc bc 1d e0 9f  |..y.U.V...l.....|

    000001f0  29 16 bf d8 4f 86 5a 10  df 88 d4 f3 cb 72 8c c3  |)...O.Z......r..|

    00000200

     

    Kentons-MacBook-Pro:~ Kenton$ sudo gpt -vv -r show /dev/disk0

    gpt show: /dev/disk0: mediasize=750156374016; sectorsize=512; blocks=1465149168

    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 1465149167

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

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

      1076353872   193483952        

      1269837824   195309568      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      1465147392        1743        

      1465149135          32         Sec GPT table

      1465149167           1         Sec GPT header

     

    What am I doing wrong?

  • by Loner T,Helpful

    Loner T Loner T Sep 22, 2014 12:27 PM in response to kentonfromdenton
    Level 7 (24,601 points)
    Safari
    Sep 22, 2014 12:27 PM in response to kentonfromdenton

    Please delete GPT# 4 via gdisk. I assume you are doing "w" and "y" and rebooting in Gdisk, and rebooting.

     

    Do not add GPT#4 and reboot. Let us check GPT output after the reboot before a new GPT#4 is recreated.

  • by kentonfromdenton,

    kentonfromdenton kentonfromdenton Sep 22, 2014 1:56 PM in response to Loner T
    Level 1 (0 points)
    Sep 22, 2014 1:56 PM in response to Loner T

    The issue was that I did not confirm adding the partition with "w" then "y".

     

    I am happily writing this reply on my Windows side of bootcamp.  You are a genius!  Thank you so much for your help! 

     

    - kenton

  • by Loner T,

    Loner T Loner T Sep 22, 2014 2:02 PM in response to kentonfromdenton
    Level 7 (24,601 points)
    Safari
    Sep 22, 2014 2:02 PM in response to kentonfromdenton

    Excellent. .

     

    Please re-install OS X if you do not see a Recovery HD in diskutil list, otherwise OS X recovery will need to be done via an Internet Recovery.

Previous Page 2