I've been reading through several forums to try and figure out how to get a fresh Ubuntu LTS install to be recognized on an HP desktop computer. The SSD is a NVMe.M2 hard drive. Basically I boot from a Bootable USB stick imaged on my Windows 10 PC to install the latest ver. of Ubuntu LTS. I have completed this process successfully two other times on similar HP Desktops. But this next HP system is a bit newer.
I opted to erase the Windows 10 Home installs and have a machine dedicated to Ubuntu. For this particular machine when trying to install Ubuntu, I successfully get through the install to the point of removing the USB and rebooting the system. Up to this point, the USB Ubuntu install recognized the SSD and had no errors installing. But once I reboot I get, "ERROR: No boot disk has been detected or the disk has failed."
From here I have been reading about possible problems. One find most common is the BIOS settings regarding UEFI vs. LEGACY; Secure Boot, CSM, TPM, etc. I have tried every variation of enabling LEGACY, disabling LEGACY, enable Secure Boot, disable Secure Boot, etc. I've tried loading bios boot selector to manually find the SSD HDD and ubuntu EFI; the SSD does not show up in the boot selector. I've reorganized the boot order. I've tried changing the boot partition type on the Ubuntu install. No success there. I cannot figure out why the BIOS does not recognize the SSD after the install, but recognizes it during the install. I can even manually change partitions etc. I've tried to understand better what's going on with UEFI vs. LEGACY installs etc. I can't figure this part out. If I need to install Ubuntu in some type of LEGACY mode to get the PC to see it. That doesn't make sense to me because the PC is newer and should be able to work with a UEFI mode install. Either way I'm running in circles and need somebody with bigger understanding to point me in the right direction.
The computer has HP's ERICA2 model motherboard in it with a RYZEN 5 CPU so it's not that old. Any help or criticism would be welcome. Thanks in advance.