Skip to content
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

Boot entries are created without inquiry under unknown conditions #205

Open
timschumi opened this issue Mar 5, 2024 · 0 comments
Open

Comments

@timschumi
Copy link

On systems where enumerating the BootOrder variable (or other related variables) fails, efibootmgr -c will silently create an empty boot order list without first confirming this with the user.

In the best case, this will wipe all entries from the existing boot order list. In the worst case, the resulting BootXXXX entry will overwrite preexisting "reserved" entries and emptying the BootOrder list will make the one-time boot menu useless.

Under unknown conditions (for example when missing variables that should be present on an EFI-compliant system; efibootmgr read operations correctly recognize this as "No BootOrder is set; firmware will attempt recovery"), efibootmgr should only proceed with extreme caution, ideally not at all unless the user signed off on that (--force?), and instead report a fatal error.

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

No branches or pull requests

1 participant