Chosen Solution

If i press the power button, the laptop opens, the acer logo appears then it shows some boot problems if i change the boot mode from UEFI to Legacy it tells me that no bootable device founds but if i change from Legacy to UEFI then it tells me default boot device missing or boot failed, how and what to do to fix this issue

If your computer gives an error message when you turn it on, try the following fixes: Boot into BIOS, reset your settings back to their defaults, and restart the computer.If the error reappears, reinstall Windows or Linux on your hard drive.If the error still reappears, then disconnect/reconnect your hard drive.Finally, if the error persists, replace your hard drive.