Hello John,
On 06/03/2023 at 18:19, John Talbut wrote:
It is not clear where to install it but wherever I try I come up with
a message "Unable to install GRUB in /dev/sda" (or the equivalent in
other partitions).
/dev/sda is the USB stick which contains the installer. You cannot
install GRUB there.
Does the installer boot in EFI or legacy mode ?
grub-installer prompts in which device to install GRUB when installing
for legacy/BIOS boot. It means either the installer booted in legacy
mode or booted in EFI mode but you chose to revert to legacy boot after
being warned (maybe wrongly) about an existing system set up for legacy
boot. When installing GRUB for EFI boot, it automatically chooses one of
the selected EFI partitions.
The partition layout on /dev/nvme1n1 is set up for EFI boot. GRUB could
be installed for legacy boot in /dev/nvme1n1, but it would not be best
because there is not "BIOS boot" (bios_grub) partition.