The error is being caused by the UEFI boot order. Here is a snippit from the log. I have attached the full log BootCurrent: 0006 Timeout: 0 seconds BootOrder: 000B,0007,0008,0009,0004 Boot0000* EFI Network 1 Boot0001* EFI Network 2 Boot0002* EFI Network 3 Boot0003* EFI Network 4 Boot0004* EFI Fixed Disk Boot Device 1 Boot0005* EFI Fixed Disk Boot Device 1 Boot0007 EFI Network 2 Boot0008 EFI Network 3 Boot0009 EFI Network 4 Boot000A* EFI Fixed Disk Boot Device 1 Boot000B* ubuntu Removing duplicate EFI entry (0007, {'name': 'EFI Network 2', 'path': 'PcieRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)/MAC(ecf4bbcdee55,1)/IPv4(0.0.0.00.0.0.0,0,0)'}) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmpcty9a921/target', 'efibootmgr', '--bootnum=0007', '--delete-bootnum'] with allowed return codes [0] (capture=False) BootCurrent: 0006 Timeout: 0 seconds BootOrder: 000B,0008,0009,0004 Boot0000* EFI Network 1 Boot0001* EFI Network 2 Boot0002* EFI Network 3 Boot0003* EFI Network 4 Boot0004* EFI Fixed Disk Boot Device 1 Boot0005* EFI Fixed Disk Boot Device 1 Boot0008 EFI Network 3 Boot0009 EFI Network 4 Boot000A* EFI Fixed Disk Boot Device 1 Boot000B* ubuntu Removing duplicate EFI entry (0008, {'name': 'EFI Network 3', 'path': 'PcieRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x2)/MAC(ecf4bbcdee56,1)/IPv4(0.0.0.00.0.0.0,0,0)'}) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmpcty9a921/target', 'efibootmgr', '--bootnum=0008', '--delete-bootnum'] with allowed return codes [0] (capture=False) BootCurrent: 0006 Timeout: 0 seconds BootOrder: 000B,0009,0004 Boot0000* EFI Network 1 Boot0001* EFI Network 2 Boot0002* EFI Network 3 Boot0003* EFI Network 4 Boot0004* EFI Fixed Disk Boot Device 1 Boot0005* EFI Fixed Disk Boot Device 1 Boot0009 EFI Network 4 Boot000A* EFI Fixed Disk Boot Device 1 Boot000B* ubuntu Removing duplicate EFI entry (0009, {'name': 'EFI Network 4', 'path': 'PcieRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x3)/MAC(ecf4bbcdee57,1)/IPv4(0.0.0.00.0.0.0,0,0)'}) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmpcty9a921/target', 'efibootmgr', '--bootnum=0009', '--delete-bootnum'] with allowed return codes [0] (capture=False) BootCurrent: 0006 Timeout: 0 seconds BootOrder: 000B,0004 Boot0000* EFI Network 1 Boot0001* EFI Network 2 Boot0002* EFI Network 3 Boot0003* EFI Network 4 Boot0004* EFI Fixed Disk Boot Device 1 Boot0005* EFI Fixed Disk Boot Device 1 Boot000A* EFI Fixed Disk Boot Device 1 Boot000B* ubuntu Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.009 Running command ['umount', '/tmp/tmpcty9a921/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/tmp/tmpcty9a921/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/tmp/tmpcty9a921/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/tmp/tmpcty9a921/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/tmp/tmpcty9a921/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmpcty9a921/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmpcty9a921/target', 'efibootmgr', '-v'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.022 Running command ['umount', '/tmp/tmpcty9a921/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/dev'] with allowed return codes [0] (capture=False) Setting currently booted 0006 as the first UEFI loader. New UEFI boot order: 0006,000B,0004 Running command ['mount', '--bind', '/dev', '/tmp/tmpcty9a921/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/tmp/tmpcty9a921/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/tmp/tmpcty9a921/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/tmp/tmpcty9a921/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys/firmware/efi/efivars', '/tmp/tmpcty9a921/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False) Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmpcty9a921/target', 'efibootmgr', '-o', '0006,000B,0004'] with allowed return codes [0] (capture=False) Invalid BootOrder order entry value0006 ^ efibootmgr: entry 0006 does not exist Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.022 Running command ['umount', '/tmp/tmpcty9a921/target/sys/firmware/efi/efivars'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/tmp/tmpcty9a921/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: FAIL: installing grub to target devices finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: FAIL: configuring target system bootloader finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks