Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about using shim15.6 #506

Open
haobinnan opened this issue Aug 26, 2022 · 5 comments
Open

question about using shim15.6 #506

haobinnan opened this issue Aug 26, 2022 · 5 comments

Comments

@haobinnan
Copy link

Hi,
The shim I'm currently using is version 15.6 (https://github.com/rhboot/shim/releases/tag/15.6), I haven't added any other patches to it, but every time the computer boots, I get error messages.
I remember that 15.4 has this problem too. Is it because I use it properly, or is there any other reason?
shim and grub2 deployment paths:
\EFI\Microsoft\Boot\bootmgfw.efi (it’s actually shim)
\EFI\Microsoft\Boot\grubx64.efi(grub2)


Failed to open \EFI\Microsoft\Boot\S - Invalid Parameter
Failed to load image : Invalid Parameter
start_image() returned Invalid Parameter, falling back to default loader

@haobinnan
Copy link
Author

@julian-klode

@haobinnan
Copy link
Author

Hi,

The data in the figure is from UEFI boot****
Area 1 and area 2 are a boot entry record data of boot0000 (UEFI boot entry created by Windows)

Area 3 is boot0001 I created through the efibootmgr tool. Both boot0000 and boot0001 point to \EFI\Microsoft\Boot\Bootmgfw.efi (it is actually shimx64.efi)
The difference between boot0000 and boot0001 is that the boot0000’s area 2 has additional data for the UEFI boot entry. boot0000 is generated by Windows.

Boot0001 created by efibootmgr does not have following messages, and it does not have this additional boot entry data (area 2). I suspect that the following error may be caused by the additional data of the additional boot entry boot0000.
{
Failed to open \EFI\Microsoft\Boot\S - Invalid Parameter
Failed to load image : Invalid Parameter
start_image() returned Invalid Parameter, falling back to default loader
}
img

@julian-klode

@15058718379
Copy link

This question seems to be similar to the question of this link.
#370

@haobinnan
Copy link
Author

This question seems to be similar to the question of this link. #370

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants