Windows Broken After Linux Installation

I’m trying to triple-boot my Macbook again, but after the Linux installation, Windows will not boot. I am wondering if anyone knows of a fix for this. I am running High Sierra with the old file system (HFS+), Windows 8.1, and Ubuntu 16.04. I’ve done this before, but I can’t remember what I did to get it working.

i haven’t done a dual boot it 10+ years but i think you need to jump into MS DOS and rebuild the init file.