So I decided to replace the operating system on my laptop. I used to have Manjaro Linux installed with UEFI mode and it worked fine. Now I decided to install Fedora.
I first live booted Fedora Workstation up in UEFI from USB. Every thing worked fine. Then I launched the official installer and selected automatic disk partitioning. The installation was successful. I restarted my computer. When it booted up it coudn't detect any bootable media. Becouse of that, I decided to reinstall the system with manual partitioning. I created a gpt partition table with 2 partitions; efi system partition mounted at /boot/efi formatted with fat-32 and a root partition formated with ext4 and mounted at /. The efi partition has the efi flag set and is 500MiB. The install went through fine, but the system still doesn't boot.
I then tried several more times with little adjusments and no luck. I tried installing the system with same configurations in virtual box with UEFI (yes I checked the Enable EFI (special OSes only)) and it worked every time. Maybe faulty laptop?
Do you have any suggestions what might I have done wrong, or what might the problem be?