This is a common error found when booting after installing Ubuntu 18.04 or later on M2 PCIe SSD. In this article i have added configuration for UEFI / BIOS settings before installing Ubuntu from installation medium.
Graphics are not good quality but explanation is provided for each screen. Please make sure your settings are set accordingly
Desclaimer: This task is very risky and author / company does not take any responsibility for any loss or damage , please make sure you have appropriate backup before performing this task.
Below Images and setting are from DELL Inspiron 14 5000 BIOS / UEFI setup.
M2 PCIe SSD-0 1024 GB , was used for this installation and the problem was no boot device found after installation. To fix it you need to set the below settings in your bios before performing the installation. Please note your bios might show different words but all bios / uefi setup have almost same settings
In boot list option select UEFI selecting Legacy option does provide old setup and drivers might get issue.
For UEFI boot path security set to Never , this will allow the disk to be added in UEFI list.
Keep this default “Deployed Mode”
Keep Secure boot disabled , Please note Secure boot and UEFI boot path security are separate options
Keep Legacy Option ROM enabled as it allows to install from USB , CDROM etc.
Once settings are done boot from your USB or DVD and perform the installation as normal.
Happy Installing 🙂