firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: UEFI remove old olders efi state:
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: EFIBootState(current='0008', timeout='2 seconds', order=['0007', '0008', '0000', '0003', '0002', '0001'], entries={'0000': EFIBootEntry(name='Windows Boot Manager', path='VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400'), '0001': EFIBootEntry(name='Grub', path='VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)'), '0002': EFIBootEntry(name='Linux Mint 22.1', path='VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)'), '0003': EFIBootEntry(name='Linux Mint Installer', path='VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)'), '0007': EFIBootEntry(name='ubuntu', path='HD(1,GPT,3988935b-4c49-4321-9695-e56a1e402233,0x800,0x100000)/File(\\EFI\\ubuntu\\shimx64.efi) File(.)'), '0008': EFIBootEntry(name='UEFI: General USB Flash Disk 1.00, Partition 1', path='PciRoot(0x0)/Pci(0x14,0x0)/USB(3,0)/HD(1,MBR,0x488d3,0x800,0x1d21840)0000424f')})
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Skipped removing 1 old UEFI entrie.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: UEFI entry 'ubuntu' might no longer exist and should be removed.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: installing grub to target=/target devices=['/dev/nvme0n1p1'] [replace_defaults=False]
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Checking if target_proc (/target/proc) is a mount
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: It's not, using normal behavior
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Using grub install command: /usr/lib/grub/grub-multi-install
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Grub install cmds:
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: [['efibootmgr', '-v'], ['dpkg-reconfigure', 'grub-efi-amd64'], ['update-grub'], ['/usr/lib/grub/grub-multi-install'], ['efibootmgr', '-v']]
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Checking if target_proc (/target/proc) is a mount
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: It is, so unshare will use --mount-proc=/target/proc
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Checking if target_proc (/target/proc) is a mount
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: It is, so unshare will use --mount-proc=/target/proc
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'dpkg-reconfigure', 'grub-efi-amd64'] with allowed return codes [0] (capture=True)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Checking if target_proc (/target/proc) is a mount
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: It is, so unshare will use --mount-proc=/target/proc
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'update-grub'] with allowed return codes [0] (capture=True)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Checking if target_proc (/target/proc) is a mount
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: It is, so unshare will use --mount-proc=/target/proc
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install'] with allowed return codes [0] (capture=True)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: TIMED subp(['udevadm', 'settle']): 0.003
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: FAIL: installing grub to target devices
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: FAIL: configuring target system bootloader
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Traceback (most recent call last):
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: ret = args.func(args)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2234, in curthooks
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: builtin_curthooks(cfg, target, state)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2189, in builtin_curthooks
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: setup_grub(cfg, target, osfamily=osfamily,
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 852, in setup_grub
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: install_grub(instdevs, target, uefi=uefi_bootable, grubcfg=grubcfg)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/commands/install_grub.py", line 451, in install_grub
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: in_chroot.subp(cmd, env=env, capture=True)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/util.py", line 843, in subp
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: return subp(*args, **kwargs)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/util.py", line 323, in subp
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: return _subp(*args, **kwargs)
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: File "/snap/ubuntu-desktop-bootstrap/237/lib/python3.10/site-packages/curtin/util.py", line 172, in _subp
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: raise ProcessExecutionError(stdout=out, stderr=err,
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: curtin.util.ProcessExecutionError: Unexpected error while running command.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install']
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Exit code: 1
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Reason: -
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Stdout: ''
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Stderr: Installing grub to /boot/efi.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Installing for x86_64-efi platform.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: grub-install: warning: Cannot set EFI variable Boot0007.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Invalid argument.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: grub-install: error: failed to register the EFI boot entry: Invalid argument.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]:
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Unexpected error while running command.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install']
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Exit code: 1
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Reason: -
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Stdout: ''
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Stderr: Installing grub to /boot/efi.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Installing for x86_64-efi platform.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: grub-install: warning: Cannot set EFI variable Boot0007.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Invalid argument.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: grub-install: error: failed to register the EFI boot entry: Invalid argument.
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]:
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: {'current': '0008', 'timeout': '2 seconds', 'order': '0007,0008,0000,0003,0002,0001'}
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: {'current': '0008', 'timeout': '2 seconds', 'order': '0007,0008,0000,0003,0002,0001'}
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]:
Feb 04 10:38:33 ubuntu-studio subiquity_log.3873[6805]: Stderr: ''
Feb 04 10:38:33 ubuntu-studio subiquity_event.3873[3873]: executing curtin install curthooks step
Feb 04 10:38:33 ubuntu-studio subiquity_event.3873[3873]: installing system
Feb 04 10:38:33 ubuntu-studio subiquity_event.3873[3873]:
Feb 04 10:38:33 ubuntu-studio subiquity_event.3873[3873]: curtin command install
Installing Ubuntu Studio since Mint Cinnamon failed. Same issue it seems. once the boot strap is to be installed the install fails. Both time I used the Flash USB stick for each distro installer. I don't know where to go from here. It is an ASUS laptop Vivobook