peduu00

Q: Bootcamp partition disappeared after yosemite installation

I installed yosemite yesterday, and now i wanted to play a game i had in the bootcamp partiton and it doesnt exist. The disk utility shows a disk0s4 partiton but it isnt mounted. Whwn i turn on my mac i press alt and it just appears a partition "machintosh HD"

Please Help!!


THANKS!

MacBook Pro (Retina, 13-inch, Late 2013), OS X Yosemite (10.10)

Posted on Nov 8, 2014 5:07 AM

Close

Q: Bootcamp partition disappeared after yosemite installation

  • All replies
  • Helpful answers

  • by Loner T,

    Loner T Loner T Nov 8, 2014 5:29 AM in response to peduu00
    Level 7 (24,202 points)
    Safari
    Nov 8, 2014 5:29 AM in response to peduu00

    You have been bitten by the Yosemite bug.

     

    Please post the output of the following commands from OSX Terminal

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo fdisk /dev/disk0

  • by peduu00,

    peduu00 peduu00 Nov 8, 2014 6:08 AM in response to Loner T
    Level 1 (0 points)
    Nov 8, 2014 6:08 AM in response to Loner T

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *121.3 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage                         70.6 GB    disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:       Microsoft Basic Data                         30.0 GB    disk0s4

    /dev/disk1

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS Macintosh HD           *70.2 GB    disk1

                                     Logical Volume on disk0s2

                                     FE7490CE-709F-45C7-B087-AC01BB222DA4

                                     Unlocked Encrypted

    MacBook-Pro-~ xxxxxxxx$ diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 79BF7626-124E-4B9C-988F-D35FBFDD17AA

        =========================================================

        Name:         Macintosh HD

        Status:       Online

        Size:         70604771328 B (70.6 GB)

        Free Space:   6246400 B (6.2 MB)

        |

        +-< Physical Volume B4F6661D-2AAF-47D7-8E7F-9E5B63F5D740

        |   ----------------------------------------------------

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     70604771328 B (70.6 GB)

        |

        +-> Logical Volume Family 671E6D18-DE7E-4E86-82FF-D5BB30481B38

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

            Encryption Status:       Unlocked

            Encryption Type:         AES-XTS

            Conversion Status:       Complete

            Conversion Direction:    -none-

            Has Encrypted Extents:   Yes

            Fully Secure:            Yes

            Passphrase Required:     Yes

            |

            +-> Logical Volume FE7490CE-709F-45C7-B087-AC01BB222DA4

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

                Disk:                  disk1

                Status:                Online

                Size (Total):          70246203392 B (70.2 GB)

                Conversion Progress:   -none-

                Revertible:            Yes (unlock and decryption required)

                LV Name:               Macintosh HD

                Volume Name:           Macintosh HD

                Content Hint:          Apple_HFS

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

    Password:

    gpt show: /dev/disk0: mediasize=121332826112; sectorsize=512; blocks=236978176

    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 236978175

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

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

      139579120   38805776        

      178384896   58591232      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      236976128       2015        

      236978143         32         Sec GPT table

      236978175          1         Sec GPT header

    MacBook-Pro-:~ xxxxxxxx$ sudo fdisk /dev/disk0

    Disk: /dev/disk0 geometry: 14751/255/63 [236978176 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: AC 1023 254  63 - 1023 254  63 [    409640 -  137899944] <Unknown ID>

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

    4: 0C 1023 254  63 - 1023 254  63 [ 178384896 -   58591232] Win95 FAT32L

  • by Loner T,

    Loner T Loner T Nov 8, 2014 6:17 AM in response to peduu00
    Level 7 (24,202 points)
    Safari
    Nov 8, 2014 6:17 AM in response to peduu00

    You are a lucky one. The gap between GPT#3 and GPT#4 is most likely where the NTFS header resides.

     

    I have been using Yosemite Upgrade Broke Bootcamp as reference for others. You will need to download Testdisk and GPT Fdisk (Gdisk) and start with Testdisk to look for deleted NTFS partition headers.

  • by peduu00,

    peduu00 peduu00 Nov 8, 2014 6:21 AM in response to Loner T
    Level 1 (0 points)
    Nov 8, 2014 6:21 AM in response to Loner T

    I already have testdisk and gdisk so what do i need to do now?

  • by Loner T,

    Loner T Loner T Nov 8, 2014 1:04 PM in response to peduu00
    Level 7 (24,202 points)
    Safari
    Nov 8, 2014 1:04 PM in response to peduu00

    Start testdisk with sudo testdisk /dev/rdisk0 and look for missing NTFS partitions (which will show up as MS Data).

     

    Please see http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step#A_partition_is_still_missin g:_Deeper_Search for a guide.

  • by peduu00,

    peduu00 peduu00 Nov 9, 2014 6:31 AM in response to Loner T
    Level 1 (0 points)
    Nov 9, 2014 6:31 AM in response to Loner T

    Quick search?

  • by Loner T,

    Loner T Loner T Nov 9, 2014 6:33 AM in response to peduu00
    Level 7 (24,202 points)
    Safari
    Nov 9, 2014 6:33 AM in response to peduu00

    Yes, start with Quick Search.