Q: restore original gpt from broken mbr in bootcamp
Hello,
I have a very adventurous trouble with bootcamp that almost bricked my computer.
I have installed bootcamp with Windows 7 on my Mac, since I need Windows to demo some software on OpenGL.
The problems have started when I have splitted bootcamp drive in two using Windows administrative tools to make C and D drives
since my programs were hard-coded to work from C and D drives...
And then BAM!
the windows became always crashing. and I cannot access the Macintosh HD anymore.
Moreover, it seems that Windows Administrative partitioning tool destroys the boot record(probably some hybrid MBR/GUID).
Well, the obvious (not a ) solution is to erase everything and make clean install.
In my case I would like to restore back to OSX on the installation as it was previous to bootcamp, since there are a lot of programs installed, settings and files that unfortunately need.
I do not need BootCamp Window partitions and information there.
So, is there a tool of system restore disk, that could repair GUID, repair/resize partitions such as gpt gptsync, and fdisk that could restore those.
None of those those been used yet.
Or maybe there is another one.
I will make a not that neither OSX or Windows is working.
What I could use in the moment is that I could go in AppleStore and ask for CD drive, or plug their network with restore Images.
Unfortunately, mac associates there do not support issues with bootcamp and this is my basis for repair.
Could help me with some advice or routine how to restore my mac,
Thank you.
Posted on Feb 1, 2015 7:06 AM
There is 'b'(ackup) option in Gdisk that you should use as the first step. It will backup your GPT to a file of your choice, which should be copied to an external disk for safe-keeping. Once saved, delete the entries 17 and 19., and 'w'(rite) and 'y(es to confirm). This should also correct the GPT CRC.
Go back into Gdisk and confirm that 17/19 have been deleted and diskutil list and sudo gpt -vv -r show /dev/disk0 show correct GPT. Reboot and test.
Resizing/re-partitioning is not allowed on a Mac after Bootcamp is installed. Please see Boot Camp 5.1: Frequently asked questions - Apple Support
Can I resize the Windows partition after installing Windows?
No. Back up your important files, then use Boot Camp Assistant to delete the old partition and create a new one.
Posted on Feb 2, 2015 3:28 PM
