Dual boot issue: Ubuntu 24.04 install stops with "Something went wrong" error
https://askubuntu.com/questions/1565075/dual-boot-issue-ubuntu-24-04-install-stops-with-something-went-wrong-error
Unable to install Ubuntu on new NVMe SSD – GRUB install error (grub-efi-amd64-signed failed) on ASUS TUF
I'm trying to install Ubuntu on a new 128GB NVMe SSD in my ASUS TUF laptop, but the installation keeps failing during the final stage with a GRUB error.
I have tried multiple times, completely deleting all partitions on the NVMe drive and reinstalling, but the same error persists.
Error message:
The Ubuntu installer shows:
Something went wrong
ProcessExecutionError:
Command: install grub-efi-amd64 grub-efi-amd64-signed shim-signed
Exit code: 100
Unexpected error while running command.
executing curtin install curthooks step installing system curtin command install.
There is also a black screen which includes error messages.
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: return _subp(*args, **kwargs)
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: File "/snap/ubuntu-desktop-bootstrap/494/
lib/python3.10/site-packages/curtin/util.py", line 175, in _subp
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: raise ProcessExecutionError(stdout=out,
stderr=err,
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: curtin.util.ProcessExecutionError:
Unexpected error while running command.
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Command: ['unshare', '--fork', '--pid', '--
mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--
option=Dpkg::Options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--
download-only', 'efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'shim-signed']
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Exit code: 100
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Reason: -
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Stdout: ''
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Stderr: ''
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Unexpected error while running command.
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Command: ['unshare', '--fork', '--pid', '--
mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--
option=Dpkg::Options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--
download-only', 'efibootmgr', 'grub-efi-amd64', 'grub-efi-amd64-signed', 'shim-signed']
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Exit code: 100
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Reason: -
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Stdout: ''
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Stderr: ''
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]:
Mar 21 16:32:37 ubuntu subiquity_log.4131[9024]: Stderr: ''
Mar 21 16:32:37 ubuntu subiquity_event.4131[4131]: executing curtin install curthooks step
Mar 21 16:32:37 ubuntu subiquity_event.4131[4131]: installing system
Mar 21 16:32:37 ubuntu subiquity_event.4131[4131]:
Mar 21 16:32:37 ubuntu subiquity_event.4131[4131]: curtin command install
My setup:
Laptop: ASUS TUF Gaming
Existing OS: Windows (installed on separate SSD)
New drive: 128GB NVMe SSD (dedicated for Ubuntu)
Ubuntu version: Latest Ubuntu Desktop ISO
Installation type: "Something else" (manual partitioning)
Partitions created on NVMe:
512 MB FAT32 → mounted as /boot/efi (EFI System Partition)
Remaining space ext4 → mounted as /
Bootloader installation device selected: /dev/nvme0n1
BIOS SETTINGS:
Boot mode: UEFI
Secure Boot: Disabled
Fast Boot: Disabled
Bitlocker encryption: disabled
I have been stuck on this for quite some time.