I've installed macOS Sierra and then Windows 10 on the second partition. I've decided to split Windows partition to another 2 partitions and it doesn't work. Splitting executed using standard Windows disk management utility. Before splitting I've got message that "Your disks become dynamic..." something like this. Have clicked Yes anyway and splitting didn't done, but in disk management partitions become another color. Windows still running until rebooting. Then it won't boot with error "Something wrong with your PC. Try to reboot again". Autofixing problems, check disk etc. didn't help at all. macOS disappeared from boot menu and now has RAW filesystem. I guess splitting disk corrupted its filesystem. Is there a way to back macOS to boot menu? It seems RAW filesystem have to be converted to GPT someway. macOS is on G: partition. Please help.
UPD: TestDisk util restored Windows10 boot. So how now restore macOS?
gpt -r show disk0
and take & post a pic finally. Also check David Anderson's answers for a solution.fdisk /dev/disk0
.