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

Better way to identify entries #216

Open
eoli3n opened this issue Oct 4, 2024 · 2 comments
Open

Better way to identify entries #216

eoli3n opened this issue Oct 4, 2024 · 2 comments

Comments

@eoli3n
Copy link

eoli3n commented Oct 4, 2024

Here what I need to do to automate boot order with a dynamic entry selection

efibootmgr -o "$(efibootmgr | awk -F'*' '/IPV4/ {print substr($1,5,4)}'),$(efibootmgr | awk -F'*' '/ubuntu/ {print substr($1,5,4)}')"

I suggest, for exemple, to be able to set boot order with a string which match an entry, which would be way more simpler and dynamic.

efibootmgr -o "IPV4,ubuntu"

Why entries are prefixed with "Boot" if i can't use -o Boot0001 ?

@eoli3n
Copy link
Author

eoli3n commented Oct 4, 2024

You deserve an answer too buddy, here it is

@user7z
Copy link

user7z commented Nov 13, 2024

@eoli3n nice bro , i hate the utility syntax more than its man page

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

2 participants