It loop looking for the get_product_name (I think is fedora something) the string to match.
there was a Fedora entry, the efibootmgr remove the entry but still return a errror . this looks like a bad interpretation of the output of the tool.
so I try to remove the Manjaro entry on the top with code 0000 and get the same error could not delete variable: Invalid argument but the entry was deleted.
is not for the leading zeroes, it fail with both formats 0001 or 1.
but in the case of removing the entries it’s not failing. It remove the entry but return the “invalid argument:” error.
I try to set the boot order to remove the previous one, and get the same error, but in this case it fail to set the new value.
I try to manually remove the Fedora entry to pass the point of the previous log. (the remove_efi_boot_target) And it pass. but fail again with the same errors running the command:
So it continue to return a non zero result and break my installl process xD. I going to sleep now
questions:
How I fix the efibootmgr ?
Why it’s returning the error ?
Does the lib.c and efivarfs.c come within the fedora iso ?
or instead
Are the libs got from the firmware ?
A few years ago, there was an error in efibootmagr which causes it to fail if there is no entry for boot0001. I don’t know if that got fixed after it was reported to bugzilla.
You could try to create a new entry that would be installed as boot0001 and see if that makes a difference when removeing the other entries you want to remove.
the anaconda process is failing to install the bootloader and boot entries. Any command to the efibootmgr.
the first command that is traying to run is the efibootmgr -b 0005 -B to delete the entry added by the live stick. this command fail with:
Could not delete variable: invalid argument
After that I manually remove the entry called Fedora and the entry was deleted but the efibootmgr return a non 0 value, with the same ..invalid argument message.
Because aI manually delete de entry anaconde is able to pass the point and try to run another efibootmgr command.
Dell has been reducing staff. There are outstanding pull requests – one of them may address your issue, or another distro may be using a patched version. There have been many forks – some forks may track upstream issues/changes.
yeah last asus version. I understand. so what I need to do.
make a fork (or download) and compile myself. ? replacing the version of efibootmgr that dnf install ?
does anaconda need to be update ?