"Could not prepare Boot variable: Invalid argument" #47
Closed
almightiest
started this conversation in
General
Replies: 1 comment 1 reply
-
I resolved this by going into my bios and loading factory default secure boot keys. Dunno why that worked, but that's all I did to correct it after hours of searching and tinkering. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My noble/24.04 server encrypted mirror install is failing at the end of step 4 with an error, and I could use help on how to recover/proceed:
`...
Running in chroot, ignoring request.
78,037,802 100% 767.24MB/s 0:00:00 (xfr#97, to-chk=0/104)
0
1
Could not prepare Boot variable: Invalid argument
ubuntu@ubuntu:~$
`
I am using the latest version of the script and configured it. Then I ran the install and selected my 2 mirror drives by id. The rest ran auto until it failed on the update_boot_manager() function.
if i run the
efibootmgr
command in line 1461 of the script directly I can reproduce this issue.efibootmgr --create --disk /dev/nvme2n1 --label "rEFInd Boot Manager Backup 1" --loader \\EFI\\refind\\refind_x64.efi
returns "Could not prepare Boot variable: Invalid argument"
Beta Was this translation helpful? Give feedback.
All reactions