-
Notifications
You must be signed in to change notification settings - Fork 674
fix: bootloader changes #4073
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
fix: bootloader changes #4073
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
|
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 without chainloading as is being done in this pull request. I have been waiting for 2.14 to release to submit a patch (see #2193). |
|
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
|
I have seen probably most of what you have submitted. Pretty good stuff. |
|
Thanks !! Starting to run out of ideas 😅 |
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