Can't boot Ubuntu Live in UEFI to fix GRUB - help?
by joe dizzy from LinuxQuestions.org on (#5B2QS)
Hi!
The other morning I woke up to a nice surprise: my dual boot Acer Aspire E5 (Windows 10 & Ubuntu 20) refused to boot up. Booting in UEFI secure boot led to the following message:
BootOrder not found. Initializing defaults.
creating boot entry "Boot0005" with label "ubuntu" for file "\EFI\ubuntu\shimx64.efi"
Invalid image
Failed to read header: Unsupported
Failed to load image: Unsupported
start_image() returned Unsupported
StartImage failed: Unsupported
Followed by a blue screen saying it could not install security protocol: (0x2) Invalid Parameter. Hitting Enter told me that "something has gone seriously wrong" before shutting down.
Booting in UEFI non-secure boot led to effectively the same.
I've tried setting a UEFI file to boot from, but get "invalid image" when I choose it in BIOS.
The hard disk seems to be working fine. When I boot the laptop in Legacy mode it recognizes the USB and can launch Ubuntu Live. From there I can access my data (I have saved what I needed), mount various drives and so on. But I can't use BootRepair as that requires the computer to launch in UEFI, which I can't.
As far as I can tell (being mostly a newbie with very superficial understanding of Ubuntu), the boot partition has gone all wonky and weird. I don't know how or why, but I am kind of hoping against hope, that there is a way to fix it.
Any pointers?


The other morning I woke up to a nice surprise: my dual boot Acer Aspire E5 (Windows 10 & Ubuntu 20) refused to boot up. Booting in UEFI secure boot led to the following message:
BootOrder not found. Initializing defaults.
creating boot entry "Boot0005" with label "ubuntu" for file "\EFI\ubuntu\shimx64.efi"
Invalid image
Failed to read header: Unsupported
Failed to load image: Unsupported
start_image() returned Unsupported
StartImage failed: Unsupported
Followed by a blue screen saying it could not install security protocol: (0x2) Invalid Parameter. Hitting Enter told me that "something has gone seriously wrong" before shutting down.
Booting in UEFI non-secure boot led to effectively the same.
I've tried setting a UEFI file to boot from, but get "invalid image" when I choose it in BIOS.
The hard disk seems to be working fine. When I boot the laptop in Legacy mode it recognizes the USB and can launch Ubuntu Live. From there I can access my data (I have saved what I needed), mount various drives and so on. But I can't use BootRepair as that requires the computer to launch in UEFI, which I can't.
As far as I can tell (being mostly a newbie with very superficial understanding of Ubuntu), the boot partition has gone all wonky and weird. I don't know how or why, but I am kind of hoping against hope, that there is a way to fix it.
Any pointers?