You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Missing Operating System after installing OS X Yosemite

Please help to give suggestion on how to recover my bootcamp after installing OS X Yosemite

User uploaded file

Mac Pro, OS X Yosemite (10.10.1)

Posted on Nov 28, 2014 8:29 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 30, 2014 5:47 PM

Will you be able to follow Missing Bootcamp Partition (with pastes!)? You will need Testdisk and GPT Fdisk. If you need links, let me know.

16 replies

Nov 30, 2014 5:57 PM in response to sandyblade

Hi Loner T,
I am trying to follow some of discussion, but I dont know much about bytes and offset. Can you help me about what should I do with this operation based on my screen capture:

  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. 1447020544 - Start offset in bytes (start point for Bootcamp part)
  8. +506503161 (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)


Especially what number that should I use 🙂

Nov 30, 2014 6:59 PM in response to sandyblade

No. You have found your lost NTFS partition. Here is a table I use to validate that it is reasonable.


GPT 3 StartGPT 3 SizeGPT 3 EndNTFS StartByte OffsetNTFS SizeNTFS End
205722144126953620699168020706508873408105515001312580089


So your 'numbers' look as follows...


  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. 207065088
    - Start offset in bytes (start point for Bootcamp part)
  8. +
    105515001
    (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

  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 flag)
  8. N (part 3 flag)
  9. Y (part 4 flag make bootable partition)
  10. W (Write the new MBR)
  11. Y (Yes! write the new MBR)
  12. Reboot

Test 1 - Does Bootcamp Volume show up in Finder?

Test 2 - Can you 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.

Missing Operating System after installing OS X Yosemite

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