Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

OSX bootcamp not showing on Option key boot up

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage 420.2 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data 60.0 GB disk0s4

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD *419.9 GB disk1

Logical Volume on disk0s2

6915A221-C321-47AD-83EF-79E02DF42F5A

Unlocked Encrypted

Zacharys-Macbook-Pro:~ Zachary$ diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group A28D87B8-FB2F-4E5A-9873-B4D7C3EB37E3

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

Name: Macintosh HD

Status: Online

Size: 420230041600 B (420.2 GB)

Free Space: 18976768 B (19.0 MB)

|

+-< Physical Volume 17BC8AC6-8DED-4215-994B-0000742E20D3

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

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 420230041600 B (420.2 GB)

|

+-> Logical Volume Family BE71DED9-2FF9-4466-AEA4-68583F077C74

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

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 6915A221-C321-47AD-83EF-79E02DF42F5A

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

Disk: disk1

Status: Online

Size (Total): 419858743296 B (419.9 GB)

Conversion Progress: -none-

Revertible: Yes (unlock and decryption required)

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

Zacharys-Macbook-Pro:~ Zachary$ sudo gpt -vv -r show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060

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 977105059

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

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

822440976 37477360

859918336 117186560 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

977104896 131

977105027 32 Sec GPT table

977105059 1 Sec GPT header

Zacharys-Macbook-Pro:~ Zachary$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 60821/255/63 [977105060 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 - 820761800] <Unknown ID>

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

4: 0C 1023 254 63 - 1023 254 63 [ 859918336 - 117186560] Win95 FAT32L

MacBook Pro with Retina display, OS X Mountain Lion (10.8.4)

Posted on Mar 20, 2015 7:03 PM

Reply
Question marked as Best reply

Posted on Mar 20, 2015 7:13 PM

Please download Testdisk (http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step) and GPT Fdisk (http://sourceforge.net/projects/gptfdisk/). Run Testdisk and use the UI flow https://imgur.com/a/PjmnK to look for missing NTFS header in the following gap.


822440976 37477360
34 replies

Mar 27, 2015 1:24 PM in response to hornbymanzpc

Here is table that I use for validation. Please read the two Gdisk command sequences. If you have any questions, please ask, before you proceed.


GPT 3 StartGPT 3 SizeGPT 3 EndNTFS StartSector OffsetNTFS SizeNTFS End
82117144012695368224409768224419841008154662905

977104889


Leave your Testdisk display and start a new Terminal Window. Please 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


  1. Sudo gdisk /dev/rdisk0
  2. P (print the full list of parts)
  3. D (delete)
  4. 4 (part 4)
  5. N (new part)
  6. 4 (part 4)
  7. 822441984 - Start offset in bytes (start point for Bootcamp part)
  8. +154662905 - (Size offset as opposed to End offset)
  9. 0700 (Windows part type)
  10. P (print list of all parts just to see what changes will be made)
  11. W (Write the new GPT)
  12. 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). The only values that need modifications are the Boot flags and step 6. Accept all other defaults that Gdisk offers.

  1. Sudo gdisk /dev/disk0
  2. P (Print list of parts)
  3. R (Recover)
  4. H (chooses Hybrid)
  5. Partitions numbers to be hybridized: 2 3 4
  6. Y (Good for GRUB question)
  7. N (part 2 boot flag)
  8. N (part 3 boot flag)
  9. Y (part 4 boot flag make NTFS bootable partition)
  10. W (Write the new MBR)
  11. Y (Yes! write the new MBR)
  12. Reboot


Here is an example Q&A session with Gdisk.

Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y


Creating entry for GPT partition #2 (MBR partition #2)

Enter an MBR hex code (default AF): Press Enter/Return

Set the bootable flag? (Y/N): N


Creating entry for GPT partition #3 (MBR partition #3)

Enter an MBR hex code (default AB): Press Enter/Return

Set the bootable flag? (Y/N): N


Creating entry for GPT partition #4 (MBR partition #4)

Enter an MBR hex code (default 07): 07

Set the bootable flag? (Y/N): Y


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.

OSX bootcamp not showing on Option key boot up

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.