Install error, grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Invalid argument.

Bug #2065071 reported by Phoeun Rajame
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned
ubuntu-desktop-provision
Incomplete
Undecided
Unassigned

Bug Description

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

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
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.