On Mon 04 Nov 2024 at 17:17:44 (+0000), Chris Green wrote:
> I have found how to get it to install, I removed the other (SATA SSD)
> disk drive.  It now boots successfully, phew!

Good.

> I've no idea why that second drive breaks things.  I installed it when
> I was still running xubuntu 24.04 and that OS could see the drive OK.
> I actually copied the whole of my old (xubuntu) installation across
> onto that drive.

So you copied the entire system, with an ESP, onto sda, and then
tried to install Debian onto nvme0n1, but always unsuccessfully
with UEFI, and apparently successfully with MBR?

What were the partitions in the old installation, and how did you
make the copy on the second disk: by copying the entire nvme0n1 disk,
or copying partitions nvme0n1p1, nvme0n1p2, etc, or just recursive
copies of the files in each partition into new filesystems created
on sda.

That information might well yield the reason that the installation
stick wouldn't boot correctly. After reading Thomas's post about
which partition is which on the stick, I think that:

  grub> set root=(hd0)
  grub> linux install.amd/vmlinuz
  grub> initrd install.amd/initrd.gz

would likely have got the Debian installer running in UEFI mode.

> I will try putting it back later to see if it breaks the Debian 12
> installtion but for the moment I'm just relieved I've got it working
> at last!

It shouldn't break it, because you should have a freshly written
and consistent set of efivars, ESP partition, and grub.cfg on
nvme0n1. There's one possible wrinkle that I can think of, but it
depends on how that copying onto the second drive was carried out.

Cheers,
David.

Reply via email to