I'm trying to install Ubuntu on my computer (MSI GS66 Stealth 11UH) but the SSD is not detected. I'm using a bootable key of Ubuntu 21.10. I thought it could be related to SATA mode being RAID instead of AHCI, but there is no such option in the BIOS, so I assume my computer only supports AHCI in the first place. The hardware is fairly recent, maybe it is just not supported properly yet. I had touchpad issue using Ubuntu 20.04 image and that's why I was trying to install Ubuntu 21.10 instead.
Note that I shrunk the windows partition using Windows partition management tools before trying to install Ubuntu.