grub-install: error: grub-install: warning: Cannot set EFI variable Boot0001.

Bug #2065124 reported by Aura Barría Araya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned
ubuntu-desktop-provision
Incomplete
Undecided
Unassigned

Bug Description

I cannot install ubuntu 24.04.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Stderr: Installing grub to /boot/efi.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Installing for x86_64-efi platform.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: grub-install: warning: Cannot set EFI variable Boot0001.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Invalid argument.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: grub-install: error: failed to register the EFI boot entry: Invalid argument.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]:
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Unexpected error while running command.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install']
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Exit code: 1
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Reason: -
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Stdout: ''
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Stderr: Installing grub to /boot/efi.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Installing for x86_64-efi platform.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: grub-install: warning: Cannot set EFI variable Boot0001.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Invalid argument.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: grub-install: error: failed to register the EFI boot entry: Invalid argument.
May 07 21:23:52 ubuntu subiquity_log.4031[7310]:
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: {'current': '0002', 'timeout': '2 seconds', 'order': '0002,0000,0001'}
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: {'current': '0002', 'timeout': '2 seconds', 'order': '0002,0000,0001'}
May 07 21:23:52 ubuntu subiquity_log.4031[7310]:
May 07 21:23:52 ubuntu subiquity_log.4031[7310]: Stderr: ''
May 07 21:23:52 ubuntu subiquity_event.4031[4031]:
May 07 21:23:52 ubuntu subiquity_event.4031[4031]: curtin command install

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you add the logs from/var/log/installer after getting the problem?

Changed in ubuntu-desktop-provision:
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

it seems similar to bug #2065071

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.