When doing a fresh install of Ubuntu 16.04, or any other version of Ubuntu or Linux, after the install you might get your laptop or desktop machine not booting the installed OS, but instead returning “No Bootable Device” message, if laptop is set to UEFI mode.
You might be presented with this image after rebooting your laptop, after a successful OS install.
To resolve this issue reboot your laptop and enter BIOS.
There go to “Select and UEFI file as trusted for executing:” and press Enter key.
Once there choose HDD1.
Then choose <EFI>.
Then you should be able to see <ubuntu> or possibly some other name of your Linux installation.
Then choose shimx64.efi
And then choose Yes when asked if you want to add this file to allowable database.
Reboot your laptop and you should now be able to boot your OS normally.