Skip to content

add option to preserve NVRAM boot order #38

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vindex10
Copy link

efibootmgr has two options: -c and -C. The latter allows to add a new entry but keep the boot order intact.

I'm using kernelstub in a dual-boot scenario, and also use systemd-boot as a bootloader.

I want to keep the systemd-boot entry - the default, but I want kernelstub to update the NVRAM entry whenever the kernel upgrades, so that I can use the direct NVRAM entry as a fallback if needed.

Currently, kernelstub uses -c option only, which brings the newly added entry to front of the boot order, which requires me to reset boot order manually each time the kernel upgrades.

This pull request is a sketch of what I think of, I'm open to suggestions, comments, improvements :)

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

Successfully merging this pull request may close these issues.

1 participant