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

"disabled" not handled #39

Open
UltraBlackLinux opened this issue Aug 30, 2022 · 4 comments
Open

"disabled" not handled #39

UltraBlackLinux opened this issue Aug 30, 2022 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@UltraBlackLinux
Copy link

the keyword disabled (see refind sample config) is not handled. Instead refind-btrfs returns ERROR (refind_btrfs.state_management.refind_btrfs_machine/refind_btrfs_machine.py/run): Boot stanza is not matched with the partition!

@Venom1991 Venom1991 self-assigned this Aug 30, 2022
@Venom1991 Venom1991 added the question Further information is requested label Aug 30, 2022
@Venom1991
Copy link
Owner

Venom1991 commented Aug 30, 2022

These boot stanzas (the ones in which the "disabled" keyword is present) are completely ignored. This error could be caused by a legitimate problem with the found boot stanza.

@UltraBlackLinux
Copy link
Author

adding "disabled" causes the error. Removing it also removes the error. The boot stanza is bootable and works as expected

@Venom1991
Copy link
Owner

Venom1991 commented Aug 30, 2022

I don't quite understand what you're trying to say. Boot stanzas with the "disabled" keyword are ignored by both rEFInd and refind-btrfs.

You could try pasting the boot stanza's definition here.

@UltraBlackLinux
Copy link
Author

I found out, what's happening: If two menu entries exist which both boot the same kernel, an error is thrown. Naturally you disable one entry. You are now left with a different error: ERROR: Boot stanza is not matched with the partition!

Tl;Dr: if two menu options with the same kernel exist, even though one is disabled, an error is thrown. One that doesn't even make much sense from a user's perspective

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants