-
Notifications
You must be signed in to change notification settings - Fork 297
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
Comments
@Amilton78 What hardware? Did you enable verbosity (mokutil --set-verbosity true) to learn more about what shim tries to boot? |
If you trace shim.c code, you will find that shim will automatically load grub:
Hope not to misunderstand your problem. |
@Amilton78, do you have a Dell board? So it may be related to this: #698 |
I haven't tried that yet. I'll see what it outputs |
I thought you could specify which binary to boot based on boot parameters |
I'm using an Asus AMD board, B550 |
If you want to try, #698 (comment) worked for me. |
Per the suggesting from @alexojegu , #698 indeed worked for me. @Amilton78 , you may need to add a terminating character to the unicode argument string. Something like:
Edit: To add, I am on a ThinkPad T480. So, not a Dell board. I don't think the board necessarily matters; it's more of a c thing. |
@pudgyunicorn I'll try that tomorrow, I'm not on a dell board either, but hopefully this works. Thanks! |
@pudgyunicorn sorry for the wait. It actually worked! Should I close this issue now? |
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-bootefibootmgr --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 kernelThe text was updated successfully, but these errors were encountered: