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

Shim doesn't respond to boot parameters #688

Open
Amilton78 opened this issue Aug 24, 2024 · 2 comments
Open

Shim doesn't respond to boot parameters #688

Amilton78 opened this issue Aug 24, 2024 · 2 comments

Comments

@Amilton78
Copy link

I'm trying to boot my gentoo system with shim. My boot entry is
Boot0003* Gentoo via Shim HD(1,GPT,c12a7328-f81f-11d2-ba4b-00a0c93ec93b,0x800,0x200000)/File(\EFI\gentoo\shimx64.efi)bzImage.efi and I also tried \EFI\gentoo\bzImage.efi instead of just bzImage.efi, but despite that, it only tries to load the grub executable, which doesn't exist on my system. I'm following the Gentoo wiki and it states for systemd-boot efibootmgr --disk /dev/sda --part 1 --create --label "Systemd-boot via Shim" --loader '\EFI\systemd\shimx64.efi' --unicode '\EFI\systemd\systemd-bootx64.efi', I'm doing the same, just for my kernel

@christoph-at-unicon
Copy link

@Amilton78 What hardware? Did you enable verbosity (mokutil --set-verbosity true) to learn more about what shim tries to boot?

@dennis-tseng99
Copy link
Contributor

it only tries to load the grub executable, which doesn't exist on my system.

If you trace shim.c code, you will find that shim will automatically load grub:

efi_main()
{
    ...
    init_grub(image_handle);
    ....
}

Hope not to misunderstand your problem.

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

3 participants