Merged
Conversation
-> GRUB: Support for UKI - Disable 10_linux or breaks at kernel updates - Create 09_custom entry -> rEFInd: - Remove fallback entry similar to other bootloaders - With UKI still one dead entry can be hidden with DEL key -> All bootloaders: - Default to UKI on if supported, if using no UKI and /efi Causes systemd boot to not load, because it needs a XTLDRBOOT part Safer default for modern setups and simpler sec boot compat
Contributor
|
Based on the tag grub-2.14-rc1 (see https://cgit.git.savannah.gnu.org/cgit/grub.git/commit/?id=14c2966c725774aa58a811dada3277c7095cbcb3), GRUB will support UKI Edit: I was wrong about the chainloading. + src = grub_xasprintf ("%schainloader (%s)%s/%s%s%s\n",
+ blsuki_save_default ? "savedefault\n" : "",
+ entry->devid, entry->dirname,
+ entry->filename,
+ (options != NULL) ? " " : "",
+ (options != NULL) ? options : ""); |
Contributor
Author
|
Also thanks for the info :)) oh btw see the bcachefs draft ? Hehe Rest looks good to you ? Always scared when making changes to stuff like this. Altho did a lot of testing today |
Thanks to codefiles for the heads-up
Contributor
|
I have seen probably most of what you have submitted. Pretty good stuff. |
Contributor
Author
|
Thanks !! Starting to run out of ideas 😅 |
svartkanin
approved these changes
Jan 6, 2026
This was referenced Jan 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch makes it so that Grub supports UKI. Also makes it so that rEFInd is handled consistently like other boot-loaders (no fallback entry).
Finally it enables UKI by default if the system has UEFI and a supported boot-loader. Thanks to u/Synthetic451 u/Hermocrates and u/plasmamax1 on Reddit post and is only since mkinitcpio v40.
Making this default fixes systemdboot that needs a
XTLDRBOOTpart to function for/efi, IF UKI is not selected (something we do not have in our disk handling).Again safer default so user does not get not boot-able system.
This is fixed in
def get_default(cls)in this line