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

Windows Bootcamp "missing operating system"

I noticed on a trip in the car when I restarted my mac that windows didn't show up when I booted into the bootcamp screen using the "alt" key, so I tried looking on the apple forums and found similar problems. I tried doing many things including using a program did something with "gdisk" and that made the Windows icon appear in the bootcamp screen but I tried booting into Windows but then it just showed in the top left of the screen "Missing Operating System". Im not sure how to fix it and I have many things saved on my windows partition so any help would be greatly appreciated 🙂

MacBook Pro (Retina, Mid 2012), OS X Yosemite (10.10.4)

Posted on Jul 31, 2015 10:38 PM

Reply
14 replies

Aug 1, 2015 6:33 AM in response to Shaptac

Can you post the output of the following Terminal commands?


diskutil list

diskutil cs list

sudo gpt -vv -r show /dev/disk0

sudo fdisk /dev/disk0


The "sudo" commands will prompt for your password, and it will not be echoed back. You may also see a warning about improper use of "sudo" and potential data loss due to "abuse" of the command.

Aug 1, 2015 7:02 PM in response to Piloooow

Piloooow wrote:


Loner T, i am looking for a good case for my macbook pro 15 retina and i saw a lot of people complaining that their speck case scratch their macbook and what not , so i was wondering what is a good case that is durable that wont scratch it

Please see - http://www.apple.com/shop/product/HD577ZM/B/tech21-impact-snap-case-for-13-inch- macbook-pro?fnode=50 . This is what I use for all my Mac laptops (4 x - Black and White).

Aug 1, 2015 7:13 PM in response to Shaptac

This table verifies the Testdisk output by looking at Sector Offset. A negative offset indicates problems.


GPT3 StartGPT 3 SizeGPT3 EndSector OffsetNTFS StartNTFS SizeNTFS EndSector Offset (GB)NTFS Size (GB)
68155369612695366828232314496828236802942812099771048880.0002141140.3242154


This is the correct header.


Install GPT Fdisk (aka gdisk). Leave your Testdisk display and start a new Terminal Window. 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. Please notice the'+' sign in step 8 (this is called offset notation). The text in parentheses is for informational purpose to describe theaction being taken. Gdisk has one-character commands except when entering numbers.


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. 682823680 ( - Start offset in sectors or the start point for Bootcamp part)
  8. +294281209 ( - 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 10. Accept all other defaults that Gdisk offers. Please see thesample Q&A as an example. These steps can be repeated if you make a mistake before you get to Step 12, otherwise start from Step 1 for these steps. Step 6 has numbers which are typed with a space between the numbers.

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


Here is sample Q&A for this section. Please notice the Press Enter/Return.


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): Press Enter/Return

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.

Aug 1, 2015 8:41 PM in response to Piloooow

Piloooow wrote:


i really need to see how it looks like. people get their macbook scratched when a little dust or mini rock or whatever gets in the case and then its over for the alluminum unibody

No case creates/can create a hermetic seal. You will not find any such cases. All cases must allow air-flow and hence must allow dust and other foreign objects which can get through. The less the airflow is, the sooner you will get a thermal breakdown. 99.9% of cases are made using insulators. The original casing of the Mac is a metal casing to increase the surface area available for heat dissipation apart from the fans. A case also needs to provide shock absorption capabilities.


Here is my 15-in Mac in a black Tech21 case - http://imgur.com/a/pa7KW . The sides are open to allow port connections, which will get scratched, no matter what you do. All cases usually cover bottom and top lids and clip to each.

Aug 1, 2015 9:05 PM in response to Loner T

Thanks for the clarification. Did you noticed any scratch on your macbook? i really wonder how does the mini rocks and stuff like that gets in. I am the type of person that will always use the macbook on desk. never going to use it on my lap. When i am done with it I put it back on the sleeve. What if i put a little film protector on both sides ?

Aug 2, 2015 7:09 AM in response to Piloooow

Piloooow wrote:


Thanks for the clarification. Did you noticed any scratch on your macbook? i really wonder how does the mini rocks and stuff like that gets in. I am the type of person that will always use the macbook on desk. never going to use it on my lap. When i am done with it I put it back on the sleeve. What if i put a little film protector on both sides ?


Can please start a new case discussion?

Windows Bootcamp "missing operating system"

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