-
Notifications
You must be signed in to change notification settings - Fork 100
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
efibootmgr --bootnum XXXX --label ... --loader ... --disk ... does NOT update the entry? #161
Comments
|
and skimming the code, again it's clear that efibootmgr wasn't really built with distros in mind. Cool, looks like it's back to manually managing deleting and recreating the boot entry then. |
and of course this messes with the boot order. 🙃 😠 |
Your settings already matched what you asked for. I'm not sure what you're trying to do here - can you phrase your question to clearly provide: what you expected to happen, what you did, and what happened instead? |
No, they don't. Command:
Note,
Note, As I said from skimming the code, it seems obviously not written to support this. |
We're using it in distros just fine, so I'm not really sure what you mean, but feel free to post patches to fix what's missing. |
So you have an example of using efibootmgr to edit a boot entry without having to manually backup bootorder, delete and recreate entry, and then restore boot order? Because that's what this issue is about, and I'd be more than happy be wrong, replace this code, and close this issue. |
I'm also running into this issue. I want to switch kernels without changing the boot args or boot order, but efibootmgr currently only allows me to create and delete boot entries, not modify them. I think this issue could be turned into a much more constructive feature request for modifying boot entries in-place. |
Ran into this issue as well. A BIOS update messed with the boot manager list and I had to restore it from my Windows install, which somehow resulted in both the Windows and the systemd boot loaders having the same name. I figured a simple |
IMHO, the ability to modify the contents of an existing boot entry is something that is badly needed in this tool. I don't know how many times I just wanted to edit the label, or change the kernel version or one of the boot parameters and leave everything else the same. The only way I have found to do this is to delete the existing entry and then recreate it with the new information. But now the boot order as it appears on the selection menu when I reboot is messed up. What I have resorted to doing, and I've gone through this tedious process many times, is to delete all the entries up to and including the one I want to change, recreate it with my modified information, and then recreate all the other entries below it that I deleted. |
Looking through the various issues posted over the years I see that the ability to edit an existing entry has been brought up in one form or another several times. It was entered as a feature request #49 back on Jul 10, 2016. |
I could have asked more politely as well. I don't want to encourage what might be perceived as spamming, but if someone takes @LoganDark's suggestion and make a politer, proper feature request, I'd be happy to close this issue in favor of it. Apologies for my frustrated, un-kind tone last year; not nice to re-read. |
No error, no nothing, entry isn't updated.
User error?
The text was updated successfully, but these errors were encountered: