Win 8.1 Upgrade causes GPT/MBR Mismatch
I am responsible for 9 Mac minis (late 2012) in a computer training lab. I set them up last summer to dual boot Windows 8 Pro using Boot Camp. Recently, I tried upgrading one of the minis to Windows 8.1. The upgrade downloaded from the Microsoft Store and installed with no issues. Or, so I thought. Everything continued to work as before and I had no problem booting back and forth between the two operating systems. It wasn't until I attempted to make a disk image backup of the computer using Clonezilla that I discovered there was a problem. Clonezilla displayed the error message "This disk contains mismatched GPT and MBR partition" and would not do the backup. Thus began a lengthy journey of discovery about MBR, GPT, gdisk, etc.
So, here's what happened. The Windows 8.1 upgrade automatically (with no input whatsoever from me) resized the BOOTCAMP partition to be about 350MB smaller than it was previously. I have no idea why it did this and I haven't been able to find any report of this anywhere on the internet. Anyway, in resizing the partition, Win 8.1 of course modified the MBR partition table. However, it did not modify the corresponding partition information in the GPT partition table.
I was able to fix this using gdisk to delete the GPT BOOTCAMP partion info and recreate it using the correct first and last sector numbers from the MBR partition table. This procedure is described in detail in this forum and other places on the internet. So, I'm good to go. But, I'm posting this here because I haven't seen any report of this issue anywhere else. If you have upgraded a previously installed BOOTCAMP partition to Windows 8.1, I strongly urge you to get gdisk (download at http://sourceforge.net/projects/gptfdisk) and run the verify (v) command to verify whether you have this issue. You can also verify by running
sudo gpt -r -vv show disk0.
Mark Ulmer
Mac mini, OS X Mountain Lion (10.8.5)