.All Linux OS's are based on Ubunto...
My friend, there are many base systems in Linux, the three most common are RHEL [Redhat] Slackware and Debian, each has many children and grandchildren, Ubuntu for example is a direct child of Debian, Mint is a child of Ubuntu and a grandchild of Debian, the rule of thumb is commands for Debian should work in any of its family, likewise commands for RHEL should work in any RHEL family member , and so on,[but its not always so] MX is a child of Debian,
you have a fairly modern box, I would suggest you download Linux MX-AHS, burn it to a good quality clean usb formatted FAT32 or EXFAT, old or cheap USB drives are fine for storage but often cause installation errors, MX should work ok with APCI, but to turn off both windows quick-start and safe boot in the BIOS, the latest kernel drivers for the Ryzen family include the Linux GPU drivers,
Please read my how to install Linux guide, to make sure you are not missing any steps.
I don't know which timezone you are in, I am in GMT/UTC/ZULU and am usually around on and off from 0800 to 21-00 gmt