rjmujica

Q: Bootcamp corrupted after Yosemite upgrade.

I haven't used the partition in a while and wanted to recover the hard drive space and make the macintosh disk one again.

However I encountered similar issues as Bootcamp gone haywire after Yosemite update. I treid following some of the other threads, but apparently and according to

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  1171875000      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

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

  1173554176    96283648        

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

  1465147392        1743        

  1465149135          32         Sec GPT table

  1465149167           1         Sec GPT header


and


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

00000000  27 38 8b 5e ef 5d d9 1b  fe db 77 bf 3d 8c b9 0e  |'8.^.]....w.=...|

00000010  39 f6 3f b9 0b d1 e2 fa  c0 fd a8 52 79 8a 2b 79  |9.?........Ry.+y|

00000020  4a a8 eb b6 52 5e a3 90  de 14 2e 91 3c 3b dd e5  |J...R^......<;..|

00000030  86 05 09 3e 86 5e 27 25  52 be 89 54 3b 82 17 b7  |...>.^'%R..T;...|

00000040  98 55 91 84 1f a2 cb 1f  b8 c0 c8 29 5a 88 05 d7  |.U.........)Z...|

00000050  3d 7c 5e c7 66 62 8c d7  9f f5 45 52 43 60 10 69  |=|^.fb....ERC`.i|

00000060  21 b4 68 03 b8 12 1e fb  65 8e ac e4 6c 7c 0f 26  |!.h.....e...l|.&|

00000070  a5 38 f2 f4 f6 bc 2d 57  85 69 e5 48 61 f2 92 58  |.8....-W.i.Ha..X|

00000080  6d 58 3d 31 d1 be 8f 54  b3 9d f9 fc 27 b2 b6 19  |mX=1...T....'...|

00000090  c5 6a 3d f0 9d 26 c2 ba  1a db 3c f6 40 8c ae 7d  |.j=..&....<.@..}|

000000a0  ba 8e 7a 5f 8a 2f 5a d7  6b 33 11 1b 35 e2 76 45  |..z_./Z.k3..5.vE|

000000b0  a1 80 bc d7 41 38 5a 31  fb 9d 94 fb b1 b2 ac 10  |....A8Z1........|

000000c0  41 51 8a cd 4b 09 48 6c  1b 59 56 01 69 1e 6a 08  |AQ..K.Hl.YV.i.j.|

000000d0  b9 ef 03 71 80 bc 81 9f  c0 f3 e8 5b 94 e9 37 d6  |...q.......[..7.|

000000e0  7c ea 97 50 f1 dc c1 e6  85 ca 76 ce fd a9 aa f4  ||..P......v.....|

000000f0  9a f7 46 f5 94 91 cb 23  80 2d de dd ba 5f 8c fb  |..F....#.-..._..|

00000100  cf 9b 90 e0 e9 b8 3a fa  83 53 75 84 c4 bb 5b 01  |......:..Su...[.|

00000110  e3 e1 88 51 df ab 52 54  0b 9d 5b 93 61 42 c5 1c  |...Q..RT..[.aB..|

00000120  a7 bd c2 8f ca eb f1 e3  a8 16 3f 3e a7 e1 49 1c  |..........?>..I.|

00000130  2a 69 04 62 3f f4 b8 59  3f 66 9e b1 a6 7f 64 9e  |*i.b?..Y?f....d.|

00000140  a8 c9 97 95 f9 53 5c 99  31 45 1d 60 98 46 18 d8  |.....S\.1E.`.F..|

00000150  c7 ad 8c d2 52 3a fc ec  82 ed b1 4d 62 1c 08 9e  |....R:.....Mb...|

00000160  0e 22 4d 13 c5 ad d3 43  ab c1 a3 f5 fe 41 a3 12  |."M....C.....A..|

00000170  68 e4 41 f4 10 51 a4 6f  80 1d a1 a3 ea d8 1b fe  |h.A..Q.o........|

00000180  86 34 0a ac 36 59 0b 8a  e1 90 9e 5a 2d 90 a9 04  |.4..6Y.....Z-...|

00000190  14 5a 94 99 09 7e e5 70  f5 70 46 aa c5 7a 11 57  |.Z...~.p.pF..z.W|

000001a0  45 be 8d 10 db 9e 0a 91  02 c2 b2 51 5b b4 45 09  |E..........Q[.E.|

000001b0  f9 44 95 8f c9 88 7c 49  0f a2 d9 5c 70 f6 66 14  |.D....|I...\p.f.|

000001c0  23 ab da 90 f9 57 94 0a  50 08 9e 76 8c cf d9 ca  |#....W..P..v....|

000001d0  91 63 2a 54 f5 9d 36 f2  99 c5 fb f6 70 89 71 0d  |.c*T..6.....p.q.|

000001e0  e4 d3 82 b4 59 7e c4 b7  5d fc 5e 75 51 17 8f 2d  |....Y~..].^uQ..-|

000001f0  3b a0 a3 ed 3d e8 07 60  a0 08 21 28 41 88 6d c9  |;...=..`..!(A.m.|

00000200


my problems are a bit different? I don't have an R.NTFS in the first line. I don't understand much about this, but all I want to do is add those gb back to my

OSX partition, I don't care for the data on windows. Can anybody help me?

MacBook Pro, OS X Yosemite (10.10.1)

Posted on Dec 20, 2014 3:06 PM

Close

Q: Bootcamp corrupted after Yosemite upgrade.

  • All replies
  • Helpful answers

  • by Loner T,

    Loner T Loner T Dec 20, 2014 4:55 PM in response to rjmujica
    Level 7 (24,344 points)
    Safari
    Dec 20, 2014 4:55 PM in response to rjmujica

    1. You will need to download Testdisk (http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step) and look for a lost NTFS partition between the gap that you have at GPT3 and GPT4.

     

    2. Once you find it, GPT Fdisk (http://sourceforge.net/projects/gptfdisk/) can be used to manipulate the GPT4 headers to get your BC/Windows working.

     

    3. Please see Bootcamp disk0s4 gone after Yosemite update as a reference for the  steps.

  • by stgtemp,

    stgtemp stgtemp Dec 20, 2014 6:07 PM in response to Loner T
    Level 1 (4 points)
    Dec 20, 2014 6:07 PM in response to Loner T

    Hello LonerT,

     

    Many, many compliments to you for your yeoman's assistance to the community regarding this issue!

     

    My question for you regarding a pending update from 10.9 to 10.10.  Does it make a difference that my BootCamp installation resides on a separate drive as opposed to a partition on the OSX drive?  I'm running 10.9.5 on an internal SSD and 8.1 on a separate internal SSD on a Mac Pro (4,1)

     

    Or should I wait for Apple to address this issue before upgrading?

     

    Merry Christmas!

  • by Loner T,Solvedanswer

    Loner T Loner T Dec 20, 2014 7:11 PM in response to stgtemp
    Level 7 (24,344 points)
    Safari
    Dec 20, 2014 7:11 PM in response to stgtemp

    stgtemp wrote:

     

    My question for you regarding a pending update from 10.9 to 10.10.  Does it make a difference that my BootCamp installation resides on a separate drive as opposed to a partition on the OSX drive?  I'm running 10.9.5 on an internal SSD and 8.1 on a separate internal SSD on a Mac Pro (4,1)

    You are in the safest configuration possible, due to physical separation of the two disks. A key factor which seems to impact most users is the use of resizing tools to BC/Windows partition, which usually results in an out-of-sync condition between two different disk partitioning models, aka GPT and MBR types. There is a very lucid and succinct explanation at http://www.rodsbooks.com/gdisk/hybrid.html .

     

    Apple's use of this Hybrid MBR (and a CSM-BIOS emulation layer) is a bit easier from a creation perspective, but is not amenable to resizing and Apple documents it as well. For example, from Boot Camp 5.1: Frequently asked questions - Apple Support

    Can I resize the Windows partition after installing Windows?

    No. Back up your important files, then use Boot Camp Assistant to delete the old partition and create a new one.

     

    Older Macs do not support a UEFI models, and Apple has used a pre-UEFI version, EFI 1.1, while W8+ is the first fully compliant UEFI Windows OS. W7 has some support, but the area of drivers has its challenges.

    Or should I wait for Apple to address this issue before upgrading?

    As longs as you have not tried to resize your Windows partition which is on the same drive as OSX, it is unlikely that you will run into an issue.

     

    You have another advantage. You can create a new installation of Yosemite on your OSX SSD, without any changes to your Windows side and test Yosemite to validate it for your specific needs. You do not need to rollback, as you can switch back to Mavericks, from the same disk. Windows remains untouched in this exercise.

     

    I suggest you keep Mavericks around. Please make backups of all your OSes and data, before you take a plunge into Yosemite.

     

    Merry Christmas!

    Yo! Ho! Ho! Merry Xmas and a Happy and Prosperous New Year to you and yours.

  • by rjmujica,

    rjmujica rjmujica Dec 20, 2014 8:13 PM in response to Loner T
    Level 1 (0 points)
    Dec 20, 2014 8:13 PM in response to Loner T

    Thank you very much! and happy holidays.

  • by Loner T,

    Loner T Loner T Dec 20, 2014 8:31 PM in response to rjmujica
    Level 7 (24,344 points)
    Safari
    Dec 20, 2014 8:31 PM in response to rjmujica

    rjmujica wrote:

     

    Thank you very much! and happy holidays.

    Is your Windows installation working now?