i'm having a problem regarding booting into Ubuntu, more exactly Grub 2 bootloader, after a Windows 10 installation followed by Ubuntu 16.04, on the same SSD hard-drive, only different partitions. After installing Windows 10 i've disabled Secure Boot from BIOS and hibernation & fast startup from Windows 10. Still, after installing Ubuntu with manually created partitions for root, swap & home, the Grub 2 won't start; still boots into Windows 10. Also, if i'd use EasyBCD in Windows, i can't create Ubuntu option for boot/install Grub. I don't know what i did wrong. There are like 100 tutorials for installing Windows 10 + Ubuntu but it seems that all are mostly the same. Maybe i should select Windows's Boot Manager's partition as Device for Boot loader installation (see the attached picture)? Thanks!
Later edit: after following this steps (https://ubuntuforums.org/showthread.php?t=2291335&p=13341757#post13341757) now i'm able to select Grub2's bootloader at boot, but after booting into Ubuntu, i get some errors (see the 3rd picture). However, if i don't press F12 at boot, it boots into Windows, despide i've put Ubuntu 1st at boot priority in BIOS (first picture).
sudo grub-install --target=x86_64-efi --boot-directory=/boot --efi-directory==/boot/efi --bootloader-id="Ubuntu"
Make sure UEFI is enabled. – jdwolf Dec 28 '17 at 21:22