Need Help: I deleted Win10 recovery partition created by BootCamp and can't run Macintosh HD after that
please advise what to do! Trying to set up my eGPU I deleted the small partition created by Windows 10 during its installation process via BootCamp. I thought it was a Windows recovery partition. Now when I turn my MacBook on and press the press the Option key the Startup Manager displays only Windows partition to boot from. When I'm running Cmd+R (boot from internet) and then launch Disk Utility it shows that disk0s1 with OS X is turned off and I can't turn it on.
Could you please advise how to restore the access to Macintosh HD partition?
I deleted this partition by using diskpart. Maybe there is anyway to repair its actions?
diskpart list partition now shows that there is a kind of displacement with the size 200MB (the size of deleted partition). According to Mac's disk utility there is a disk0s1 partition 140GB which is turned off and 139.39 GB free space - it's the same partition.
I'm not sure I quite understand everything you're saying. Screenshots or pictures of your screen showing the partition table would help.
My best guess would be that you accidentally deleted your ESP (EFI system partition), which has size 200MiB. I think reinstalling macOS would fix this
Yep, I'm attaching the screenshot. Now there is another one partition reserved by Windows (579 MB) - I installed Windows once again.
MacOS reinstall' tool can't access the partition of 140 GB, where it should be. I can only install macOS to the new partition.
Why would you install Windows if you're trying to get macOS working? If your disk is a hybrid disk (MBR + GPT), then Windows should not be used to do any partitioning. You should use a separate disk with macOS to investigate the current state of your harddisk.
As @joevt said, your best option may be to instal macOS on a new partition in order to gain access to the files on your previous macOS instal (or do you have a back up?).
Once the files are safe you can nuke the whole disk or the old partition.
Probably I have to try. I don't think there will be any access to Mac HD partition because Apple's Disk Utility (Internet Recovery Option) says the following: Mac HD partition (disk0s1) is turned off, at the same time there is a partition of free space (almost the same amount of free space as in MacHD), so it's the same. I expect the problem for MacOS to access the necessary partition.
Why would you install Windows if you're trying to get macOS working?
By using the same diskpart Windows utility I tried to make the MacHD partition active. After that Windows partition started to say "Missing operation system" when I tried to boot from it. So I istalled Windows once again to have one operation system working 🙂
@ardsagart but you probably overwrote your Mac partition because Windows uses MBR (4 partitions max) and macOS uses GPT (many partitions). You need macOS to compare the MBR partition table and the GPT partition table to see if they are still in sync.