Installing Ubuntu Desktop 18.04 LTS but it's not detecting my Samsung PCIe NVME SSD

Well after a lot of google search I came across this post. The issue was at the BIOS level. In case of Dell desktops and laptops - one has to set the SATA mode to AHCI rather than the default Raid On. If you don't follow the above post - your machine won't boot Windows 10 as the AHCI driver is by default not installed. That's why one need to go into the safemode first then make the changes in BIOS and then disable the safemode. Being in the safemode - it installs the AHCI drivers via which O/S can talk to the drives. After this I booted via the live USB and i can see the Samsung PCIe NVME SSD being visible from the gparted.