I can no longer boot into macOS after resizing my bootcamp partition in EaseUS
In this case, the APFS partition type had been changed by EaseUS utility. That is why only Windows showed up on startup. I used gdisk to repair this and everything is on place, with no harm to the data.
How I repaired this?
I booted to Windows on bootcamp, downloaded gdisk for windows, opened cmd(terminal) as the administrator, opened the directory of downloaded gdisk and then the following list of commands inside of this program (each confirmed with enter key):
-
gdisk64 \\.\PhysicalDrive0
->this opens the gdisk program t
-
2
-> that is the number of your MacOS partition, in my case it is 2 -
af0a
-> hex code for the GUID APFS format -
w
-> write -
y
-> confirm
I hope I was able to help someone else by posting this answer.