Bootcamp not appearing in Startup Disk Manager - GPT must be corrected to match the MBR

I am following up a conversation from January with Loner T:

https://discussions.apple.com/thread/252319323?login=true


As a recap: I partitioned my MacOS hard drive in order to reallocate more space to Windows (using MiniTool Partition Wizard in Windows to merge the new partition with bootcamp. This corrupted the GPT, requiring the GPT to be corrected to match the MBR.


I was unable to carry on the repair until now.


I have carried out the instructions in the link above and the output from diskutil list is now:



Is any further repair necessary?


Many thanks

Jess

MacBook Air 11″, macOS 10.14

Posted on May 17, 2021 6:56 PM

Reply
Question marked as Top-ranking reply

Posted on May 18, 2021 2:56 PM

Run (do not enter text like this)


sudo gdisk /dev/disk0

p (print)

t (change type)

3 (... of partition 3)

0700 (... to NTFS)

p (print)

w (write)

y (confirm)

q (quit, if necessary)


Reboot and test.

Similar questions

32 replies

May 18, 2021 9:18 PM in response to Jesssmithica

If you notice, the GPT output now and the previous one in OP is different. This is not HFS+, it should be APFS.


Run


diskutil unmountDisk disk0

gpt remove -i 2 /dev/disk0

diskutil unmountDisk disk0

gpt add -i 2 -b 409640 -s 732226544 -t 7C3457EF-0000-11AA-AA11-00306543ECAC /dev/disk0


and check that GPT1/2 are the same as what you posted in OP.


Run


diskutil repairDisk disk0


Reboot and test if macOS will boot.

May 18, 2021 5:17 PM in response to Loner T

I ran BCA. It successfully created a Windows 10 Install disk with support software. But it encountered an error when trying to restore the disk to a single partition (see below).



I was able to run first aid on the MacOs disk but a few other disk images have popped up and it looks a bit funny (see below).





When I go back into Bootcamp it says there is an error.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Bootcamp not appearing in Startup Disk Manager - GPT must be corrected to match the MBR

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