I just wanted to merge 2 NTFS drives because I want to increase size of my BootCamp partition. But now, I can't boot to macOS. I can see it when I boot to Windows; its files and everything ok, but somewhy it is listed as Macintosh HD (D:) and my Recovery Partition is listed as Recovery HD (E:).
When I open Startup Menu, only my Bootcamp and Recovery partitions are avaible to select, no Macintosh HD.
Here is my Disk Management screen from Windows. My Macintosh HD (371GB) drive listed as "Recovery Partition"
How can I repair my main disk…
Best Answer
Generally, the first step, in reconstructing messed up the partition tables, is to dump the current contents.
If running High Sierra (macOS 10.13), you would need to boot to internet, internal or USB based macOS Recovery. The following commands would partially dump the contents of the GPT and MBR partition table.
The partition tables can then be repaired by using a variety of tools. A well known third party tool is gdisk.
Since you can only boot to Windows, the
gpt
andfdisk
commands would be unavailable. There are third party Windows equivalents namedreadgpt.exe
andreadmbr.exe
that can dump the contents of the partition tables. The syntax for executing these commands is shown below.Additionally, the following command will dump the GPT attributes.
There also a Windows version of the gdisk command. Below is the syntax for executing this command from a "Administrator: Command Prompt" window.
If you have trouble using the
gdisk
command, you can post the partition table information in your question and ask for help.