Shim doesn't respond to boot parameters

Open
#688 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

Start with the boot entry and efibootmgr commands shown in the issue, then trace how shim handles the supplied boot parameters and selects an executable. Done means the Gentoo boot entry loads the specified kernel or bootloader path instead of trying to load a nonexistent grub executable.

Written by the indexing model from the issue text.

Description

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

Dominant language
C
Stars
1.1k
Forks
348
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rhboot/shim

All issues in rhboot/shim

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.