So i'm new to the Linux space and this is my first time trying to install a distro. Im trying to install the latest version of ubuntu server onto a refurbished HP elitedesk 800 g4 I got for cheap, but cant seem to finish the installation. It boots up off my usb, but when it goes to look for drives to download to I get an error message that says "probing for devices to install failed" which seems to me to mean that it is unable to locate any drives that it can install to. When I go to bios I can see the drives (a 512GB M.2 NVME and a 64GB SATA SSD that I was going to use as a boot drive). If I open the shell when the installer fails, I am able to use lsblk and see the drives there. Im just not sure why the isntaller cant see them.
The machine initially had windows on it, but I wiped both drives after initially booting into to Windows once just make sure the system worked. I downloaded Gparted, and can see the drives with that. Tried reformatting the drives and making sure there are no partitions leftover from the windows install. Tried disabling secure boot in the bios. My initial searches showed that sometimes if the SATA controller is set to Raid instead of ACHI that can cause this issue, but reading about my system seems to indicate that ACHI is enabled by default (and I cant find a setting to toggle for this in BIOS).
I am really at the end of my rope and wondering what I'm doing wong or missing. I apologize if this is the wrong sub, but I'd appreciate any help or info anyone has on this issue.
EDIT: forgot to mention but when I was looking at the drives in shell they were both showing as 0 disk 0 part. Not sure what that means exactly but I’m thinking that has to do with the problem?