Why is my Ubuntu 24.04.4 LTS installation failing? ThinkCentre M70q
https://askubuntu.com/questions/1565323/why-is-my-ubuntu-24-04-4-lts-installation-failing-thinkcentre-m70q
I am having issues installing Desktop Ubuntu 24.04.4 LTS on a machine I have.
The said machine is a Lenevo ThinkCentre M70q Gen 4 with the Intel i5-13400T (which officially supports 22.04 LTS, nothing is said about 24.04).
I already have Windows 11 installed on the drive and wish to dual boot. I downloaded the latest Ubuntu iso file from torrent (which I understand should be a form of equivalence to a checksum) and flashed a USB drive with RUFUS. There was a message about the image using a different GRUB version than what was included by the application and it offered to try and download it before flashing the drive. Went with yes and the USB drive was good to go in 10 minutes.
I can boot from the USB drive, select "try or install Ubuntu", load the desktop and work on it. But if I try to install it (I am giving it 100GB of drive space when setting up the initial install menu), it fails after a few minutes. I included the last lines of output I get but I have a hard time of understanding the problem.
I tried flashing the USB drive with Etcher instead, doing a sudo apt update upgrade before trying to install, tried without an internet connection, etc. Any help would be greatly appreciated!
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/updating-initramfs-configuration: SUCCESS: updating initramfs configuration
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: configuring target system bootloader
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: start: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: installing grub to target devices
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: setup grub on target /target
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Found primary UEFI ESP: partition-nvme0n1p1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Found UEFI ESP(s) for grub install: ['partition-nvme0n1p1']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: get_path_to_storage_volume for volume partition-nvme0n1p1({'device': 'disk-nvme0n1', 'size': 209715200, 'flag': 'boot', 'number': 1, 'preserve': True, 'grub_device': True, 'offset': 1048576, 'partition_type': 'c12a7328-f81f-11d2-ba4b-00a0c93ec93b', 'path': '/dev/nvme0n1p1', 'uuid': 'cdc4a374-ec4f-4a94-b198-c3bc8b78a068', 'id': 'partition-nvme0n1p1', 'type': 'partition'})
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: get_path_to_storage_volume for volume disk-nvme0n1({'ptable': 'gpt', 'serial': 'SKHynix_HFS256GEJ9X113N_4DC8N503814708I4R_1', 'wwn': 'eui.0000000000000000ace42e0035c779dc', 'nvme_controller': 'nvme-controller-nvme0', 'path': '/dev/nvme0n1', 'preserve': True, 'name': '', 'grub_device': False, 'id': 'disk-nvme0n1', 'type': 'disk'})
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Processing serial eui.0000000000000000ace42e0035c779dc via udev to eui.0000000000000000ace42e0035c779dc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: lookup_disks found: ['nvme-eui.0000000000000000ace42e0035c779dc', 'nvme-eui.0000000000000000ace42e0035c779dc-part4', 'nvme-eui.0000000000000000ace42e0035c779dc-part2', 'nvme-eui.0000000000000000ace42e0035c779dc-part1', 'nvme-eui.0000000000000000ace42e0035c779dc-part3', 'nvme-eui.0000000000000000ace42e0035c779dc-part5']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['udevadm', 'info', '--query=property', '--export', '/dev/nvme0n1'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: /dev/nvme0n1 is multipath device? False
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['udevadm', 'info', '--query=property', '--export', '/dev/nvme0n1'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: /dev/nvme0n1 is multipath device member? False
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: block.lookup_disk() returning path /dev/nvme0n1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['partprobe', '/dev/nvme0n1'] with allowed return codes [0, 1] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: TIMED udevadm_settle(): 0.018
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: devsync happy - path /dev/nvme0n1 now exists
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: return volume path /dev/nvme0n1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['partprobe', '/dev/nvme0n1'] with allowed return codes [0, 1] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: TIMED udevadm_settle(): 0.023
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: devsync happy - path /dev/nvme0n1 now exists
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: return volume path /dev/nvme0n1p1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: install_devices: ['/dev/nvme0n1p1']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Generating grub debconf_selections for devices=['/dev/nvme0n1p1'] uefi=True
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Applying grub debconf_selections config:
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: {'debconf_selections': {'grub': 'grub-pc grub-efi/install_devices multiselect /dev/disk/by-id/nvme-SKHynix_HFS256GEJ9X113N_4DC8N503814708I4R-part1'}}
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Applying debconf selections
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: It's not, using normal behavior
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'debconf-set-selections'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: It's not, using normal behavior
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: TIMED subp(['udevadm', 'settle']): 0.003
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: TIMED subp(['udevadm', 'settle']): 0.006
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: UEFI remove old olders efi state:
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: EFIBootState(current='0004', timeout='1 seconds', order=['0000', '0001', '0004', '0002', '0003'], entries={'0000': EFIBootEntry(name='Windows Boot Manager', path='HD(1,GPT,cdc4a374-ec4f-4a94-b198-c3bc8b78a068,0x800,0x64000)/File(\\EFI\\Microsoft\\Boot\\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400'), '0001': EFIBootEntry(name='UEFI: PXE IPv4 Intel(R) Ethernet Connection (22) I219-LM', path='PciRoot(0x0)/Pci(0x1f,0x6)/MAC(745d223b6fda,0)/IPv4(0.0.0.00.0.0.0,0,0)0000424f'), '0002': EFIBootEntry(name='UEFI: PXE IPv6 Intel(R) Ethernet Connection (22) I219-LM', path='PciRoot(0x0)/Pci(0x1f,0x6)/MAC(745d223b6fda,0)/IPv6([::]:<->[::]:,0,0)0000424f'), '0003': EFIBootEntry(name='ubuntu', path='HD(1,GPT,cdc4a374-ec4f-4a94-b198-c3bc8b78a068,0x800,0x64000)/File(\\EFI\\ubuntu\\shimx64.efi) File(.)'), '0004': EFIBootEntry(name='UEFI: Corsair Voyager SliderX1000A, Partition 2', path='PciRoot(0x0)/Pci(0x14,0x0)/USB(18,0)/HD(2,GPT,7cd178b0-860e-4729-a4a1-cd7bae592982,0xc63010,0x27b0)0000424f')})
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Skipped removing 2 old UEFI entries.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: UEFI entry 'Windows Boot Manager' might no longer exist and should be removed.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: UEFI entry 'ubuntu' might no longer exist and should be removed.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: installing grub to target=/target devices=['/dev/nvme0n1p1'] [replace_defaults=False]
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: It's not, using normal behavior
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg', '--print-architecture'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Using grub install command: /usr/lib/grub/grub-multi-install
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Grub install cmds:
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: [['efibootmgr', '-v'], ['dpkg-reconfigure', 'grub-efi-amd64'], ['update-grub'], ['/usr/lib/grub/grub-multi-install'], ['efibootmgr', '-v']]
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'dpkg-reconfigure', 'grub-efi-amd64'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'update-grub'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Checking if target_proc (/target/proc) is a mount
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: It is, so unshare will use --mount-proc=/target/proc
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install'] with allowed return codes [0] (capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: TIMED subp(['udevadm', 'settle']): 0.005
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: FAIL: installing grub to target devices
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: FAIL: configuring target system bootloader
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Traceback (most recent call last):
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: ret = args.func(args)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2238, in curthooks
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: builtin_curthooks(cfg, target, state)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2193, in builtin_curthooks
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: setup_grub(cfg, target, osfamily=osfamily,
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 852, in setup_grub
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: install_grub(instdevs, target, uefi=uefi_bootable, grubcfg=grubcfg)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/commands/install_grub.py", line 451, in install_grub
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: in_chroot.subp(cmd, env=env, capture=True)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/util.py", line 851, in subp
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: return subp(*args, **kwargs)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/util.py", line 331, in subp
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: return _subp(*args, **kwargs)
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: File "/snap/ubuntu-desktop-bootstrap/502/lib/python3.10/site-packages/curtin/util.py", line 175, in _subp
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: raise ProcessExecutionError(stdout=out, stderr=err,
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: curtin.util.ProcessExecutionError: Unexpected error while running command.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Exit code: 1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Reason: -
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Stdout: ''
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Stderr: Installing grub to /boot/efi.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Installing for x86_64-efi platform.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: grub-install: warning: Cannot set EFI variable Boot0003.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: grub-install: error: failed to register the EFI boot entry: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Unexpected error while running command.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', '/usr/lib/grub/grub-multi-install']
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Exit code: 1
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Reason: -
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Stdout: ''
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Stderr: Installing grub to /boot/efi.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Installing for x86_64-efi platform.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: grub-install: warning: Cannot set EFI variable Boot0003.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: grub-install: error: failed to register the EFI boot entry: Invalid argument.
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: {'current': '0004', 'timeout': '1 seconds', 'order': '0000,0001,0004,0002,0003'}
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: {'current': '0004', 'timeout': '1 seconds', 'order': '0000,0001,0004,0002,0003'}
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]:
Mar 31 20:31:01 ubuntu subiquity_log.6571[26505]: Stderr: ''
Mar 31 20:31:01 ubuntu subiquity_event.6571[6571]:
Mar 31 20:31:01 ubuntu subiquity_event.6571[6571]: curtin command install