Installation error for grub bootloader at the end of installation process

Hello. I get an error at the end of my install.

ERROR: Installation failed: “Bootloader installation error”
2024-05-31 - 05:26:32 [6]: … - message: “Bootloader installation error”
2024-05-31 - 05:26:32 [6]: … - details: The bootloader could not be installed. The installation command

grub-install --target=i386-pc --recheck --force /dev/nvme0n1
returned error code 1.

https://termbin.com/uwih

Any help would be greatly appreciated

2024-05-31 - 05:25:41 [6]: [PYTHON JOB]: “Disklabel type: gpt\n”

grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won’t be possible.
grub-install: error: embedding is not possible, but this is required for cross-disk install.
2024-05-31 - 05:26:32 [2]: WARNING: [PYTHON JOB]: “Command ‘grub-install --target=i386-pc --recheck --force /dev/nvme0n1’ returned non-zero exit status 1.”
2024-05-31 - 05:26:32 [6]: [PYTHON JOB]: “stdout:Installing for i386-pc platform.\ngrub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won’t be possible.\ngrub-install: error: embedding is not possible, but this is required for cross-disk install.”

You seem to have a disk with GUID Partition Table (GPT) but trying to install the bootloader to the MBR of the disk which is typical for disks with msdos partition table and Legacy/MBR boot mode.

You would need to boot up your live USB in UEFI mode.