marielordorica

Q: Can't find Bootcamp partition after installing Yosemite

So here is my new thread regarding to a question I asked to user Loner T: I've been reading some of your posts about the bootcamp problem after upgrading to Yosemite, but I couldn't figure my problem cause it wasn't the same as the one I was reading. This is what my Disk Utility shows after I followed your instructions, could you please help me? Thanks!

 

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

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

  1067278336   397869056      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

  1465147392        1743        

  1465149135          32         Sec GPT table

  1465149167           1         Sec GPT header

MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$

MacBook Pro, OS X Yosemite (10.10.1)

Posted on Dec 21, 2014 9:45 PM

Close

Q: Can't find Bootcamp partition after installing Yosemite

  • All replies
  • Helpful answers

Previous Page 2 of 4 last Next
  • by Loner T,

    Loner T Loner T Jan 3, 2015 8:55 PM in response to marielordorica
    Level 7 (24,855 points)
    Safari
    Jan 3, 2015 8:55 PM in response to marielordorica

    Do not use left/right arrow/cursor keys. Scroll up/down to each MS Data entry and use 'P' to list files.

     

    This is what it should look like.

     

    Testdisk-GoodWindowsPartition.png

  • by marielordorica,

    marielordorica marielordorica Jan 3, 2015 10:36 PM in response to Loner T
    Level 1 (0 points)
    Jan 3, 2015 10:36 PM in response to Loner T

    I found it! Now what?

    Screen Shot 2015-01-04 at 0.35.54.png

  • by Loner T,

    Loner T Loner T Jan 3, 2015 11:18 PM in response to marielordorica
    Level 7 (24,855 points)
    Safari
    Jan 3, 2015 11:18 PM in response to marielordorica

    The triplet you have is a start/end/size triplet. You need to fill it where Start and Size are specified below. If you see any error messages, please stop and post back.

     

    You need to use the following steps. If you see any error messages during the following steps, please stop and post back here with the error message. The following steps have values from your Testdisk output (and you can verify) in Steps 7 and 8.

     

    Rebuild GPT4 using start/end offsets

     

    Sudo gdisk /dev/rdisk0

    P  (print the full list of parts)

    D  (delete)

    4  (part 4)

    N  (new part)

    4   (part 4)

    Start offset in bytes  (start point for Bootcamp part)

    +Size (Size offset as opposed to End offset)

    0700     (Windows part type)

    P           (print list of all parts just to see what changes will be made)

    W         (Write the new GPT)

    Y           (Yes! really write the new GPT)

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

     

    Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR. Use defaults for other questions (like partition codes).

    Sudo gdisk /dev/disk0

    P  (Print list of parts)

    R   (Recover)

    H (chooses Hybrid)

    Partitions numbers to be hybridized: 2 3 4

    Y (Good for GRUB question)

    N (part 2 boot flag)

    N (part 3 boot flag)

    Y  (part 4 boot flag make NTFS bootable partition)

    W  (Write the new MBR)

    Y    (Yes! write the new MBR)

    Reboot

     

    Test 1 - Does Bootcamp Volume show up in Finder?

    Test 2 - Can you see files in Bootcamp Volume?

    Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?

    Test 4 - If Test 3 is successful, select Bootcamp and Click Restart

     

    If you see a hanging underline cursor at the top left on a black screen, and it does not proceed further, you may need Windows Startup Repair or a tool called EasyBCD.

  • by marielordorica,

    marielordorica marielordorica Jan 3, 2015 11:30 PM in response to Loner T
    Level 1 (0 points)
    Jan 3, 2015 11:30 PM in response to Loner T

    So after I found the System Volume Information, what's the next key i should press to start this new process you've told me? Do I quit, copy or hide? Or do I just ignore and start from zero with these commands you've written?

  • by Loner T,

    Loner T Loner T Jan 4, 2015 9:16 AM in response to marielordorica
    Level 7 (24,855 points)
    Safari
    Jan 4, 2015 9:16 AM in response to marielordorica

    Leave the Testdisk window as is.  Start a new terminal window for Gdisk commands.

  • by marielordorica,

    marielordorica marielordorica Jan 4, 2015 11:54 AM in response to Loner T
    Level 1 (0 points)
    Jan 4, 2015 11:54 AM in response to Loner T

    Should I open a new window from Terminal "with same command" or  "with Settings - Basic", because I opened it with the second option and entered "Sudo gdisk /dev/rdisk0" and the command is not found.

     

    Last login: Sun Jan  4 13:47:59 on ttys000

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ Sudo gdisk /dev/rdisk0

    Password:

    Sudo: gdisk: command not found

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$

  • by Loner T,

    Loner T Loner T Jan 4, 2015 7:15 PM in response to marielordorica
    Level 7 (24,855 points)
    Safari
    Jan 4, 2015 7:15 PM in response to marielordorica

    Did you install Gdisk? From Terminal try

     

    what gdisk

  • by marielordorica,Helpful

    marielordorica marielordorica Jan 4, 2015 7:40 PM in response to Loner T
    Level 1 (0 points)
    Jan 4, 2015 7:40 PM in response to Loner T

    How do I install Gdisk? I'm sorry to be such a pain, I'm trying my best, thank you for your patience!Screen Shot 2015-01-04 at 21.39.00.png

  • by Loner T,Helpful

    Loner T Loner T Jan 4, 2015 8:59 PM in response to marielordorica
    Level 7 (24,855 points)
    Safari
    Jan 4, 2015 8:59 PM in response to marielordorica

    Search for GPT Fdisk on sourceforge.net. Download it and install it.

     

    http://sourceforge.net/projects/gptfdisk/

  • by marielordorica,

    marielordorica marielordorica Jan 4, 2015 10:07 PM in response to Loner T
    Level 1 (0 points)
    Jan 4, 2015 10:07 PM in response to Loner T

    Thanks. Ok, so I entered the steps you listed above, but when I typed "4" for the second time, this appeared, am I on the right track? Where do I type "

    Start offset in bytes  (start point for Bootcamp part)

    +Size (Size offset as opposed to End offset)" I didn't get that. Thank you!

     

     

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ Sudo gdisk /dev/rdisk0

    Password:

    GPT fdisk (gdisk) version 0.8.10

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    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/rdisk0: 1465149168 sectors, 698.6 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 00001E09-3131-0000-3E6A-0000FC0E0000

    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 1749 sectors (874.5 KiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI system partition

       2          409640      1066008799   508.1 GiB   AF05  Macintosh HD

       3      1066008800      1067278335   619.9 MiB   AB00  Recovery HD

       4      1067278336      1465147391   189.7 GiB   0700  Untitled

     

    Command (? for help): d

    b back up GPT data to a file

    c change a partition's name

    d delete a partition

    i show detailed information on a partition

    l list known partition types

    n add a new partition

    o create a new empty GUID partition table (GPT)

    p print the partition table

    q quit without saving changes

    r recovery and transformation options (experts only)

    s sort partitions

    t change a partition's type code

    v verify disk

    w write table to disk and exit

    x extra functionality (experts only)

    ? print this menu

     

    Command (? for help): 4

    b back up GPT data to a file

    c change a partition's name

    d delete a partition

    i show detailed information on a partition

    l list known partition types

    n add a new partition

    o create a new empty GUID partition table (GPT)

    p print the partition table

    q quit without saving changes

    r recovery and transformation options (experts only)

    s sort partitions

    t change a partition's type code

    v verify disk

    w write table to disk and exit

    x extra functionality (experts only)

    ? print this menu

     

    Command (? for help): n

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

    Value out of range

    Partition number (5-128, default 5):

  • by Loner T,

    Loner T Loner T Jan 4, 2015 11:16 PM in response to marielordorica
    Level 7 (24,855 points)
    Safari
    Jan 4, 2015 11:16 PM in response to marielordorica

    Your 'd' command did not work. It does not look correct.

  • by marielordorica,

    marielordorica marielordorica Jan 6, 2015 9:57 PM in response to Loner T
    Level 1 (0 points)
    Jan 6, 2015 9:57 PM in response to Loner T

    I don't understand the start and size part i think i didn't do it correctly.

     

     

     

    Last login: Sun Jan  4 13:51:48 on ttys002

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ gdisk

    GPT fdisk (gdisk) version 0.8.10

     

    Type device filename, or press <Enter> to exit:  

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ what gdisk

    gdisk: No such file or directory

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ Sudo gdisk /dev/rdisk0

    Password:

    GPT fdisk (gdisk) version 0.8.10

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    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/rdisk0: 1465149168 sectors, 698.6 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 00001E09-3131-0000-3E6A-0000FC0E0000

    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 1749 sectors (874.5 KiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI system partition

       2          409640      1066008799   508.1 GiB   AF05  Macintosh HD

       3      1066008800      1067278335   619.9 MiB   AB00  Recovery HD

       4      1067278336      1465147391   189.7 GiB   0700  Untitled

     

    Command (? for help): d

    b back up GPT data to a file

    c change a partition's name

    d delete a partition

    i show detailed information on a partition

    l list known partition types

    n add a new partition

    o create a new empty GUID partition table (GPT)

    p print the partition table

    q quit without saving changes

    r recovery and transformation options (experts only)

    s sort partitions

    t change a partition's type code

    v verify disk

    w write table to disk and exit

    x extra functionality (experts only)

    ? print this menu

     

    Command (? for help): 4

    b back up GPT data to a file

    c change a partition's name

    d delete a partition

    i show detailed information on a partition

    l list known partition types

    n add a new partition

    o create a new empty GUID partition table (GPT)

    p print the partition table

    q quit without saving changes

    r recovery and transformation options (experts only)

    s sort partitions

    t change a partition's type code

    v verify disk

    w write table to disk and exit

    x extra functionality (experts only)

    ? print this menu

     

    Command (? for help): n

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

    Value out of range

    Partition number (5-128, default 5):

      [Restored]

    Last login: Tue Jan  6 23:41:46 on console

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ Sudo gdisk /dev/rdisk0

    Password:

    GPT fdisk (gdisk) version 0.8.10

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    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/rdisk0: 1465149168 sectors, 698.6 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 00001E09-3131-0000-3E6A-0000FC0E0000

    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 1749 sectors (874.5 KiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI system partition

       2          409640      1066008799   508.1 GiB   AF05  Macintosh HD

       3      1066008800      1067278335   619.9 MiB   AB00  Recovery HD

       4      1067278336      1465147391   189.7 GiB   0700  Untitled

     

    Command (? for help): d

    Partition number (1-4): 4

     

    Command (? for help): n

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

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: start

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: +size

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: 0700

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: p

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}:

  • by Loner T,

    Loner T Loner T Jan 7, 2015 9:13 PM in response to marielordorica
    Level 7 (24,855 points)
    Safari
    Jan 7, 2015 9:13 PM in response to marielordorica

    marielordorica wrote:

     

    I don't understand the start and size part i think i didn't do it correctly.

     

     

     

    Last login: Sun Jan  4 13:51:48 on ttys002

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ gdisk

    GPT fdisk (gdisk) version 0.8.10

     

    Type device filename, or press <Enter> to exit: 

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ what gdisk

    gdisk: No such file or directory

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ Sudo gdisk /dev/rdisk0

    Password:

    GPT fdisk (gdisk) version 0.8.10

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    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/rdisk0: 1465149168 sectors, 698.6 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 00001E09-3131-0000-3E6A-0000FC0E0000

    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 1749 sectors (874.5 KiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI system partition

       2          409640      1066008799   508.1 GiB   AF05  Macintosh HD

       3      1066008800      1067278335   619.9 MiB   AB00  Recovery HD

       4      1067278336      1465147391   189.7 GiB   0700  Untitled

     

    Command (? for help): d

    b back up GPT data to a file

    c change a partition's name

    d delete a partition

    i show detailed information on a partition

    l list known partition types

    n add a new partition

    o create a new empty GUID partition table (GPT)

    p print the partition table

    q quit without saving changes

    r recovery and transformation options (experts only)

    s sort partitions

    t change a partition's type code

    v verify disk

    w write table to disk and exit

    x extra functionality (experts only)

    ? print this menu

     

    Command (? for help): 4

    b back up GPT data to a file

    c change a partition's name

    d delete a partition

    i show detailed information on a partition

    l list known partition types

    n add a new partition

    o create a new empty GUID partition table (GPT)

    p print the partition table

    q quit without saving changes

    r recovery and transformation options (experts only)

    s sort partitions

    t change a partition's type code

    v verify disk

    w write table to disk and exit

    x extra functionality (experts only)

    ? print this menu

     

    Command (? for help): n

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

    Value out of range

    Partition number (5-128, default 5):

      [Restored]

    Last login: Tue Jan  6 23:41:46 on console

    MacBook-Pro-de-Mariel-Ordorica:~ marielordorica$ Sudo gdisk /dev/rdisk0

    Password:

    GPT fdisk (gdisk) version 0.8.10

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    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/rdisk0: 1465149168 sectors, 698.6 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 00001E09-3131-0000-3E6A-0000FC0E0000

    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 1749 sectors (874.5 KiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI system partition

       2          409640      1066008799   508.1 GiB   AF05  Macintosh HD

       3      1066008800      1067278335   619.9 MiB   AB00  Recovery HD

       4      1067278336      1465147391   189.7 GiB   0700  Untitled

     

    Command (? for help): d

    Partition number (1-4): 4

     

    Command (? for help): n

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

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: start

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: +size

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: 0700

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: p

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}:

     

    It should be

     

    Rebuild GPT4 using start/end offsets

     

    Sudo gdisk /dev/rdisk0

    P  (print the full list of parts)

    D  (delete)

    4  (part 4)

    N  (new part)

    4   (part 4)

    1067220992 (start point for Bootcamp part)

    +397924352 (Size offset as opposed to End offset)

    0700     (Windows part type)

    P           (print list of all parts just to see what changes will be made)

    W         (Write the new GPT)

    Y           (Yes! really write the new GPT)

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

  • by marielordorica,

    marielordorica marielordorica Jan 8, 2015 10:28 AM in response to Loner T
    Level 1 (0 points)
    Jan 8, 2015 10:28 AM in response to Loner T

    I typed the numbers you told me but I don't know if the system is accepting them, is this right? I don't know if i should proceed.

     

     

     

    Command (? for help): d

    Partition number (1-4): 4

     

    Command (? for help): n

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

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: 1067220992

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}: 1067220992

    First sector (34-1465149134, default = 1067278336) or {+-}size{KMGTP}:

    Last sector (1067278336-1465149134, default = 1465149134) or {+-}size{KMGTP}: +397924352

    Last sector (1067278336-1465149134, default = 1465149134) or {+-}size{KMGTP}:

    Current type is 'Apple HFS/HFS+'

    Hex code or GUID (L to show codes, Enter = AF00):

  • by Loner T,

    Loner T Loner T Jan 8, 2015 11:00 AM in response to marielordorica
    Level 7 (24,855 points)
    Safari
    Jan 8, 2015 11:00 AM in response to marielordorica

    Your NTFS partition is partially sitting in your Mac Recovery HD. Notice the negative sector offset in the following table.

     

    GPT 3 StartGPT 3 SizeGPT 3 EndNTFS StartSector OffsetNTFS SizeNTFS End
    1066008800126953610672783361067220992-573443979243521465145344

     

    This means Gdisk will not let you use the start number you found because it will create an overlapping partition with GPT 3 (Recovery HD).

     

    You will need also need to delete GPT 3 (d,3), the same way you have deleted GPT 4 (d, 4), first, before you can use this to rebuild the Hybrid MBR. Your Hybrid MBR will only have two entries GPT 2 and GPT 3.

     

    To get Recovery HD back, you will need to re-install OSX after you recover your Windows installation. I suggest you make a backup of your Windows and OSX installation after the disk steps.

     

    The new steps will be

     

    Rebuild GPT 3 and 4 using start/end offsets

     

    Sudo gdisk /dev/rdisk0

    P  (print the full list of parts)

    D  (delete)

    4  (part 4)

    D (delete)

    3 (part 3 - Recovery HD)

    N  (new part)

    3   (part 3 - there is no Recovery HD anymore)

    1067220992 (start point for Bootcamp part)

    +397924352 (Size offset as opposed to End offset)

    0700     (Windows part type)

    P           (print list of all parts just to see what changes will be made)

    W         (Write the new GPT)

    Y           (Yes! really write the new GPT)

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

Previous Page 2 of 4 last Next