Would installing MacOS on a new partition fix my partition table?
Yes, the answer is yes. I have successufly reinstalled mac os without any loss to my data. and it has restored my recover partition and boot