I will begin with a description of the steps I took to install ubuntu.
My computer is an HP Spectre x360, from early 2020.
I attempted to install ubuntu on the same hard drive as windows 10.
I created a partition in my C: drive.
Installation seemed to be fine but when it prompted me to remove the drive that I installed ubuntu from upon reboot my device went straight to windows.
Upon further investigation:
Fast boot was turned off.
Secure boot is turned off.
Ubuntu is not added to my boot menu in UEFI.
When I check my disk from windows, it appears that the partition I made for ubuntu is unallocated. But when I boot the ubuntu installer from disk and run through the installation process again, the ubuntu installer indicates that ubuntu is installed on my machine in the appropriate partition.
Any solutions to this problem would be greatly appreciated.
Update:
I turned off intel optane as suggested and ensured that all the firmware is up to date. Tried to install ubuntu again but was met with the issue:
Executing 'grub-install /dev/nvme0n1 failed. This is a fatal error.
I rebooted into windows and in windows it said that my partition created for ubuntu was filled but ubuntu still did not appear in my boot menu, and did not appear anywhere in UEFI.
I am extremely confused and if anyone has anymore suggestions or resources it would be awesome.