I installed Ubuntu MATE 18.04 and the installation went OK. It's an LNV laptop, with UEFI and all that Secure Boot nonsense. It was perfectly possible to install Linux besides Windows before; but after it came from repair it seems the UEFI boot ignores Linux. There's a BIOS screen with UEFI priorities, I put "ubuntu" in front but at boot it ignores that and boots Windows no matter what.
Is this something that can be fixed it by fudging files in the UEFI partition?
There is package called
boot-repair
A quick intro toboot-repair
Boot your pc with live Ubuntu OS and then You can install
boot-repair
by following commandThe Boot Repair window will automatically scan your system after you run the boot-repair command. After it scans your system, click the “Recommended repair” button to repair GRUB2 with a single click.
I have copied from here This has always worked for me. I hope this will also works for you.
@SaWin, I had the following output from boot-repair. Will reboot now and see what happens. (And maybe edit this answer.)
Edit 1: YAY! GRUB showed up and I'm posting this from the installed Ubuntu. Now let's see if booting Windows (8.1) doesn't re-f### EFI.
Edit 2: If I select "Windows Boot Manager (sda2)" I am still able to boot Ubuntu later. I will not try the other options GRUB came up with.