Deleted Ubuntu partition without fixing boot image

mathuryash5

Reputable
Feb 6, 2016
4
0
4,510
I deleted my Ubuntu partition without fixing the boot image through windows recovery. Now, when I boot my laptop I see a gnu grub 2.02 menu. If I type exit here it boots into windows 10. I have tried boot-repair through Ubuntu Live CD. But it did not work.
I tried reinstalling ubuntu, but I have to change boot order to boot into the bootable USB drive. The bootable drive directly boots into Ubuntu without the grub terminal that came when I install ubuntu before.
Also, when Live Ubuntu is booting I get an error saying Error parsing PCC subspaces from PCCT.
How do I get out of this mess?