Update grub configuration or install additional drivers for other boot devices.
Find ways to make your M.2 SSD appear in the grub selection across all your operating systems.
Start Ubuntu, press enter after typing: sudo update-grub. Wait for the system to restart.