Good morning all.
The laptop is an HPP455 G2 with a 1TB SSD partitioned to include a separate Data partition. Secure boot is disabled. I have installed a dual boot Windows 10 and Ubuntu 21.04 system and (with some difficulty) had it working well.
Expected behaviour: On switch on or restart the system boots into the Ubuntu dual boot screen, allowing user to select Ubuntu or Windows; if no selection within ten seconds boots into Ubuntu.
Observed behaviour: On switch on or restart the system fails to boot with the error messages as below; looping through the initial post screen and into the error message. Selecting "Esc" at the post screen allows selection of efi boot options; the third of which is "ubuntu" - this takes me to the dual boot screen after which boot proceeds into the selected (or default) OS as expected.
On first installing the SDD I installed Windows then Ubuntu. Since the system did not boot properly I used 'Boot-Repair' Advanced options and followed the directions to "change the default boot entry of your Windows bootloader ... boot into Windows then type the following in an admin command prompt: bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi . The system then booted normally into the standard Ubuntu dual boot screen. It has been ok for the past three months or so.
Today I did a restart and I was unable to boot as normal, however could enter the EFI boot options screen and select Ubuntu, which then went to the dual boot screen from where boot is normal into Ubuntu or Windows.
I again used Boot-Repair Advanced options and again followed the directions to "change the default boot entry of your Windows bootloader ... boot into Windows then type the following in an admin command prompt: bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi . This did not sort the problem out.
Full details of error message:
Failed to open \efi\ubuntu\S - Invalid Parameter
Failed to load image \efi\ubuntu\S: - Invalid Parameter
start_image() returned Invalid Parameter
The Boot repair log is at: https://paste.ubuntu.com/p/YcSFTnxjVZ/
I would be grateful for any advice.