yancek said: You are using GPT/UEFI partitioning and appear to have the correct files on the EFI partition. Interesting that it shows the Lilo bootloader in the master boot record as I don't believe Ubuntu has ever used it. What exactly do you see when you boot, blinking cursor, prompt?
I see a screen that says:Minimal bash-like line editing is supported. [I] grub[/I]> *blinking cursor*
LostFarmer said: from your bootrepair line 1115:
The entries list are not correct.
Boot into your live cd/usb linux in EFI mode. in a terminal run " sudo efibootmgr -v" , if what is displayed is the same that is in bold above run below commands. Should look (/EFI/elementry/shimx64.efi), notice the '/'.
sudo efibootmgr -c -d /dev/sda -p 2 -w -L elementary -l /EFI/elementary/shimx64.efi
sudo efibootmgr -c -d /dev/sda -p 2 -w -L Windows Boot Manager -l /EFI/Microsoft/Boot/bootmgfw.efi
You can run "efibootmgr -?" to see just what the command options are doing.
In fact, I tried to put lilo on a prior attempt to fix the problem. :/
oldfred said: But Boot-Repair ran the 'buggy' UEFI fix, which may cause issues. It was the first work around and originally the only one, but now other work arounds seem to be better.
This is the real Windows boot file, but with the configuration you have, you can only get to it from grub menu. Standard UEFI entry to Windows really is a grub or shim file. /EFI/Microsoft/Boot/bkpbootmgfw.efi
To undo & to rename files to their original names, you just need to tick the "Restore EFI backups" option of Boot-Repair.
The rename is required for those vendors that violate UEFI standard and modify it to only boot Windows. Sony & HP maybe others. If you can directly boot Linux from UEFI menu you do not need any of the work arounds. Usually Toshiba's have worked but maybe Microsoft gave them a bigger discount if the corrupt UEFI and only boot Windows.I'll try that now, thanks a lot. :) BRB with the results.
EDIT: retried boot repair checking the "Restore EFI backups" box, and clicked no for "WinEFI detected, do you want to backup and rename the files?" (in my first attempt, yesterday, I had clicked yes). Now I can boot windows again (but only if go to boot options by pressing f12 when turning on the notebook), but no success with grub.
I'll retry now answering yes to "WinEFI detected, do you want to backup and rename the files?".