Often Boot-Repair can fix booting type issues with Ubuntu and some other Linux. It can only do very minor fixes to Windows issues. One fix often is just a install of grub to MBR if BIOS or to ESP if UEFI. But some need advanced options and full reinstall of grub.
https://help.ubuntu.com/community/Boot-Repair
Occasionally with complex configurations, it is better to have someone who understands issues review details. You can post the Summary Report from Boot-Repair.
https://help.ubuntu.com/community/Boot-Info
Boot-Repair will not create partitions, with gpt partitioning you may need either the ESP - efi system partition(UEFI boot) or a bios_grub partition(BIOS boot).
If older BIOS/MBR, it does not require additional partitions.
How to prepare a disk on an EFI based PC for Ubuntu?
Boot-Repair can create a copy of shimx64.efi as /EFI/Boot/bootx64.efi if you tick/check the 'Use the standard EFI file' in advanced options.
Boot-Repair also suggests one of several alternative methods (BCD edit) to get UEFI systems that only want to boot Windows. Other methods:
Dual boot Win 8 / Ubuntu loads only Win