Maybe someone with linux knowledge could help me out here, I've recently tried to dual install windows and ubuntu on my system, which works fine. However it's looking for windows boot manager in the wrong place which makes windows unable to boot and whenever i try my PC just restarts I don't understand a single part of linux or how to change the directory/boot sequence that it's looking for windows in. I've been able to find in the grub manager some random script I have no idea what it means
Code:
insmod part_gpt
insmod fat
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 6AA2-F8EA
else
search --no-floppy --fs-uuid --set=root 6AA2-F8EA
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi