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

incompatible efibootmgr output #11

Open
zeners opened this issue Feb 25, 2024 · 0 comments
Open

incompatible efibootmgr output #11

zeners opened this issue Feb 25, 2024 · 0 comments

Comments

@zeners
Copy link

zeners commented Feb 25, 2024

i don't know why, but the output of efibootmgr (from manjaro-linux) is something like this:

$ efibootmgr
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0006
Boot0002* Linux Boot Manager	HD(1,GPT,7ff6991c-d9ef-4c3e-8bf1-345168f07626,0x800,0x100000)/\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI
Boot0006* UEFI OS	HD(1,GPT,7ff6991c-d9ef-4c3e-8bf1-345168f07626,0x800,0x100000)/\EFI\BOOT\BOOTX64.EFI0000424f

So the entries won't end with the name and kesboot is unable to found his own entries.
so i added the following line in main.sh:_get_efi and main.sh:_get_efi_num to get rid of the tabulator and the rest of the line and to make it work as expected:
_poses="$(echo "$_poses" | sed 's/\t.*//')"

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