Andy TLW

Q: Bootcamp gone haywire after Yosemite update

Hello

 

I recently updated my Macbook Pro to OS X Yosemite 10.10, and as a result, my bootcamp (Windows 7, 64-Home edition) is now gone.

I have tried to follow many of the discussions posted already but non seem to have a clear solution to my issue. I ve had no problem with Bootcamp before with the Lion and Maverick updates, but this time my guess is that the problem probably lies in the fact that I re-sized my partitions using a window software.

 

Basically the current situation is my Bootcamp no longer appears when I press Alt on start-up. 

Upon checking my partition through Disk Utility, here is what I see:

Screen Shot 2014-10-20 at 3.15.39 PM.png

So you see that not only Bootcamp is now changed into disk0s4, there is also a gap of hard drive space that is not used by either Mac or Windows.


I have tried the sudo MBR method but I always encounter errors despite I followed word for word on other discussions. I think they likely have a slight different situation than mine? Here is a sample of my Diskutil List: (I saw a guy with a fifth item listed as Basic Data Bootcamp, but I don't have that line...)

diskutil list

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *750.2 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:          Apple_CoreStorage                         450.0 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

   4:       Microsoft Basic Data                         200.8 GB   disk0s4

/dev/disk1

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                  Apple_HFS Macintosh HD           *449.6 GB   disk1

                                 Logical Volume on disk0s2

                                 D642C513-A4DB-4E81-9E67-546F88021205

                                 Unlocked Encrypted

Thank you in advance for replies.

MacBook Pro, OS X Yosemite (10.10)

Posted on Oct 20, 2014 3:29 PM

Close

Q: Bootcamp gone haywire after Yosemite update

  • All replies
  • Helpful answers

first Previous Page 3 of 3
  • by Loner T,

    Loner T Loner T Oct 28, 2014 4:28 PM in response to Andy TLW
    Level 7 (23,613 points)
    Safari
    Oct 28, 2014 4:28 PM in response to Andy TLW

    Your second screen shot is the correct partition.

     

    Your screen shot is start/end/size 880586752/1465147384/584560633.

     

    This is your current GPT

     

    880585432   192353576       

    1072939008   392208384      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

    1465147392        1743       

  • by Andy TLW,

    Andy TLW Andy TLW Oct 28, 2014 4:46 PM in response to Loner T
    Level 1 (0 points)
    Oct 28, 2014 4:46 PM in response to Loner T

    Sounds good. so how do I go from here?

    Do I use this command?

    sudo gdisk /dev/disk0

    p

    d

    4

    n

    4

    880586752

    1465147384

    0700

    p

    w

    y

     

    ok think i got it. Doing it now.

  • by Loner T,Solvedanswer

    Loner T Loner T Oct 28, 2014 4:40 PM in response to Andy TLW
    Level 7 (23,613 points)
    Safari
    Oct 28, 2014 4:40 PM in response to Andy TLW

    Andy TLW wrote:

     

    Sounds good. so how do I go from here?

    Do I use this command? how do I input the correct numbers?

    sudo gdisk /dev/disk0

    p

    d

    4

    n

    4

    86923264 880586752

    538218489 1465147384

    0700

    p

    w

    y

     

    Please see the changes. Reboot after this. Run the dd command and make sure you can see "R.NTFS" in the first line.

     

    You should be able to see your Bootcamp volume and files in it.

     

    If that works, recreate your Hybrid MBR using the steps in the referenced link. Please post back here, if you have questions, or you want me to paste it here.

  • by Andy TLW,

    Andy TLW Andy TLW Oct 28, 2014 11:02 PM in response to Loner T
    Level 1 (0 points)
    Oct 28, 2014 11:02 PM in response to Loner T

    IT WORKED!

    THANK YOU VERY MUCH LONER!!!

     

    Ok just to give a summary of what I did.

    So first get Testdisk and GPT disk from internet.

    Then first use fdisk and Testdisk to find the codes.

    For me, the speed of even a quick search is that of 10 hours roughly that always ends up stuck.

    So I ended up doing a clean install for Yosemite. Then the Testdisk is quick as few minute to obtain the necessary codes for gdisk command.

     

    Then I just followed the gdisk command to correct the disk.

    Here are the gdisk steps and dd Command screenshots.

    Screen Shot 2014-10-28 at 5.10.29 PM.png

    Screen Shot 2014-10-28 at 5.13.20 PM.png

    Then reboot and test using Finder,UtilityDisk, and Startup Disk.

    Afterwards I used windows install CDs to repair the drive. And now Bootcamp is back on.

  • by Loner T,

    Loner T Loner T Oct 29, 2014 4:36 AM in response to Andy TLW
    Level 7 (23,613 points)
    Safari
    Oct 29, 2014 4:36 AM in response to Andy TLW

    Excellent Work. Good to see it work. Please ensure you can switch between OS X and Windows. Please make a backup of both OS X and Windows.

  • by Venia77,

    Venia77 Venia77 Nov 2, 2014 11:57 AM in response to Loner T
    Level 1 (0 points)
    Nov 2, 2014 11:57 AM in response to Loner T

    Loner, I think am having the same problem as Andy.

     

    Can you help me check if this is the case?

  • by Loner T,

    Loner T Loner T Nov 2, 2014 1:32 PM in response to Venia77
    Level 7 (23,613 points)
    Safari
    Nov 2, 2014 1:32 PM in response to Venia77

    Please post a new thread with the output of the commands at the beginning of this thread and post a reference to the new thread here.

  • by mdillon08,

    mdillon08 mdillon08 Nov 2, 2014 2:05 PM in response to Loner T
    Level 1 (0 points)
    Nov 2, 2014 2:05 PM in response to Loner T

    Loner I am new to the mac world and need help as well having same exact issues.  Can you assist as well what do I need to start a new thread?

  • by Venia77,

    Venia77 Venia77 Nov 2, 2014 2:16 PM in response to Loner T
    Level 1 (0 points)
    Nov 2, 2014 2:16 PM in response to Loner T
  • by pranag,

    pranag pranag Nov 29, 2015 7:53 AM in response to Loner T
    Level 1 (0 points)
    Nov 29, 2015 7:53 AM in response to Loner T

    Loner,

    I'm facing the same problem when I updated to OS X EI Capitan. Below is my setting

     

    prashanths-MacBook-Pro:meanHelloWorld pranag$ sudo gdisk /dev/disk0

    Password:

    Sorry, try again.

    Password:

    GPT fdisk (gdisk) version 1.0.1

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    NOTE: Write test failed with error number 1. It will be impossible to save

    changes to this disk's partition table!

    You may need to deactivate System Integrity Protection to use this program. See

    https://www.quora.com/How-do-I-turn-off-the-rootless-in-OS-X-El-Capitan-10-11

    for more information.

     

    Partition table scan:

      MBR: hybrid

      BSD: not present

      APM: not present

      GPT: present

     

    Found valid GPT with hybrid MBR; using GPT.

     

    Command (? for help): p

    Disk /dev/disk0: 976773168 sectors, 465.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 0000136E-5E53-0000-413D-0000E64A0000

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 976773134

    Partitions will be aligned on 8-sector boundaries

    Total free space is 195508533 sectors (93.2 GiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI system partition

       2          409640       291229631   138.7 GiB   AF05  Macintosh HD

       3       291229632       292499167   619.9 MiB   AB00  Recovery HD

       4       488007680       976773119   233.1 GiB   0700  BOOTCAMP

     

    Command (? for help): d

    Partition number (1-4): 4

     

    Command (? for help): n

    Partition number (4-128, default 4): 4


    what should be the numbers for n ?

    291229631?


    How do I proceed?


    Thanks


  • by Loner T,

    Loner T Loner T Nov 29, 2015 8:39 AM in response to pranag
    Level 7 (23,613 points)
    Safari
    Nov 29, 2015 8:39 AM in response to pranag

    Please start a new discussion and post the output of the GPT and Fdisk commands, and diskutil commands. Have you run Testdisk?

  • by pranag,

    pranag pranag Nov 29, 2015 9:07 AM in response to Loner T
    Level 1 (0 points)
    Nov 29, 2015 9:07 AM in response to Loner T

    I started a new discussion here..

    update to Capitan corrupted bootcamp

    Thanks

  • by Mark Petereit,

    Mark Petereit Mark Petereit May 27, 2016 7:48 AM in response to Loner T
    Level 1 (37 points)
    May 27, 2016 7:48 AM in response to Loner T

    Hey, Loner! Thank you SO much for all your help with this issue. Wish I had the time to learn more about this. I feel completely clueless!

     

    I'm having the same problem with my Windows partition not showing up after an OS X upgrade. Here's my diskutil list. Can you point me in the right direction?

    diskutil list /dev/disk0 (internal, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *751.3 GB   disk0    1:                        EFI EFI                     209.7 MB   disk0s1    2:          Apple_CoreStorage Macintosh HD            718.4 GB   disk0s2    3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3    4:       Microsoft Basic Data BOOTCAMP                32.0 GB    disk0s4 /dev/disk1 (internal, virtual):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:                  Apple_HFS Macintosh HD           +718.0 GB   disk1                                  Logical Volume on disk0s2                                  AB8475DA-8F76-4C7A-88B2-62722099E783                                  Unencrypted
    
  • by Loner T,

    Loner T Loner T May 27, 2016 6:58 PM in response to Mark Petereit
    Level 7 (23,613 points)
    Safari
    May 27, 2016 6:58 PM in response to Mark Petereit

    Can you start a new discussion? Your diskutil list output seems to be a single line. If you are more comfortable posting screen shots on the new discussion, please do so.

first Previous Page 3 of 3